PlaneShift

Gameplay => Newbie Help (Start Here) => Topic started by: roach on January 09, 2005, 03:46:47 am

Title: Instalation under linux
Post by: roach on January 09, 2005, 03:46:47 am
Well, I was looking all around the forum but i havent seen a single HOW-TO for linux instalation.So I did some googling and found this guide,that helps you compile planeshift from CVS. I hope im not the only linux user here and that this guide will help you.

http://icarus.uic.edu/~ssenne1/planeshiftcvs.html
Title:
Post by: roach on January 10, 2005, 03:28:37 pm
Ok i found some time to follow the guide step by step and it works - at least the downloading/compiling part. The problem is that i cant run the game,when i try to run psclient or pssetup i get this error
--------------
DLERROR (/home/roach/planeshift/CS/gl3d.csplugin): libnvidia-tls.so.1: cannot handle TLS data
WARNING: could not load 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!
--------------

i\'ll browse some forums and try to fix it but it would be nice if some  one helped me.
Title:
Post by: roach on January 10, 2005, 04:22:05 pm
Okay i got it,after asking some stupid questions on irc and googling i found this
-------------------
#!/bin/bash
cp /usr/lib/tls/libnvidia-tls.so.1.0.6629
/usr/lib/tls/libnvidia-tls.so.1.0.6629.orig
cp /usr/lib/libnvidia-tls.so.1.0.6629
/usr/lib/tls/libnvidia-tls.so.1.0.6629
-------------------
and IT WORKS. I hope you\'ll enjoy it as much as i do :)

EDIT:
one last problem occured,when i was creating my charater i got error that it couldnt load the meshes,this fixes it
-------------------
export LD_LIBRARY_PATH=/home/roach/planeshift/cal3d/src/cal3d/.libs
-------------------

just add it to that script you use to run psclient and you\'ll be fine
Title: OK, roach, you officially rock
Post by: leinir on January 10, 2005, 05:46:40 pm
Thanks a lot, I\'ve finally got it working! For some obscure (to me at least) reason, PlaneShift (and CEL) do not want to work when installed. But if I simply follow your instructions to the letter and run it from the compilation folder, it works! Brilliant stuff :)

---

Bellow is a shortened version of the errors I got:

(installed cal3d, cs and cel into /usr/local, this is after a successful installation of all three)

[root@dhcppc2 planeshift]# export CEL=/usr/local
[root@dhcppc2 planeshift]# ./configure --enable-debug --enable-new-renderer
(...)
checking for cel... no
(...)

[root@dhcppc2 planeshift]# export CEL=/home/leinir/planeshift/cel
[root@dhcppc2 planeshift]# ./configure --enable-debug --enable-new-renderer
(...)
checking for cel... 0.99
(...)