Author Topic: Easy way to Play Planeshift on Debian (LInux)  (Read 931 times)

rufo

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
Easy way to Play Planeshift on Debian (LInux)
« on: January 15, 2005, 12:11:07 pm »
For those having problems compiling CVS, thats a easy way to play

Download Tarballs http://www.planeshift3d.com/wbboard/thread.php?threadid=12682&boardid=33&styleid=3

Alienize them

if you dont have alien: apt-get install alien

alien cel-b98_002-2.i386.rpm
alien CrystalSpace-b0.99-2.i386.rpm
alien libcal3d-0.9.1-1.i386.rpm
alien planeshift-b01-2.i386.rpm


then I think you should check for packages:

libssl-dev libcrypto++-dev libcurl-dev

then install packages:

dpkg -i cel-b98_002-2.i386.rpm
dpkg -i CrystalSpace-b0.99-2.i386.rpm
dpkg -i libcal3d-0.9.1-1.i386.rpm
dpkg -i planeshift-b01-2.i386.rpm


then edit /usr/local/planeshift/updaterconfig.xml and insert



run /usr/local/planeshift/updater

if there is an error: cant load libnvidia-tls.so.1 try: LD_PRELOAD=/usr/lib/libGL.so.1 ./updater

if you get errors asking for libcrypto.so.0 or libssl.so.0, create softlinks:

ln -sf /usr/lib/libcrypto.so /usr/lib/libcrypto.so.0
ln -sf /usr/lib/libssl.so /usr/lib/libssl.so.0


and execute updater again

------------------------------------------------------

RUNNING PLANESHIFT

if you get this error DLERROR (/usr/local/CS/lib/crystalspace/gl3d.csplugin): libnvidia-tls.so.1:

run psclient this way: LD_PRELOAD=/usr/lib/libGL.so.1 ./psclient

if planeshift run but does nothing and when you exit see this error message:

crystalspace.pluginmgr.loadplugin:
  WARNING: could not load plugin \'cel.physicallayer\'
Couldn\'t load plugin for PlLayer.

then set CEL variable to the cel directory:

export CSCONFPATH=/usr/local/cel/lib/cel/
export CEL=/usr/local/cel/lib/cel/


and execute psclient again

Happy Gamming :)
« Last Edit: January 15, 2005, 12:13:56 pm by rufo »

ten

  • Traveller
  • *
  • Posts: 26
    • View Profile
(No subject)
« Reply #1 on: January 15, 2005, 04:58:16 pm »
thx you....I got Ubuntu linux (based on Debian sarge)


but it didnt worked...I did all what you write...but I only became this message :

root@Kalkulator:/usr/local/planeshift # LD_PRELOAD=/usr/lib/libGL.so.1 ./psclient
DLERROR (/usr/local/CS/lib/crystalspace/xwin.csplugin): libXxf86vm.so.1: cannot open shared object file: Datei oder Verzeichnis nicht gefunden
WARNING: could not load plugin \'crystalspace.window.x\'
Could not create an instance of crystalspace.window.x !
WARNING: failed to initialize plugin \'crystalspace.graphics2d.glx\'
Error loading Graphics2D plugin.
WARNING: failed to initialize plugin \'crystalspace.graphics3d.opengl\'
No 3D driver!
crystalspace.maploader: Could not get video driver
crystalspace.maploader: Could not get model converter
crystalspace.maploader: Could not get model crossbuilder
psclient:  No 3d driver (iGraphics3D) plugin!
root@Kalkulator:/usr/local/planeshift #


and my graphic-driver is installed...it works good in the other games....

...ahh...and when i try to type : libssl-dev libcrypto++-dev libcurl-dev then my console says to me: command could not found....

thx...anyway ;)
Do mobs ever get quests to kill us?

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #2 on: January 15, 2005, 05:58:36 pm »
Ehh, you call that an easy way? Well, however, look at this:

Quote
Originally posted by Karosh_Steinkatz in the CB Installer thread
Problem (obsolete): psclient/pssetup/psupdater complains about libXxf86vm.so.1 not found:
Fix: Switch to your root account with \'su\', and enter the following commands:
cd /usr/X11R6/lib
ld --whole-archive -share -o libXxf86vm.so.1 libXxf86vm.a
ln -s libXxf86vm.so.1 libXxf86vm.so
ldconfig
Now switch back to your normal user account and you are done.


Quote
Originally posted by rufo



What is that line supposed to do? That\'s the repository of the MB updater.
Oh, and a last thing: checking the dependencies first is important! ;)


Back to Planeshift again \\o/

rufo

  • Wayfarer
  • *
  • Posts: 4
    • View Profile
CB in Debian
« Reply #3 on: January 17, 2005, 02:00:01 pm »
Quote
Originally posted by Karosh_Steinkatz
Ehh, you call that an easy way? Well, however, look at this:


Dunno, maybe fastest way? tried to compile CB in Debian and take 1 full day.. this way 1 hour... i only tried to help... sorry

Quote
Originally posted by Karosh_Steinkatz
Quote
Originally posted by rufo



What is that line supposed to do? That\'s the repository of the MB updater.
Oh, and a last thing: checking the dependencies first is important! ;)


http://laanx.fragnetics.com/debian.php say thats the way getting the art. Me worked, so i wrote it.. sorry again....

Karosh_Steinkatz

  • Hydlaa Citizen
  • *
  • Posts: 486
    • View Profile
(No subject)
« Reply #4 on: January 17, 2005, 02:14:14 pm »
Quote


Dunno, maybe fastest way? tried to compile CB in Debian and take 1 full day.. this way 1 hour... i only tried to help... sorry


No need to feel sorry, my definition of \"easy\" is just a bit different from yours ;)

Quote

http://laanx.fragnetics.com/debian.php say thats the way getting the art. Me worked, so i wrote it.. sorry again....


Where did you see that line and how could it work ?( The page says this:

Quote

The artwork for PlaneShift is not included in the CVS. However this is what the updater application is for. This connects to our update central site and downloads all the missing material. For linux all you need is updated art and data files. This is done by editing the updaterconfig.xml file and first setting the mirror to use. Our mirror is:

       


Just wondering...


Back to Planeshift again \\o/