|
I wrote a tutorial on this a while ago, and I think that I should post it here since I noticed a few people searching for it.
So, where do we start? First, we need to get the armagetron source. (Or if you are lazy or for some other reason do not wish to patch the code yourself, you can get my pre-patched version here ) The version we need for a CTF server is the 0.2.8 SVN branch. Note that the SVN version does not come with a prebuilt configure script so you will have to generate your own using bootstrap.sh which requires automake. Now that we have the code, we must download the pigsty patch. Make sure that the patch is in our armagetronad source folder, and then untar it. $ tar -xvf pigsty-061021.zip Now that all the resources and the patch have been unzipped, we will patch our code. $ patch -p0 < pigsty-061021.patch Now that we have patched our code, we can begin the build process. First, we will generate a configure script using bootstrap.sh. On FreeBSD, you may need to modify the bootstrap.sh script to point to the location of the automake tools since they may not be in your path, but in /usr/local/libexec/automakeXX and /usr/local/libexec/autoconfXX. $ ./bootstrap.sh Once we are notified that we have a working configure script, we can configure. The code given would install in the user's home directory. $ ./configure --prefix=$HOME --disable-glout --enable-automakedefaults --disable-sysinstall --disable-etc --disable-useradd --disable-initscripts Finally, the standard make and make install. You will obviously want to su to root if you are installing outside your home folder. $ make $ make install On FreeBSD, you may need to run as: $ gmake $ gmake install
Next, copy the Your_mom directory from the SOURCE_DIR/resources to your new resource folder in $PREFIX/share/games/armagetronad-dedicated/resource. You can now modify the sample config files given in the SOURCE_DIR/config/examples. Now you should have a functional CTF server. All that's left is tweaking settings! Hopefully this helps some server admins out there! Quote this article on your site | Print
Powered by AkoComment Tweaked Special Edition v.1.4.6 AkoComment © Copyright 2004 by Arthur Konze - www.mamboportal.com All right reserved |