maybe this will work for some people
NOTE: You need jam installed first to make this work.
installation script just put the text below into install.sh and then go into console (go to the correct dir)and put in as command sh install.sh.
HOME_DIR=$1
if [ $HOME_DIR ] && [ $2 ]
then
##Cal 3d
echo \"WARNING: You have to be root to run this script\"
if [ $2 = 0 ]
then
cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/cal3d login
fi
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cal3d co cal3d
cd cal3d
./autogen.sh
./configure --enable-debug --prefix=$HOME_DIR/development/cal3d
make
make install
export LD_LIBRARY_PATH=$HOME_DIR/development/cal3d/lib:$LD_LIBRARY_PATH
cd $HOME_DIR/development
##Crystal Space
if [ $2 = 0 ]
then
cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/crystal login
fi
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/crystal co CS
cd CS
./configure --enable-debug --with-libcal3d=$HOME_DIR/development/cal3d --enable-new-renderer
jam
export CRYSTAL=$HOME_DIR/development/CS
#./walktest --recalc --relight
cd $HOME_DIR/development
##CEL
if [ $2 = 0 ]
then
cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/cel login
fi
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/cel co cel
cd cel
export CSCONFPATH=$HOME_DIR/development/cel/
./configure --disable-jamtest --enable-debug --enable-new-renderer
jam
export CEL=$HOME_DIR/development/cel/
cd $HOME_DIR/development
##Planeshift
if [ $2 = 0 ]
then
cvs -d:pserver:anonymous:@cvs.sourceforge.net:/cvsroot/planeshift login
fi
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/planeshift co planeshift
cd planeshift
./autogen.sh
./configure --enable-debug --enable-new-renderer
jam -aq
echo \"Installation complete\"
else
echo \"Usage: update.sh url_to_installation_location option_nr\"
echo \"\"
echo \"Option nrs\"
echo \"0 install for first time\"
echo \"1 already installed once\"
echo \"\"
echo \"Reminder: First install Jam before running this script.\"
fi PS needs variables to know where all the libs are so you need to put this into you console when you run an planeshift program
HOME=\"url to the dir you installed all the file in (not the planeshift dir but the one below)\"
export LD_LIBRARY_PATH=$HOME/development/cal3d/lib:$LD_LIBRARY_PATH
export CRYSTAL=$HOME/development/CS
export CEL=$HOME/development/cel/ ALSO DO THE FOLLOWING THINGS TO MAKE PS WORK
Download
http://laanx.fragnetics.com/updater_hidden/root/updaterconfig.xmluser: psteam
pass: p1ane
replace updaterconfig.xml in your planeshift dir with the downloaded one.
To get the laanx server into the server list do the following:
Go to your planeshift dir.
Edit the data/servers.xml file with a texteditor
change the file to the following
Run the updater before playing the game (yes it will take alot of time. so take some coffee). Withouth this the game has no picture, music, models, world maps, everything.
P.S. Please run planeshift in a debugger so that when the game crashes you can send the devs a backtraces
a good debugger is gdb.
start client with
1). gdb psclient
2). run
stop client with
3).quit
backtrace client with
4).backtrace (backtrace if able will be dumped into your console)
P.S.S. Post a message if this didn\'t work.
UPDATES:
1). Removed the stuff about mysql that isn\'t needed
2). Added the server file so you get the correct server
3). Posted request to run planeshift in debugger for better feedback to the devs.
4). Forgot to tell that you need to run the updater for game content.
5). Changed stuff a bit so that you don\'t have to get back to your computer to press enter a couple of times.