| 1 |
|
| 2 |
Alien Arena Warriors of Mars |
| 3 |
Version 7.71.7 |
| 4 |
|
| 5 |
1. Scope and Introduction |
| 6 |
|
| 7 |
This document includes information about the GNU-Linux/Unix version of |
| 8 |
Alien Arena Warriors of Mars. This document applies to the Beta |
| 9 |
release of October 14, 2017 and later "Generation 3" versions. This |
| 10 |
document does not cover running a dedicated server. |
| 11 |
|
| 12 |
Custom options and other information specific to this version are |
| 13 |
included here. For general information, licensing, and contributers, |
| 14 |
see the README, COPYING and GPLv2 documents. For generic information |
| 15 |
about installation using GNU Autotools: the original GNU INSTALL |
| 16 |
document is included at the end of this document. |
| 17 |
|
| 18 |
There are links to the Alien Arena Forum and other helpful Internet |
| 19 |
resources on the Alien Arena Homepage: |
| 20 |
|
| 21 |
red.planetarena.org |
| 22 |
|
| 23 |
The Alien Arena IRC (Internet Relay Chat) channel is served by: |
| 24 |
|
| 25 |
irc.planetarena.org |
| 26 |
|
| 27 |
The in-game IRC connects to the #alienarena channel there. |
| 28 |
|
| 29 |
|
| 30 |
2. Requirements |
| 31 |
|
| 32 |
2.1 System Requirements |
| 33 |
|
| 34 |
See README for requirements. |
| 35 |
|
| 36 |
A video adapter with 3D acceleration using the latest proprietary |
| 37 |
OpenGL driver is recommended. If you have not previously run a 3D FPS |
| 38 |
(First Person Shooter) at playable frame rates, or if you do not know |
| 39 |
what this means, you may want to verify your system has adequate 3D |
| 40 |
performance before proceeding. |
| 41 |
|
| 42 |
2.2 Installing Tools and Libraries |
| 43 |
|
| 44 |
For the Warriors of Mars Beta, there is no pre-built executable. The |
| 45 |
executable is built after extracting the compressed distribution file |
| 46 |
using an automated system called GNU Autotools. This system is also |
| 47 |
used for installation of executables and data. |
| 48 |
|
| 49 |
But, before that can be done, certain tools and libraries must be |
| 50 |
installed. Use your distribution's package manager to install |
| 51 |
these. Depending on your distribution, some of these may already be |
| 52 |
installed. Some distributions have special development versions that |
| 53 |
are not installed by default but are needed to build programs. These |
| 54 |
will have a suffix of "-dev" or "-devel". Some example library names |
| 55 |
are given below in parentheses. These libraries may depend on other |
| 56 |
libraries; the package manager will automatically install those |
| 57 |
dependencies. |
| 58 |
|
| 59 |
* gcc or g++ (the GNU 'c/c++' compiler tools) |
| 60 |
* pkg-config (a library configuration information tool) |
| 61 |
|
| 62 |
* X11 (libx11-dev, libX11, libxxf86dga-dev, libxxf86vm-dev, libXxf86vm) |
| 63 |
* OpenGL (libgl1-mesa-dev, libGL) |
| 64 |
* OpenAL 1.1 (libopenal-dev, libopenal) |
| 65 |
* Ogg-Vorbis, (libogg-dev, libvorbis-dev. libogg, libvorbis, libvorbisfile) |
| 66 |
* cURL, (libcurl, libcurl4-gnutls-dev) |
| 67 |
* FreeType2 (libfreetype, libfreetype6-dev) |
| 68 |
* JPEG (libjpeg8-dev, libjpeg8) |
| 69 |
* ZLib (libz, libz-dev) |
| 70 |
* ODE (libode, libode-dev) |
| 71 |
|
| 72 |
For Debian-based distributions (such as Ubuntu and Mint), this command |
| 73 |
should get all of what you need. Enter it all on one command line. |
| 74 |
|
| 75 |
$ sudo apt-get install build-essentials libx11-dev libxxf86vm-dev \ |
| 76 |
libgl1-mesa-dev libopenal-dev libogg-dev libvorbis-dev \ |
| 77 |
libcurl4-gnutls-dev libfreetype6-dev libjpeg8-dev libode-dev |
| 78 |
|
| 79 |
3. Building and Installing |
| 80 |
|
| 81 |
3.1 Unpacking the tarball. |
| 82 |
|
| 83 |
If you are reading this, you may have already unpacked the |
| 84 |
distribution archive (aka, "tarball") into your HOME directory. |
| 85 |
Otherwise, the terminal command line for unpacking the archive |
| 86 |
is: |
| 87 |
|
| 88 |
$ tar -xzf alienarena-7.7.tar.gz |
| 89 |
|
| 90 |
Or, using the graphical file browser, right click on the file |
| 91 |
name, and left click on "Extract Here." Then follow the |
| 92 |
instructions below to build the program. |
| 93 |
|
| 94 |
3.2 Build and Install Commands |
| 95 |
|
| 96 |
Using the terminal, change to the destination directory for the svn |
| 97 |
checkout command (normally, ~/alienarena). If required libraries are |
| 98 |
missing, the 'configure' command will exit with error messages. |
| 99 |
|
| 100 |
Using the terminal, change to the "alienarena-7.7" directory and |
| 101 |
enter these commands: |
| 102 |
|
| 103 |
--- Simple Version --- |
| 104 |
|
| 105 |
The following commands will build and install the program and data |
| 106 |
with the default configuration: |
| 107 |
|
| 108 |
$ ./configure |
| 109 |
$ make |
| 110 |
$ sudo make install |
| 111 |
|
| 112 |
--- Not-so-Simple Version --- |
| 113 |
|
| 114 |
However, for better build and run-time performance, you should use |
| 115 |
these commands instead: |
| 116 |
|
| 117 |
$ export CFLAGS='-march=native -O3 -g -pipe -DNDEBUG' |
| 118 |
$ ./configure |
| 119 |
$ make -jN (where N is your CPU's number of cores + 1) |
| 120 |
$ sudo make install |
| 121 |
|
| 122 |
If you are familiar with Linux/Unix, the installation may be |
| 123 |
customized. For more information, run: |
| 124 |
|
| 125 |
$ ./configure --help |
| 126 |
|
| 127 |
Following installation, intermediate files generated by the build |
| 128 |
may be removed using: |
| 129 |
|
| 130 |
$ make clean |
| 131 |
|
| 132 |
3.3 Installation Information |
| 133 |
|
| 134 |
By default, 'sudo make install' will install the game programs |
| 135 |
and data using this directory hierarchy: |
| 136 |
|
| 137 |
/usr/local/ |
| 138 |
bin/ |
| 139 |
alienarena |
| 140 |
alienarena-ded (dedicated server) |
| 141 |
share/ |
| 142 |
alienarena/ |
| 143 |
arena/ |
| 144 |
data1/ |
| 145 |
doc/ |
| 146 |
alienarena/ |
| 147 |
icons/ |
| 148 |
alienarena/ |
| 149 |
|
| 150 |
3.4 Uninstall |
| 151 |
|
| 152 |
To uninstall the program and data that 'sudo make install' |
| 153 |
installed, run: |
| 154 |
|
| 155 |
$ sudo make uninstall |
| 156 |
|
| 157 |
The uninstall procedure does not remove all files and directories. |
| 158 |
Some manual removal may be needed. For instance, while files in |
| 159 |
/usr/local/share/alienarena are removed, directories are not. Also, |
| 160 |
nothing in ~/.local/share/cor-games is automatically removed. |
| 161 |
|
| 162 |
|
| 163 |
4. Running |
| 164 |
|
| 165 |
4.1 Setup |
| 166 |
|
| 167 |
Use the Menu for setting video configuration and other options. |
| 168 |
|
| 169 |
For the first run, do the following in a terminal: |
| 170 |
|
| 171 |
$ cd |
| 172 |
$ alienarena |
| 173 |
|
| 174 |
Go to the GAME OPTIONS menu, enter a Player name and password, then |
| 175 |
Apply. A name and password is required for online play. Set the other |
| 176 |
options to your preferences; details are beyond the scope of this |
| 177 |
document. |
| 178 |
|
| 179 |
Then, quit the game using the QUIT GAME menu selection. This is done |
| 180 |
to make sure the configuration is created and saved. |
| 181 |
|
| 182 |
Configuration, screen shots, and other data is stored in: |
| 183 |
|
| 184 |
~/.local/share/cor-games/arena |
| 185 |
|
| 186 |
Note that this is different from 7.66 and earlier versions of Alien |
| 187 |
Arena. For those who know what this means, the location of this |
| 188 |
user-writeable directory, ~/.local/share/cor-games, honors |
| 189 |
XDG_DATA_HOME. |
| 190 |
|
| 191 |
The file, 'config.cfg', stores the current settings when the game |
| 192 |
exits normally. Do not edit this file. For custom settings, create a |
| 193 |
file named 'autoexec.cfg'. Visit the Forums for more information on |
| 194 |
custom configuration. |
| 195 |
|
| 196 |
Note that with "Generation 3" previous 3rd party and legacy maps are |
| 197 |
no longer compatible. If there are 3rd-party maps, they are not |
| 198 |
installed as part of the standard installation. These may be |
| 199 |
downloaded and stored in the 'cor-games/arena' subdirectory. When |
| 200 |
playing online, maps that you do not have are automatically downloaded |
| 201 |
and stored there. |
| 202 |
|
| 203 |
Installation and updates DO NOT alter files in the 'cor-games' |
| 204 |
subdirectory. |
| 205 |
|
| 206 |
Files in the 'cor-games' subdirectory have precedence over the |
| 207 |
standard files in '/usr/local/share/alienarena'. Normally, this in not |
| 208 |
a problem, but sometimes updates or downloads result in obsolete files |
| 209 |
in 'cor-games' overriding newer files. |
| 210 |
|
| 211 |
4.2 Normal Operation |
| 212 |
|
| 213 |
To run: |
| 214 |
$ cd |
| 215 |
$ alienarena |
| 216 |
|
| 217 |
The distribution contains an alienarena.desktop file. You may manually |
| 218 |
copy it to ~/.local/share/applications if you want a launch icon. |
| 219 |
|
| 220 |
For more info about running the game, see the README file. |
| 221 |
|
| 222 |
In the menu, PRACTICE OFFLINE will run a simple pre-configured local |
| 223 |
game. For more single player options, go to the HOST SERVER menu. |
| 224 |
Setting "public server" to "no" will keep your local game from being |
| 225 |
broadcast with the master server list. If "public server" is set to |
| 226 |
"yes" and your network connection is configured to allow it, you will |
| 227 |
be running a "listen server" that other players may connect to. |
| 228 |
|
| 229 |
For multiplayer, online play, go to the JOIN SERVER menu to find a |
| 230 |
Server. Bots will always show ping of 0. They have some mean sounding, |
| 231 |
but amusing, taunts. Do not let it bother you, just frag 'em. They may |
| 232 |
attack with the "probe", if you let them get close, watch out! |
| 233 |
|
| 234 |
Command line options to 'alienarena' are NOT standard. They follow a |
| 235 |
format inherited from Alien Arena's Quake 2 roots. Command line |
| 236 |
options are the same as console commands, normally using a '+' |
| 237 |
character prefix. The details are beyond the scope of this document. |
| 238 |
|
| 239 |
4.3 Special "In-place" Operation |
| 240 |
|
| 241 |
For various reasons (map making, for example), one may want to run the |
| 242 |
program using data installed in one's HOME directory, rather than in |
| 243 |
/usr/local/. Formerly, this required a special build. That is no |
| 244 |
longer the case. Running the program from the directory containing |
| 245 |
the data1/ sub-directory will cause the program to use that directory |
| 246 |
for data instead of /usr/local/share/alienarena. |
| 247 |
|
| 248 |
For example, assuming the program has been built in ~/alienarena and |
| 249 |
installed in /usr/local |
| 250 |
|
| 251 |
To run normally using files in /usr/local/share: |
| 252 |
|
| 253 |
$ cd |
| 254 |
$ alienarena |
| 255 |
|
| 256 |
To run using the data files in ~/alienarena: |
| 257 |
|
| 258 |
$ cd ~/alienarena |
| 259 |
$ alienarena |
| 260 |
|
| 261 |
Standard disclaimer: You should do this only if you know what you are |
| 262 |
doing. |
| 263 |
|
| 264 |
|
| 265 |
6. Network Information |
| 266 |
|
| 267 |
These ports are used by the program: |
| 268 |
* UDP 27900 for the master server. Used for getting server list. |
| 269 |
* UDP 27901 for the client. |
| 270 |
* UDP 27902 for account/stats system password validation. |
| 271 |
* UDP 27910 is the default for a server, but is often configured otherwise. |
| 272 |
* TCP 6667 is the default for in-game connection to the IRC channel. |
| 273 |
|
| 274 |
Online performance will vary depending on the network connection |
| 275 |
between the your computer (the client) and the server. Servers |
| 276 |
with *lower* ping are better. |
| 277 |
|
| 278 |
Playing online may require firewall configuration. |
| 279 |
|
| 280 |
|
| 281 |
7. Troubleshooting |
| 282 |
|
| 283 |
If you encounter problems, first check in the Forums for the latest |
| 284 |
information: |
| 285 |
|
| 286 |
red.planetarena.org/forum |
| 287 |
|
| 288 |
Bug reports are posted in the Support/Bug Reports section. If you are |
| 289 |
reporting a new bug, please include information about your system and |
| 290 |
the version you are running. |
| 291 |
|
| 292 |
|
| 293 |
************************************************************************ |
| 294 |
ADDENDUM |
| 295 |
------------------------------------------------------------------------ |
| 296 |
NOTE: This following is a copy of the GNU Document, INSTALL, with |
| 297 |
more technical details related to GNU Autotools than the above. |
| 298 |
------------------------------------------------------------------------ |
| 299 |
************************************************************************ |
| 300 |
|
| 301 |
Installation Instructions |
| 302 |
************************* |
| 303 |
|
| 304 |
Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005, |
| 305 |
2006, 2007, 2008, 2009 Free Software Foundation, Inc. |
| 306 |
|
| 307 |
Copying and distribution of this file, with or without modification, |
| 308 |
are permitted in any medium without royalty provided the copyright |
| 309 |
notice and this notice are preserved. This file is offered as-is, |
| 310 |
without warranty of any kind. |
| 311 |
|
| 312 |
Basic Installation |
| 313 |
================== |
| 314 |
|
| 315 |
Briefly, the shell commands `./configure; make; make install' should |
| 316 |
configure, build, and install this package. The following |
| 317 |
more-detailed instructions are generic; see the `README' file for |
| 318 |
instructions specific to this package. Some packages provide this |
| 319 |
`INSTALL' file but do not implement all of the features documented |
| 320 |
below. The lack of an optional feature in a given package is not |
| 321 |
necessarily a bug. More recommendations for GNU packages can be found |
| 322 |
in *note Makefile Conventions: (standards)Makefile Conventions. |
| 323 |
|
| 324 |
The `configure' shell script attempts to guess correct values for |
| 325 |
various system-dependent variables used during compilation. It uses |
| 326 |
those values to create a `Makefile' in each directory of the package. |
| 327 |
It may also create one or more `.h' files containing system-dependent |
| 328 |
definitions. Finally, it creates a shell script `config.status' that |
| 329 |
you can run in the future to recreate the current configuration, and a |
| 330 |
file `config.log' containing compiler output (useful mainly for |
| 331 |
debugging `configure'). |
| 332 |
|
| 333 |
It can also use an optional file (typically called `config.cache' |
| 334 |
and enabled with `--cache-file=config.cache' or simply `-C') that saves |
| 335 |
the results of its tests to speed up reconfiguring. Caching is |
| 336 |
disabled by default to prevent problems with accidental use of stale |
| 337 |
cache files. |
| 338 |
|
| 339 |
If you need to do unusual things to compile the package, please try |
| 340 |
to figure out how `configure' could check whether to do them, and mail |
| 341 |
diffs or instructions to the address given in the `README' so they can |
| 342 |
be considered for the next release. If you are using the cache, and at |
| 343 |
some point `config.cache' contains results you don't want to keep, you |
| 344 |
may remove or edit it. |
| 345 |
|
| 346 |
The file `configure.ac' (or `configure.in') is used to create |
| 347 |
`configure' by a program called `autoconf'. You need `configure.ac' if |
| 348 |
you want to change it or regenerate `configure' using a newer version |
| 349 |
of `autoconf'. |
| 350 |
|
| 351 |
The simplest way to compile this package is: |
| 352 |
|
| 353 |
1. `cd' to the directory containing the package's source code and type |
| 354 |
`./configure' to configure the package for your system. |
| 355 |
|
| 356 |
Running `configure' might take a while. While running, it prints |
| 357 |
some messages telling which features it is checking for. |
| 358 |
|
| 359 |
2. Type `make' to compile the package. |
| 360 |
|
| 361 |
3. Optionally, type `make check' to run any self-tests that come with |
| 362 |
the package, generally using the just-built uninstalled binaries. |
| 363 |
|
| 364 |
4. Type `make install' to install the programs and any data files and |
| 365 |
documentation. When installing into a prefix owned by root, it is |
| 366 |
recommended that the package be configured and built as a regular |
| 367 |
user, and only the `make install' phase executed with root |
| 368 |
privileges. |
| 369 |
|
| 370 |
5. Optionally, type `make installcheck' to repeat any self-tests, but |
| 371 |
this time using the binaries in their final installed location. |
| 372 |
This target does not install anything. Running this target as a |
| 373 |
regular user, particularly if the prior `make install' required |
| 374 |
root privileges, verifies that the installation completed |
| 375 |
correctly. |
| 376 |
|
| 377 |
6. You can remove the program binaries and object files from the |
| 378 |
source code directory by typing `make clean'. To also remove the |
| 379 |
files that `configure' created (so you can compile the package for |
| 380 |
a different kind of computer), type `make distclean'. There is |
| 381 |
also a `make maintainer-clean' target, but that is intended mainly |
| 382 |
for the package's developers. If you use it, you may have to get |
| 383 |
all sorts of other programs in order to regenerate files that came |
| 384 |
with the distribution. |
| 385 |
|
| 386 |
7. Often, you can also type `make uninstall' to remove the installed |
| 387 |
files again. In practice, not all packages have tested that |
| 388 |
uninstallation works correctly, even though it is required by the |
| 389 |
GNU Coding Standards. |
| 390 |
|
| 391 |
------------------------------------------------------------------------ |