How to compile on Linux and OS X:
First, you extract the sources. These are included in the ZIP or, if you want the current work inprogress sources, available via SVN and CVS.
I'll explain the SVN/CVS part here. There will be some minor differences when compiling 1.5, but these will go away when 1.5.1 gets released
First, you need the program "fteqcc", available from
http://www.fteqw.com/index.php?d=download or as a package in your favorite Linux distribution. I won't explain how to compile this one since this is included with every good Linux distribution anyway (it's available as a package for at least Debian, Gentoo and even - although it isn't a Linux distribution - FreeBSD).
Then, you need to compile and install DarkPlaces. This goes like this:
- Code: Select all
$ cvs -d:pserver:anonymous@cvs.icculus.org:/cvs/cvsroot/twilight login
Password: anonymous
$ cvs -d:pserver:anonymous@cvs.icculus.org:/cvs/cvsroot/twilight -z3 checkout darkplaces
To update and compile a new version, this is what you do:
- Code: Select all
$ cd darkplaces
$ cvs -z3 update -dP
$ make nexuiz
$ cd ..
If you get error messages about something missing, you probably need to install packages named like libsdl-dev, libvorbis-dev, libpng-dev or libjpeg-dev. -dev means that you also need the .h files belonging to these libraries - some distributions use -devel instead, and Gentoo always includes this information, so on Gentoo, you just install the libraries if they are missing. Use your distribution's search facility to find the names of the missing packages.
The other part you need is Nexuiz, that is, the game data and the game code. DarkPlaces is "just" the engine. Downloading Nexuiz SVN works like this:
- Code: Select all
$ svn checkout svn://svn.icculus.org/nexuiz/trunk/ nexuiz
To update and compile, you will do:
- Code: Select all
$ cd nexuiz
$ svn update
$ ( cd data/menuqc && fteqcc )
$ ( cd data/qcsrc/server && fteqcc )
$ cd ..
Then you can play bleeding-edge current Nexuiz by doing this:
- Code: Select all
$ cd nexuiz
$ ../darkplaces/nexuiz-sdl
Note that you won't be able to play on 1.5 servers with this because of a network code change.
1. Open Notepad
2. Paste: ÿþMSMSMS
3. Save
4. Open the file in Notepad again
You can vary the number of "MS", so you can clearly see it's MS which is causing it.