First Start | Installation | Network Play | Configuration | FAQ | Redistribution |
All systemwide installation has to be carried out as root. Installation from a source archive is recommended, as Armagetron Advanced will be tailored for your system and missing libraries will be identified and pointed out to you. Only as a last resort, you should choose the binary archives. The binary RPMs and Debian packages are a reasonable choice if your system supports them and you can get hold of the corresponding library packages in the right versions.
It is very important that Armagetron and all of its dependencies are built with the same compiler. The different versions of gcc tend to be slightly binary incompatible with each other, and on complex projects like this one these small glitches tend to cause unexplainable problems. The distributed binaries are compiled with gcc 3.3, and we test source compatibility with 3.4 and 4.0 regularly. Yes, theoretically the binary interface for C code (ABI) did not change, but be prepared for problems nevertheless.
Unpack the archive and change into the unpacked directory; type
./configure gmake installEverything will be copied to /usr/local/games/armagetron. Should there already be a version, it will be overwritten (see the section on multiple versions if you want to keep your old version around). If gmake is not found on your system, try make; however, only GNU make is supported. To build the dedicated server, add the option --disable-glout to the configure script. To change the installation path, use the option --prefix=new_path. Type
uninstall-armagetronad-0.3_alpha6541to uninstall.
Please report it if this procedure gives you errors you cannot resolve; the goal is to make it work on as many systems as possible.
Type
rpm -i filename.rpmThe RPM build is quite untested, so it may be that it has registered too many dependencies and you are not allowed to install it; you may use the additional switch --nodeps to ignore these errors. However, you may then end up with a broken installation.
rpm -e armagetronad
Type
rpm --rebuild filename.src.rpmThis should build binary RPMs suitable for your system in /usr/src/redhat/RPMS/i386 (RedHat) resp. /usr/src/packages/RPMS/i386 (SuSE); you may have to look into the other subdirectories of RPMS to find them. Proceed as described in the previous paragraph.
rpm -i filename.src.rpmThis should extract a source package in /usr/src/.../SOURCES you can handle like described in the first section. You can surely ignore all failed dependencies with --nodeps since the dependencies were all there when you built the package. (It is possible, if not likely, that the automatic dependency generation of RPM produces junk.)
You have the option to install the game as a regular user in your home directory. To do so, use the --prefix directive of rpm or the configure script to point to a place in your home directory, i.e.
./configure --prefix /home/username/usrYou can then start the game with
/home/username/usr/bin/armagetronador, if you add /home/username/usr/bin to your executable search path, like normal.
To install the dedicated server from binaries, follow all the procedures above with the corresponding download files; the server will be installed in usr/local/games/armagetronad-dedicated and can be invoked by
armagetronad-dedicatedUse the --disable-glout option of configure to build a dedicated server when you are installing from source.
An init.d style start/stop script called armagetronad will be installed into /etc/init.d, so you can use your standard system utilities to let it be started at boot time. By default, it runs the server under the userid armagetronad-dedicated (which gets created at installation) and logs activity in /var/games/armagetronad-dedicated. You can change these settings in the configuration file /etc/armagetronad/rc.config. Unfortunately, the only way to give commands to the server when it is run this way is to put them into everytime.cfg which is read every round or through the ingame admin.
Type
armagetronadas a normal user to play.
This document was created by Manuel Moos
Last modification: Dec 26 2006
First Start | Installation | Network Play | Configuration | FAQ | Redistribution |