Enemy Territory is a free, Open Source multi-player first-person shooter video game set during World War II. It was created in 2003 by Splash Damage and runs great on low-end hardware. I’ve run an Enemy Territory server for quite some time, you can download the game and play it for free on my server or join any of the thousands available online.
My Server Setup
My Enemy Territory server runs version 2.60b on Linux (CentOS).
It runs a few mods/addons: No Quarter and Omni-bot (AI Bot players) and XP save is enabled so you can gain military ranks and perks.
How to Play Enemy Territory
- Download and install ET 2.60 for Linux (right click, save as), Windows or Mac
- Run installation as either root or local user (Linux local user needs to have a ~ /bin)
- Download and install 2.60b patch for Linux, Windows or Mac (copy binaries to install dir)
- Run the game from your menu or type ‘et‘ on a terminal
- Once inside the game, you’ll need to obtain a cdkey file, this is so that you have a unique player GUID for servers to save XP and progression. GUID generation is based on Punkbuster, though ET isn’t supported anymore it can still be used to generate one in the form of the etkey file:
Type ~ to open the game console and type:
- Now you’re ready to play! While still in the game console type:
This is a 32bit game so you need to have 32bit graphics libraries installed. I use an Nvidia card so for me the fix was:
dnf install nvidia-driver-libs.i686
On my Lenovo x240 laptop using an Intel HD Graphics (i915) chipset this was:
dnf install libva-intel-driver.i686 xorg-x11-drv-intel.i686
Linux Fix: No Sound
Enemy Territory doesn’t support ALSA (only OSS) you will need those kernel modules if you do not have sound when the game starts. I achieved this via:
/sbin/modprobe snd-pcm && /sbin/modprobe snd-pcm-oss && \ /sbin/modprobe snd-seq-device && /sbin/modprobe snd-seq-oss
Fix: Large Resolutions
As ET is an older game, the default resolution for full screen you want on newer hardware probably isn’t supported. Luckily there’s a way around this. I found the following blog post useful in solving this issue. This should work on all operating systems. For example, on Fedora 22 to run at a native 1920×1080 resolution I start Enemy Territory with the following command:
et +r_mode "-1" +r_customwidth "1920" +r_customheight "1080" \ +cg_fov "106.27" +set com_hunkmegs "768" +vid_restart
To make this permanent you can either alias it (or edit shortcut in other operating systems) or edit your etconfig.cfg file to contain the below seta commands. Note: cg_fov for 16:10 resolutions (e.g. 1440×900, 1680×1050 and 1920×1200) should be 100.39 and for 16:9 (1366×768, 1920×1080) 106.27.
cat >> ~/.etwolf/etmain/etconfig.cfg <<EOF seta r_mode “-1″ seta r_customwidth “1366” seta r_customheight “768” seta cg_fov “106.27” EOF
To simply alias this command I did the following instead (should work on Linux and OSX)
Be sure to change the customwidth, customheight and cg_fov appropriately for your setup.
cat >> ~/.bashrc <<EOF alias etstart='et +r_mode "-1" +r_customwidth "1920" \ +r_customheight "1080" +cg_fov "115" +set com_hunkmegs \ "768" +vid_restart'" EOF
Funcamp Gameplay Info
If you decide to play on my server the game client will auto-download any missing mods or maps and join the fray. The bots on your team will respond to medic, backup and ammo requests if you ask for them. Server status is generated every 2minutes by a shell script below.
If you’ve got comments, map suggestions or anything else pertaining to Enemy Territory please use the leave a comment below, or email me directly using the contact form. I’m happy to make changes, swap out maps or provide any tips to folks running their own server on Linux. You can also find the admins in IRC here by launching the Freenode Web Client.