
Infected Server Installation
-------------------------


Linux
-----

1) Create a directory named 'infected' next to the 'etmain' directory in either
   the Enemy Territory installation directory or the ~/.etwolf/ directory of
   the user that runs etded.x86. By default the game installation directory
   is located at /usr/local/games/enemy-territory/.

2) Copy the linux/qagame.mp.i386.so file from the infected distribution to
   the 'infected' directory created in step one.

3) You will need the liblua5.1.so file located in the Enemy Territory
   installation directory where etded.x86 or et.x86 is located.

   Important: Currently infected's qagame supports Lua 5.1.4.

   3.1) Download the LuaBinaries for Linux from
        http://luabinaries.luaforge.net/download.html (in most cases
		lua5_1_4_Linux26g4_lib.tar.gz).

   3.2) Unzip the downloaded archive and copy the liblua5.1.so file to your
        Enemy Territory installation directory, beside etded.x86 or et.x86.

   3.3) Make sure to have the correct permissions set to liblua5.1.so
        (chmod a=r,u+w liblua5.1.so).

   Hint: If you haven't access to the Enemy Territory installation
         directory, e.g. a rented server, you have to ask your admin
		 to copy the necessary files for you.

4) To use the country flags feature, you will need the GeoIP.dat database file
   located in the 'infected' directory from step one.

   4.1) Download the compressed GeoIP database file GeoIP.dat.gz from
        http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/.

   4.2) Decompress it and copy it into the 'infected' directory from step one.

5) Ensure that etded or et is called with the additional command line
   arguments '+set fs_game infected' (in addition to the ones you already use!).


Windows
-------

1) Create a directory named 'infected' next to the 'etmain' directory in the
   Enemy Territory installation directory. By default the game installation
   directory is located at 'C:\Program Files\Wolfenstein - Enemy Territory'.

2) Copy the win32/qagame_mp_x86.dll file from the infected distribution to
   the 'infected' directory created in step one.

3) You will need the lua5.1.dll file located in the Enemy Territory installation
   directory where ETDED.exe or ET.exe is located.

   Important: Currently infected's qagame supports Lua 5.1.4.

   3.1) Download the LuaBinaries for Windows from
        http://luabinaries.luaforge.net/download.html (in most cases
		lua5_1_4_Win32_dll8_lib.zip).

   3.2) Unzip the downloaded archive and copy the lua5.1.dll file to your
        Enemy Territory installation directory, beside ETDED.exe or ET.exe.

   Hint: If you haven't access to the Enemy Territory installation
         directory, e.g. a rented server, you have to ask your admin
		 to copy the necessary files for you.

4) To use the country flags feature, you will need the GeoIP.dat database file
   located in the 'infected' directory from step one.

   4.1) Download the compressed GeoIP database file GeoIP.dat.gz from
        http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/.

   4.2) Decompress it and copy it into the 'infected' directory from step one.

5) Ensure that ETDED.exe or ET.exe is called with the additional command line
   arguments '+set fs_game infected' (in addition to the ones you already use!).


Mac OS X
--------

Sorry, Mac OS X support has been dropped for the server version of infected.


Infected Client Installation
-------------------------

Using the infected client is highly recommended and brings
many new features like shoutcasting, country flags, custom huds
or team and class menus.


Linux and Windows
---------------------------

1) Download the latest z_infectedmod_XX_X.pk3.pk3 and z_infectedmod_mpbin_XX_X.pk3 file from http://forums.warchest.com/showthread.php/34288-Mod-Infected and
   copy it to the 'infected' directory.

