You are not logged in.
Pages: 1
Hi fellow archers,
I like to play the enhanced Quake engine DarkPlaces (http://icculus.org/twilight/darkplaces/) together with a few mods (namely SDQuake and Kleshik).
Under Ubuntu 9.04 x64 DarkPlaces runs nicely as native x64 Linux app. Under the most recent version of arch64 DarkPlaces bombed out with an error message that the libjpeg version is too new. Something like Version 0.80 found but Version 0.62 is expected. Seems to me that even the newest version of Darkplaces is build against an older version of libjpeg than the one included in arch64. Libpng is also used by DarkPlaces since textures are stored as PNG.
My Ubuntu 9.04 x64 shows the following libs:
/usr/lib/libpng12.a
/usr/lib/libpng12.so.0.27.0
/usr/lib/libjpeg.a
/usr/lib/libjpeg.so.62.0.0Is it "wise" to use a custom lib folder for DarkPlaces and set it via LD_LIBRARY_PATH ?
e.g.
export LD_LIBRARY_PATH=/home/ds/dplibsOr can I simply install older versions of libjpeg and libpng without screwing up my arch64 installation ? I can remember that I also did install a few older libs on my Ubuntu 10.04 in order to get UT2k4 running.
BTW: I would prefer not to recompile DarkPlaces against newer versions of libpng/libjpeg.
TIA,
D$
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
If you use that computer solely for games you can downgrade to the needed versions - it will be a cleaner way.
Offline
Hm, unfortunately I am not Mr. 20 PCs ![]()
So my arch64 box serves both for gaming purposes as well as for daily use. Esp. libpng and libjpeg are quite "central" libs. So running older versions for the whole system doesn´t seem a smart idea to me, or am I wrong ?
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
I'm still running xorg 1.6 but that's quite easy to do compared to keeping old libpng & libjpeg.
What's the worst that can happen with 'export LD_LIBRARY_PATH=/home/ds/dplibs'? The app won't run? I don't think that it will blow your computer apart, so give it a try.
Offline
I'd definitely use LD_LIBRARY_PATH instead of downgrading the whole system. I've seen several games do that (including one I wrote, IIRC
). The worst that could happen is some hacker exploiting an old security hole in these libs, but I guess if you want to play (and not rebuild) this game you don't have a choice... (Though to be honest I don't have a clue why a new version of a library can't automatically be used (API change?))
Offline
> API change?
Yes, most likely. With minor changes you don't have a problem.
Offline
Ok, thanks for all your replies !
I will try out the approach using a dedicated lib directory for DarkPlaces under arch64.
Unfortunately my 500GB HDD which I used for arch died ![]()
So I have to wait until my new 1TB HDD arrives.
... but I guess if you want to play (and not rebuild) this game you don't have a choice..
Well, the other not so slick option would be using the Windows version of the DarkPlaces engine inside a 32 chrooted WINE since for Windows all requiered libs (aka dll) are included in the right version.
As usual shared libs also do have their disadvantages compared to statically linked stuff ![]()
Last edited by Darksoul71 (2010-07-28 22:16:20)
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
Install libjpeg6 from AUR, done
http://aur.archlinux.org/packages.php?ID=28427
As you can see, I have libjpeg6 as well as regualr libjpeg installed, and they peacefully coexist:
austin@austin-desktop ~ % ls /usr/lib | grep libjpeg
2008:libjpeg.a
2009:libjpeg.so@
2010:libjpeg.so.62@
2011:libjpeg.so.62.0.0*
2012:libjpeg.so.8@
2013:libjpeg.so.8.0.2*
austin@austin-desktop ~ %Offline
Ah, great !
So actually I "just" need to install this libjpeg package:
http://aur.archlinux.org/packages.php?ID=28427
plus this libpng package:
http://aur.archlinux.org/packages.php?ID=33795
and I should be done ![]()
Thanks a lot...:D:D
I will test and report back.
BTW: Is it acceptable to add Wiki entries for certain games and how to get them running in the arch wiki ?
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
BTW: Is it acceptable to add Wiki entries for certain games and how to get them running in the arch wiki ?
IIRC there's a short one on Starcraft already, so as long as you don't encourage piracy etc. I should be fine.
Offline
IIRC there's a short one on Starcraft already, so as long as you don't encourage piracy etc. I should be fine.
No, there is no need to encourage piracy. Quake plus the addon packs is stone old ![]()
I hope everyone is able to grab an old copy of Quake plus Rogue´s and Hipnotic´s Missionpacks over at the bay ![]()
Last edited by Darksoul71 (2010-07-29 11:04:38)
My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick
Offline
> No, there is no need to encourage piracy. Quake plus the addon packs is stone old
So is StarCraft / BroodWar.
Offline
Pages: 1