You are hereBlogs / meck's blog / Wolfenstein - Enemy Territory - Ubuntu 8.04 Hardy Heron Howto

Wolfenstein - Enemy Territory - Ubuntu 8.04 Hardy Heron Howto


By meck - Posted on 22 June 2008

I tried to find a new Linux game with decent graphics and came across Enemy Territory. There was a bit of work to do until it ran. Here I will show you what I did. I will be very specific and the result of the procedure will be a working installation of Enemy Territory in ~/apps/enemy-territory:

Download the game at http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run and save it on your Desktop.
Download the latest game binaries at http://www.fileshack.com. Therefore search for Wolfenstein: Enemy Territory - 2.60b Binaries. Also save the downloaded file on your Desktop. It's name should be et-2.60b.zip
Download a sound fix script from http://nullkey.ath.cx/~stuff/et-sdl-sound/et-sdl-sound.gz and save it on Desktop.
Right click on the et-sdl-sound.gz and select extract here to unzip the archive.
Right click on the et-2.60b.zip and select extract here to unzip the archive.
You should now have a folder Enemy Territory 2.60b, the et-linux-2.60.x86.run and the et-sdl-sound on your Desktop.
Open a terminal (Applications->Accessories->Terminal) and type line by line without the comment lines starting with a #. But read the comment lines and do what they say:
# create folders
mkdir -p bin
mkdir -p apps
 
# go to desktop
cd Desktop
 
# make installer executable
chmod +x et-linux-2.60.x86.run
 
# run the installer with the following and choose
# /home/YOUR_USER_NAME/apps/enemy-territory as installation path
# /home/YOUR_USER_NAME/bin for symbolic link folder
./et-linux-2.60.x86.run
 
# replace the installed binaries with the the binaries extracted from the patch
cp ~/Desktop/Enemy\ Territory\ 2.60b/linux/etded.x86 ~/apps/enemy-territory/etded.x86
cp ~/Desktop/Enemy\ Territory\ 2.60b/linux/et.x86 ~/apps/enemy-territory/et.x86
 
# go into bin directory
cd
cd bin
 
# move the fix script to bin folder and make it executable
mv ~/Desktop/et-sdl-sound .
chmod a+x et-sdl-sound
 
# open the sound fix script and
# change GAME_PATH="" to GAME_PATH="/home/YOUR_USER_NAME/apps/enemy-territory"
gedit et-sdl-sound
 
# run the game and then quit again.
./et-sdl-sound
 
# fix punkbuster
chmod +x ~/apps/enemy-territory/pb/pbweb.x86
cp ~/apps/enemy-territory/pb/pbweb.x86 ~/.etwolf/pb/
cd ~/.etwolf/pb/
./pbweb.x86

Now log out and start the game by hitting + and typing et-sdl-sound

References:
https://help.ubuntu.com/community/EnemyTerritory
http://ubuntuforums.org/showthread.php?t=362231
http://ubuntuforums.org/showthread.php?t=496787