Adam Michael Roach's picture

Wolfenstein: Enemy Territory on Ubuntu Linux Jaunty Jackalope 9.04

I'm not much of a gamer, but one game that I do enjoy playing is Return to Castle Wolfenstein: Enemy Territory. The following are the steps I took to get Enemy Territory installed and fully updated to version 2.60b (including all Punkbuster updates) on Ubuntu Jaunty Jackalope 9.04. These instructions will work on more distros than just Ubuntu, but you may have different results depending on hardware/software setup. Please be sure to research all of your options before following this or any other tutorial.

Installing Enemy Territory

Most of these steps will require use of the terminal. The terminal in Gnome is found at Applications > Accessories > Terminal. Enter the following commands in the terminal:


sudo apt-get install libgtk1.2
cd ~/Desktop
wget ftp://ftp.idsoftware.com/idstuff/et/linux/et-linux-2.60.x86.run
sudo chmod +x et-linux-2.60.x86.run
sudo sh ./et-linux-2.60.x86.run

It will then ask you to enter your password. After you input your password, the installation will begin. You can feel comfortable leaving all of the default settings (i.e. installation path, symbolic links, Punkbuster) during install and just select next every time.

Important: after the installation is complete it will prompt you to either start the game or exit the installer. Select the option to exit the installer. If you start the game you will have some permissions problems that will need to be fixed later.

Installing the 2.60b Patch

Once again, in the terminal run the following commands:


cd ~/Desktop
wget ftp://ftp.idsoftware.com/idstuff/et/ET-2.60b.zip
unzip ET-2.60b.zip
cd /usr/local/games/enemy-territory/
sudo cp ~/Desktop/Enemy\ Territory\ 2.60b/linux/* /usr/local/games/enemy-territory/

Updating Punkbuster

Finally, we can update Punkbuster. This is a multi-step process, but I assure you if you follow these instructions, it will work just fine. In the terminal:


cd /usr/local/games/enemy-territory/pb/htm/
sudo wget http://www.evenbalance.com/downloads/cod2/pbsecsv.htm
cd ..
sudo chmod +x pbweb.x86
sudo ./pbweb.x86

The updates should run just fine. After the updates run, start the game either from Applications or just type et in the terminal. After the game starts, go ahead and exit it. We are only starting the game for a second because we need to create the preferences folder in our user's home folder.

After the game closes, go back to the terminal and enter the following:


cp /usr/local/games/enemy-territory/pb/pbweb.x86 ~/.etwolf/pb
cd ~/.etwolf/pb
./pbweb.x86

Congratulations, you now have a fully updated and patched Enemy Territory installation. Feel free to delete any of the downloaded files off of the Desktop. If you test these instructions out and a) find a problem with something or b) find a better way to do something, please let me know in the comments and I'll update it in my instructions.

Additional Tweaks

Custom Resolution: Once inside the game you set a custom resolution. For instance, my laptop runs at 1440x900. To set this resolution manually you need to bring up the drop-down game console by pressing the ~ (tilde key). You can then enter your new resolution values by entering the following (please be sure to change the values to match the settings for your display/video settings):


set r_customHeight "900"
set r_customWidth "1440"
set r_mode "-1"

When you restart the game, the new resolution should be in effect.

Sound Issues: Anyone who plays Enemy Territory on Linux knows the challenge of sound problems. In Jaunty the fix for me was to change the in-game sound settings to the highest setting; 44khz, Ultra-High.

Additional Resources

https://help.ubuntu.com/community/EnemyTerritory
http://enemy-territory.4players.de:1041/news.php
https://help.ubuntu.com/community/Games/Native/ReturnToCastleWolfenstein...

Anonymous's picture

I love this game too, and

I love this game too, and thanks for the method how to install the patch and the tweaks was also useful, and the game work just fine.

Anonymous's picture

did not work for me. not only

did not work for me. not only do i not have sound, but when i join a game the game terminates leaving me back on my desktop. any ideas

Terry

Anonymous's picture

I love playing Addicting

I love playing Addicting Games too. Thanks for posting installation guide of Enemy Territory. It was clearly explained so it would be easy for us to follow.

Anonymous's picture

Hello Adam, Clear

Hello Adam,

Clear tutorial.
Works like a charm.

The tip on the sound settings : .. turn the ingame ET menu sound settings to ultra-high.
That was priceless.

Did the trick for me.
Now finally i got sound in linux ET !
I luv U for it !
Thx so much !

Grtz. Kim

Anonymous's picture

Hello there, Great post, I

Hello there,
Great post, I just found it and I am already a fan.

Anonymous's picture

this is priceless, thanks

this is priceless, thanks :)

whats your nick at crossfire btw?

Anonymous's picture

I get the following error

I get the following error when updating PunkBuster:

>>Attempting to download htm/ls-00001.htm (please wait)
>>
>>**ERROR from Web Server: 302 Found

Any ideas?

Anonymous's picture

I googled "Linux PunkBuster

I googled "Linux PunkBuster Update" and found their GUI updater. I used that instead.

You can try that (also, where the hell is the CAPTCHA? I can't find it and I need to post a link!

Anonymous's picture

Very good tutorial. I found

Very good tutorial. I found it looking for a fix for the sound - and setting the quality to Ultra High worked a treat.

Cheers!

Anonymous's picture

Thanks for well written

Thanks for well written guide, worked like a champ!

Great looking site too.

Adam Michael Roach's picture

Thank you very much!

Thank you very much!

Adam Michael Roach

Anonymous's picture

I followed your tutorial

I followed your tutorial exactly. It's a good tutorial.

Whenever I start enemy territory, my computer resolution changes to 800x600 and et exits, returning the output:

ET 2.60b linux-i386 May 8 2006
----- FS_Startup -----
Current search path:
/home/erik/.etwolf/etmain
/usr/local/games/enemy-territory/etmain/pak2.pk3 (22 files)
/usr/local/games/enemy-territory/etmain/pak1.pk3 (10 files)
/usr/local/games/enemy-territory/etmain/pak0.pk3 (3725 files)
/usr/local/games/enemy-territory/etmain/mp_bin.pk3 (6 files)
/usr/local/games/enemy-territory/etmain

----------------------
3763 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XF86DGA Mouse (Version 2.0) initialized
XFree86-VidModeExtension Activated at 800x600
Using 8/8/8 Color bits, 24 depth, 0 stencil display.
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 1
Minor opcode of failed request: 0
Serial number of failed request: 41
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18
Minor opcode of failed request: 0
Serial number of failed request: 42
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18
Minor opcode of failed request: 0
Serial number of failed request: 43
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 8
Minor opcode of failed request: 0
Serial number of failed request: 44
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 12
Minor opcode of failed request: 0
Serial number of failed request: 45
X Error of failed request: BadWindow (invalid Window parameter)
Major opcode of failed request: 18
Minor opcode of failed request: 0
Serial number of failed request: 48
X Error of failed request: BadDrawable (invalid Pixmap or Window parameter)
Major opcode of failed request: 136
Minor opcode of failed request: 7
Serial number of failed request: 53
X Error of failed request: BadValue (integer parameter out of range for operation)
Major opcode of failed request: 154
Minor opcode of failed request: 26
Serial number of failed request: 53
Received signal 11, exiting...
Segmentation fault

Anonymous's picture

Hi face the same problem. I

Hi face the same problem. I have ATI Radeon x1150 but LSHW shows Radeon Xpress 200M. This would be the problem? How could i overcome it?

Adam Michael Roach's picture

If I recall correctly, the

If I recall correctly, the x1150 and the Xpress 200M are the same thing. It was just renamed when AMD took over. Is there any other output you have that could help problem solve? Do you know if you have the correct drivers?

Adam Michael Roach

Anonymous's picture

I'm having the same

I'm having the same issue:
Video card: 128MB ATI Radeon FireGL Mobility T2 / 9600 on a Thinkpad R50p

Driver: Open source radeon driver for Ubuntu 9.04 jaunty

OpenGL vendor string: DRI R300 Project
OpenGL renderer string: Mesa DRI R300 20060815 AGP 1x x86/MMX/SSE2 TCL
OpenGL version string: 1.3 Mesa 7.4

Any idea why this seg fault happens? It happens with or without compiz enabled.

Adam Michael Roach's picture

This is probably an issue

This is probably an issue with your graphics card and/or drivers. What is your combination?

Adam Michael Roach

Anonymous's picture

Worked perfectly but had to

Worked perfectly but had to change my sound settings in ubuntu to use OSS Mixer instead of Alsa mixer

Anonymous's picture

Yes, me too. But anyway

Yes, me too. But anyway everythink ok! Thanks a lot!
Dean

Adam Michael Roach's picture

Thanks for the tip on your

Thanks for the tip on your setup.

Adam Michael Roach

Post new comment

  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • You can enable syntax highlighting of source code with the following tags: [bash], [drupal5], [drupal6], [javascript], [php], [python], [ruby].
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

More information about formatting options