PlaneShift
Support => Technical Help: Problems BEFORE entering the game => Topic started by: rubiX on January 24, 2005, 06:01:28 pm
-
This install howto is for the latest version of PlaneShift under the 2.6 kernel and Mandrake Linux (tested on 10.1). It will be updated periodically, and is still in the making, so please point out any bugs, errors, or ideas to chicken_nuggets_and_jelly@hotmail.com or simply aim me @ rootdysfunction.
Eventually this howto will cover both cvs and install file installs, but for now the easiest method will to cover the official installer file, which can be downloaded http://www.planeshift.it/download/882827CB3/planeshift_CBV0.3.006_linux.zip.
Go ahead and download the installer file and save to a directory of your choice. Since you must have X to run this game, I\'m assuming that you will be extracting it from X, which depends on your installation type. I prefer FileRoller for my compressed folders, but the app you use depends on your WM and personal preference. If you need a Compression utility for X then that will be covered later in the text.
After downloading the .zip file to your directory of choice, don\'t touch it, just leave it there for simplification purposes and follow these steps:
1. Make sure you have the required libs installed.
This is the part that will give the most trouble, and cause the most errors. Follow the intructions carefully, and you MUST have urpmi installed and your internet sources updated to the most current version. This is a list of packages you need to install via urpmi as su in a terminal, if you already have a package the most that will happen is it will be updated, if it is already installed them urpmi will tell you so. Now for the nitty gritty dirty work.
Dependencies
-GCC
-Jam
-coreutils
-tar
-Bison-1.35
-flex
-libmng
-libmikmod
-libogg
-libvorbis
-zlib
-libpng
-jpeg
-autoconf
-automake
-curl(developers version)
-bison-1.35
-(un)zip
-freetype
The first thing you need to do is make sure you have GCC installed, no linux system is worth anything without it, so chances are you already have it. Below is a list of package names, simply enter console then do a su, and input the root password, and type \'urpmi \'. For instance to install GCC you would type \'urpmi gcc\'. Its not that difficult. Here is a list of package names, go through and urpmi for each, if it says \"Everything already installed\" then skip it, if it says \"invalid package name\" then send me an email so I can fix it on the guide and assist you with your problem, and the third possible output is the downloading and installation of the files. Now here is the list of the package names in the order coresponding to their order on the list above.
1. gcc
2. jam
3. coreutils
4. tar
5. bison
6. flex
7. libmng, libmng-devel
8. libmikmod-devel
9. libogg, libogg-devel
10. libvorbis, libvorbis-devel
11. zlib
12. libpng, libpng-devel
13. libjpeg, libjpeg-devel
14. autoconf2.5
15. automake1.7
16. curl, curl-lib, urpmi curl-devel
17. bison
18. freetype
I If you don\'t have to upgrade, simply install a file then, just skip the urpme command and go right for the urpmi. Once all of your libs are updated your ready to continue with the install.
I reccomend File-Roller, its a nice GUI compression utility for X. Type in console as root \"urpmi file-roller\' and it will be installed. Then use it to extract planeshift_CBV0.3.006_linux.sh to any directory of your choice. Now follow these commands (assuming your directory is as mine, /home/rubix/planeshift). You can make the file in any path you choose.
$root# mkdir /home/rubix/planeshift
$root# chmod +x planeshift_CBV0.3.006_linux.sh
$root# ./planeshift_CBV0.3.006_linux.sh
Now an installer should come up. Press q to get to the end of the agreement, then type yes. The install dir is the dir you created earlier, in my case /home/rubix/planeshift. Input this dir as the dir you want the files to be installed to. I doubt you want developer mode, and answer yes if you have an AMD64 processor. If you don\'t know what this means, then i doubt you have one. Input the answers (its actually really easy) and let the install continue. Everything should run fine seeing you have all the deps installed. It will take a very long time so find something else to do.
After the installation, you need to run a few more commands. Later I will post a basic script which you can easily modify to fit your system, but in the mean time you must type in these commands every time you play:
export CRYSTAL=/home/rubix/planeshift/CS
export CEL=/home/rubix/planeshift/cel
export CSCONF=/home/rubix/planeshift/cel (only needed during compile)
export LD_LIBRARY_PATH=/home/rubix/planeshift/cal3d/src/cal3d/.lib
Remember to run these commands, or the game will not function. I hope you have even MORE time because now you have to run the updater via ./updater in the /home/rubix/planeshift/planeshift directory. Let it go (it will take a LONG time). Once its finished, you can Register your account on the website, and play the game.
If you would prefer, and it has been suggested by others, run the ./updater-auto command as opposed to ./updater. It seems the updater (at the time this howto was written) is still a little buggy, so the command-line version should update much quicker. The choice is yours, but i reccomend the gui updater first, either way its quite simple.
This is just a beta version of this howto and improvements will be made later. I\'m open to suggestions and other ideas, and I must thank all the members of #planeshift on freenode and kronon for his great post of dependencies. I hope this guide helps.
rubiX
-
originally posted by rubiX
After the installation, you need to run a few more commands. Later I will post a basic script which you can easily modify to fit your system, but in the mean time you must type in these commands every time you play:
export CRYSTAL=/home/rubix/planeshift/CS
export CEL=/home/rubix/planeshift/cel
export CSCONF=/home/rubix/planeshift/cel
Just as a note: the correct name of the last export is CSCONFPATH, but it is only needed on compilation, but you don\'t need it to play.
edit: bleh, typo
-
thanks for your help man i appreciate it, any other comments on the installer?
-
thanks for your help man i appreciate it, any other comments on the installer? accidental reposting plz delete this reply
-
Originally posted by rubiX
I hope you have even MORE time because now you have to run the updater via ./updater in the /home/rubix/planeshift/planeshift directory. Let it go (it will take a LONG time).
i use ./updater -auto (as mentioned somewhere in this forum) because there is (still? can\'t try that here, sorry, maybe it\'s been fixed) a bug in the gui.
-
It would be a good idea to add this howto to the linux archive, since there is no readme.
-
Impossible to enter the game because there was a problem with meshes.
I had a lot of \"Skipping file art/buttons/xxxxxxxxx.png, because it\'s readonly\"
I do a \"chmod -R +w art\" in order to let the updater work normally.
Now, the updater works fine...