Differences between revisions 3 and 4
Revision 3 as of 2009-06-27 04:43:03
Size: 4651
Editor: PaulWise
Comment: remove problematic macro
Revision 4 as of 2011-03-18 14:52:18
Size: 4976
Editor: Timo Jyrinki
Comment: mention that there is a enemy-territory packaging at mentors.debian.net, so it may become available as official Debian package
Deletions are marked like this. Additions are marked like this.
Line 8: Line 8:

= Debian packaging =

ET was GPL'd in 2010. There is a Debian package brewing by Michael Gilbert at http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=enemy-territory - when/if it will be sponsored into Debian, it will be available simply as an installable package of the name ''enemy-territory''.

Translation(s): none

(!) ?Discussion


Wolfenstein: Enemy Territory

Wolfenstein: Enemy Territory (or simply "ET") is a multi-player FPS game created by Splash Damage and based on the Quake 3 Arena engine. There are also numerous game modifications (MODs) available. You can learn more from the Wikipedia article.

Debian packaging

ET was GPL'd in 2010. There is a Debian package brewing by Michael Gilbert at http://mentors.debian.net/cgi-bin/sponsor-pkglist?action=details;package=enemy-territory - when/if it will be sponsored into Debian, it will be available simply as an installable package of the name enemy-territory.

Installation

First you have to download the game installer and a patch from splashdamage.com. You can use these direct links as well:

wget http://ftp.freenet.de/pub/4players/hosted/et/official/et-linux-2.60.x86.run
chmod a+x et-linux-2.60.x86.run
wget http://ftp.freenet.de/pub/4players/hosted/et/official/et-linux-2.60-update.x86.run
chmod a+x et-linux-2.60-update.x86.run

Now install the game to the directory of your choice:

./et-linux-2.60.x86.run

and then patch it:

./et-linux-2.60-update.x86.run

To run the game simply invoke command:

et

Sound troubleshooting

OSS

If you use OSS you simply have to set it's parameters. As root execute:

echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss

et-sdl-sound (ALSA)

There is a hack (however it works great) that allows you to play with ALSA by replacing standard sound system functions at runtime. It is available at et-sdl-sound homepage.

All you have to do, is to download the archive, extract it, and copy et-sdl-sound.so file to the directory where you have installed ET.

You will also need libSDL.so library. It is available in libsdl1.2-dev Debian package. To install it, execute as root:

apt-get update
apt-get install libsdl1.2-dev

Now create another run script: et-sdl-sound

GAMEPATH="/opt/enemy-territory"  # you may have to change this

export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
export ETSDL_SDL_LIB="libSDL.so"
export SDL_AUDIODRIVER="alsa"
cd "$GAMEPATH"
LD_PRELOAD="${LD_PRELOAD}:$GAMEPATH/et-sdl-sound.so" ./et.x86 $*

You can still use game parameters with this script, like:

et-sdl-sound connect SERVER[:PORT]

aoss

There is another way of running a program which uses OSS on ALSA. However in most cases this will prevent you from mixing different sound sources. You won't be able to play ET and use ?TeamSpeak in the same time.

If you are still interested in aoss, just install its package from the repository and execute:

aoss et

or, if the above doesn't work:

aoss; sleep 1; et

PunkBuster

If the in-game ?PunkBuster updater doesn't work for you, the best thing to do is to download PBSetup. Move the downloaded file to a separate directory, where it will store its configuration and data as well. Now run:

chmod a+x pbsetup.run
./pbsetup.run

After accepting the licenses, you have to add two games to the list:

  • Wolfenstein: Enemy Territory with path set to the place where you have installed the game (e.g. /opt/enemy-territory/)
  • Wolfenstein: Enemy Territory with path set to .etwolf directory in your home directory (e.g. /home/username/.etwolf/)

Now update BOTH games. You will need write permissions to the above directories, so if you have installed the game as root, update the game's ?PunkBuster as root as well. To update ?PunkBuster located in your home directory, always use your account instead of root.

Requirements

  • Intel Pentium III 600Mhz processor or equivalent
  • 128 MB RAM
  • Hard Disk drive with at least 230Mb of disk space
  • OSS compatible sound card (see "Sound troubleshooting" section)
  • A 100% full OpenGL compliant 3-D video card and Linux driver.
  • TCP/IP for internet and LAN play

See also


Game