PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: malverian on May 04, 2002, 04:00:56 pm
-
1) First off, to the Linux users, to install Planeshift:
cvs -z3 -d:pserver:anonymous:@cvs.crystal.sf.net:/cvsroot/crystal co CS
cd CS
### NOTE! You will need to edit mk/user.mak and uncomment the mp3, freefont, and and freefnt2 plugins.
make linux MODE=debug
make all
su -c \'make install\'
export CRYSTAL=/usr/local/crystal
cd ..
cvs -z3 -d:pserver:anonymous:@cvs.cel.sf.net:/cvsroot/cel co cel
cd cel
cp $CRYSTAL/bin/cs-config ./
./autogen.sh
./configure
make
export CEL=`pwd`
export CSCONFPATH=$CEL
cd ..
cvs -z3 -d:pserver:anonymous:@cvs.planeshift.sf.net:/cvsroot/planeshift co planeshift
cd planeshift
./autogen.sh
./configure
make
for a in `find $CEL -name \"*.so\"`; do cp $a ./; done
# ANOTHER NOTE: You will need to get the map file from the windows distribution. It\'s suggested you copy the entire \'art\' directory. I have gzipped it for convenience here: http://lockless.dyndns.org/~malverian/planeshift/needed/art.tar.gz
./psclient
# Or: src/client/psclient
2) If you\'re having alot of slowdown, edit your psclient.cfg file and change the resolution down to perhaps 800 x 600. You can also comment out the loading of wav and mp3 modules.
3) If you have no hardware OpenGL on your video card.. use Software mode.
-
I\'m also working on rpm packages. But I\'ve got 1 big problem at the moment. There seems to be a problem with Crystal Space OSS sound driver and nvidia opengl drivers (sound driver uses alarm signal for timing, which seems to be not compatible with nvidia opengl driver...) that lead to crashes after a bit of moving around. So either disable sound or opengl if you\'re using it on linux...
We\'re working on the problem.
-
Hmm... I\'m using sound (OSS) and nvidia drivers on linux together just fine (with PlaneShift). However this is a rather old version of the nvidia drivers.
Greetings,
-
I\'m running in optimized mode, in debug it seemed fine. I\'m using NVidia drivers v. 2880
-
cvs -z3 -d:pserver:anonymous:@cvs.crystal.sf.net:/cvsroot/crystal
Note that the : after anonymous is one too many.
-
Note that you are wrong Midivar. In fact the trialing : is for password. And since annonymous has no password, it is empty. This prevents you from having to cvs login before checking out a module. Perhaps you should know what you\'re talking about before trying to prove someone wrong :)
-
BUMP, I edited the guide a bit. Good luck to all will-be Planeshift users :)
-
Originally posted by malverian
Note that you are wrong Midivar. In fact the trialing : is for password. And since annonymous has no password, it is empty. This prevents you from having to cvs login before checking out a module. Perhaps you should know what you\'re talking about before trying to prove someone wrong :)
I agree that I don\'t know what I was talking about-- I rarely use CVS, in fact only to check out snapshots from interesting projects like PS. But, with the : after anonymous my cvs complained, while without the : it worked fine. So, for my case, I was right, somehow.
-
What version of CVS do you have?
Notice to any interested.. I\'m going to be releasing linux Planeshift binaries on my webserver and linking to them in a new topic.. likely named \'Planeshift Linux Binaries\'.
-
Hey, Malverian. It\'s me. You know me. And it\'s so typical my first post on this forum would be correcting you ;)
Anyway, you made a teensy ommission which really really messes things up with your \"script\".
Here are some corrections:
Correction 1:
You said:
You need to uncomment freefont AND freefnt2.
You really need:
Only one of them should be uncommented. Most people only need freefnt2. However, if you use freefnt2 psclient.cfg must be edited to use \"default\" font server, not the freefont one.
Correction 2:
You put:
make
export CEL=`pwd`
cd ..
You actually need:
make
export CEL=`pwd`
su -c \"cp cel.cex $CRYSTAL\"
cd ..
Cheerio!
-
My cvs is rather old... version 1.11
But hey, by all means... make those binaries available. Saves me fixing that compiler error. My gcc is rather old, too. :)
-
Oh, and specifically, cvs says:
> cvs -z3 -d:pserver:anonymous:@cvs.crystal.sf.net:/cvsroot/crystal co CS
Fatal error, aborting.
anonymous:: no such user
cvs checkout: authorization failed: server cvs.crystal.sf.net rejected access to /cvsroot/crystal for user anonymous:
cvs checkout: used empty password; try \"cvs login\" with a real password
> cvs -z3 -d:pserver:anonymous@cvs.crystal.sf.net:/cvsroot/crystal co CS
This works just fine.
-
I want to tinker witrh source, and probably make it quite a bit worse, but what is the main app file? and what are the libs and include files neede?
-
Get an error after the first make all command;
*-------------------------------------------------------------------------*
Building Crystal Script Python plug-in
Building for LINUX/GCC/X86 in debug mode
*-------------------------------------------------------------------------*
\\
g++ -Wl,-shared -Wl,-soname -Wl,cspython.so -o cspython.so out/LINUX/X86/debug/cs_pyth.o out/LINUX/X86/debug/cspython.o out/LINUX/X86/debug/pytocs.o -lcsgeom -lcssys_D -lcsutil -lcssys_D -lcsutil -ldl -lm -lz -g3 -Lout/LINUX/X86/debug/ -L/usr/lib/python2.2/config -L/usr/lib/python2.2 -lpython2.2 -lpthread -lutil \\
/usr/i386-slackware-linux/bin/ld: cannot find -lpython2.2
collect2: ld returned 1 exit status
make[1]: *** [cspython.so] Error 1
make: *** [cspython] Error 2
I\'ve just installed the newest Python version, but that didn\'t work.
Any ideas?