HOWTO: Enemy Territory on FreeBSD
Wolfenstein: Enemy Territory is a free multiplayer FPS that takes place in the World World II pitting two teams (Allies and Axis) against each other for victory.
The game was originally going to be a retail expansion pack for Return To Castle Wolfenstein but the project was cancelled, Activision however decided to release it during 2003 for free.
In this post I'll detail the steps required to install and update Enemy Territory, the ET Pro mod, PunkBuster and XQF on FreeBSD.
1) Install and update Enemy Territory
Become the superuser:
# cd /usr/ports/games/linux-enemyterritory # make install clean
If you don't have the Linux Compatibility Environment proceed to step 2, otherwise jump to step 3.
2) Enable the Linux Compatibility Environment
Enemy Territory needs both FreeBSD's Linux kernel module and near-minimal installation of a Linux distribution. By default, FreeBSD 7.x uses Fedora Core Linux 4.
The linux-enemyterritory port pulls in linux_base-fc4 so we just need to load the Linux kernel module at boot time. To do so run:
# echo 'linux_enable="YES"' >> /etc/rc.conf
3) Install Linux X.Org libraries
Wolfentein: Enemy Territory requires Linux X.Org libraries to load properly. To install them run the following command:
# cd /usr/ports/x11/linux-xorg-libs # make install clean
Next let's install Enemy Territory's best mod: ET Pro.
# cd /usr/ports/games/linux-enemyterritory-etpro # make install clean
5) Update PunkBuster
Now start the game, create a player profile and quit. By doing so a .etwolf directory will be created in your home directory which includes a folder containing PunkBuster.
Point to http://www.evenbalance.com/index.php?page=pbsetup.php scroll down and follow the Linux download to download PunkBuster update application.
Change directory to where you've downloaded the pbsetup.run and:
# su # chmod +x pbsetup.run # exit % cp pbsetup.run ~/.etwolf/pb % ./pbsetup.run
On the main PunkBuster window click on Enemy Territory to select it and press "Check for Updates". Quit PunkBuster after updating it.
6) Install XQF
One can use the in game browser to search for server. However I recommend installing and using the XQF Game Server Browser as it a lot more flexible and complete:
# cd /usr/ports/games/xqf # make install clean
I tend to play on www.Enemy-Territory.com by www.4netplayers.de server
7) Fix sound issues
ET uses Linux's OSS sound infrastructure so you might come across issues. Here's how to enable sound on Enemy Territory under FreeBSD 7.x:
% su # sysctl hw.snd.compat_linux_mmap=1 # echo "hw.snd.compat_linux_mmap=1" >> /etc/sysctl.conf # exit
And we're done!
BSD and Linux tips and tutorials: Blog Linux/BSD: sharing experiences
|Thread||Thread Starter||Forum||Replies||Last Post|
|FreeBSD GPT howto||graudeejs||Guides||10||21st December 2010 12:24 AM|
|HOWTO: FreeBSD CPU Scaling with cpufreq.ko||vermaden||Guides||10||27th October 2010 08:58 AM|
|HOWTO: QEMU on FreeBSD||vermaden||Guides||10||9th March 2009 07:10 PM|
|FreeBSD howto: burning and ripping cd's||graudeejs||Guides||9||31st December 2008 06:39 AM|
|HOWTO: FreeBSD with CCACHE||vermaden||Guides||10||9th July 2008 07:14 PM|