First thing that you will need to do is if Alien Arena is already installled is to delete it, as we are going to be getting the game completely from SVN. Yes, we will be starting from scratch.
Now that you don't have Alien Arena on your computer, you can go to download the SVN program that we will be using, it's called Tortoise SVN. The website you want to visit is shown below.
Click on the download for the MSI installer appropriate for your computer. You have a choice between 32 bit and 64 bit. If in doubt as to whether you have 32 bit or 64 bit, get 32 bit.
Install the program and restart windows
Make a folder on your c:\\ drive named "Alien Arena 2008"
Right click the folder that you just made (Alien Arena 2008) and choose SVN checkout.
Where it says URL Repository put in:
Then hit OK.
Now, the Tortoise SVN program will download Alien Arena from SVN. You will be getting the latest version of the game as of the moment you start checking out, so you will have all kinds of new features that weren't in the last release.
You have now gotten the very latest version of Alien Arena. But how do you update?
Simply right click your AlienArena folder that you created and choose SVN Update
Enjoy the game!
This guide assumes that you have a Debian-based Linux distribution, such as Ubuntu. If you use a different distribution, such as Fedora, Slackware, or OpenSuSE, the steps for installing packages from the repositories are going to be different, and the packages may have different names. The steps for how to checkout from SVN and build the source code will be the same, however.
First, we are going to install subversion (SVN.) Run this command in a terminal: "sudo apt-get install subversion." (Ignore the quotes.)
Then, we are going to install all of Alien Arena's dependencies, and all the programs needed to compile the source (list courtesy of "synapse" on the forums.)
"sudo apt-get install build-essential comerr-dev g++ gettext html2text libaa1-dev libalut0 libasound2-dev libaudio-dev libaudio2 libaudiofile-dev libcaca-dev libcurl4-gnutls-dev libfreetype6-dev libgcrypt11-dev libgl1-mesa-dev libglu1-mesa-dev libgnutls-dev libgpg-error-dev libice-dev libidn11-dev libjpeg62-dev libkadm55 libkrb5-dev libldap2-dev libopenal1\|openal-soft libopenal-dev libpng12-dev libpthread-stubs0 libpthread-stubs0-dev libslang2-dev libsm-dev libtasn1-3-dev libx11-dev libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxt-dev libxxf86dga-dev libxxf86vm-dev mesa-common-dev sharutils tofrodos x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-xext-dev x11proto-xf86dga-dev x11proto-xf86vidmode-dev libvorbis\|libvorbis0a libvorbis-dev xtrans-dev zlib1g-dev"
(once again, remove the quotes before running this.)
You will probably have many of these packages installed already, that's okay. If not, that's okay too. These dependencies will allow you to build both the server and the client version.
Now we get to the fun part. We are going to tell SVN to fetch a new copy of Alien Arena from the server! (We're starting fresh here, do not download into an existing Alien Arena version.) First, create a directory in your home folder (or anywhere else you like) for the game:
Then, have SVN fetch the game:
"svn co svn://svn.icculus.org/alienarena/trunk ~/alienarena"
It will take a while to download for the first time.
OPTIONAL, BEFORE YOU COMPILE: At this point, you may wish to change the makefile if you only want to build either the client or the server (default is to build both.) This can save some compiling time. Edit the makefile and where it says "BUILD?=ALL" change it to "BUILD?=CLIENT" or "BUILD?=DEDICATED" instead. The makefile is found in the file ~/alienarena/source/makefile.
Now, change to the source directory:
Now we will compile it.
make clean #always a good idea to do this before you compile, especially if you've compiled an older version in the past
make #compile the code
make install #install the finished binaries in your ~/alienarena folder.
BEFORE YOU RUN IT: If you have run a significantly older (pre-7.30 release) version of Alien Arena in the past, the configuration files it has created are obsolete and will cause the new version to crash. You should delete the old ~/.codered/arena/config.cfg file (which is automatically generated by the game engine) at this time. When you run the game, a new one will be created and you will need to re-create your settings to your liking within the game.
TO UPDATE THE GAME, run these console commands in order: