ET under Linux
•
2 Oct 2007, 14:04
•
Tutorials
EDIT: Added "About ET & TS", "About ET & Vent" will follow!
This is my first tutorial, so constructive criticism is appreciated.
NOTE: Iam using ubuntu linux 7.04, so this tutorial should quite match to Debian, Kubuntu and the other ubuntu versions. About other linux distros i dont have a clue to be honest.
First of all, when i tired to get ET running under linux, i was far away from knowing everything about it.
Thats why i want to thank some people who helped me alot first:
PetriP-TNT, ng, quad, KAAZz, BL0B, Avalanche and t0b
So lets get started!
What are you going to learn in this tutorial?[/i]
1. General preparations under Windows (or any other O/S)
2. How to install ET properly
3. How to patch ET
4. How to install the punkbusterclient properly
5. Where to copy your config and how to get it running properly
6. How to configure your Mouse settings
7. About ET & TS
8. Additional links and information
1. General preparations under Windows (or any other O/S)[/i]
You should backup all your esential files (yarly!) such as your etconfig, your IRC Bouncer data, your teamspeak servers and so on.
Dont forget to backup also your etmain (maps & etkey) and etpro folders, so you dont have to download all the maps and etpro again after the linux installation.
The best way to store the data safely, is to just put it on an external device.
2. How to install ET properly
First of all download the ET installer: http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run
If the download is finished open a terminal and type in order:
The ET installer should start now, just follow the installation routine.
Now ET with the version 2.60 is installed, so we can go on to the next step.
3. How to patch ET
Download the patch 2.60b:
http://88.198.24.75/filebase/ET/Patches/ET-2.60b-linux.zip
Extract the archive.
Copy the two files in the linux folder (et & eted) to the directory where the ET executable has been installed to, which is in my case:
If an error message pops up, that tells you, that you dont have the permission to copy the files there do this:
Open a terminal and type:
A window will open, actually you are running the filebrowser as root.
Head over to and edit the preferences of that folder, so that you have full permissions over that folder with your normal user account.
Do the same with the following folder, you will understand later:
You will have to make hidden folders visible with ctrl + h
4. How to install the punkbusterclient properly
Open a terminal and type in order:
Follow the installation routine and your done.
5. Where to copy your config and how to get it running properly
All the important files used by ET are located in:
As we already edited the preferences for that folder, we only need to copy our config into the etmain or the etpro folder.
Ive experienced problems with some settings like picmip and binds on additional Mouse buttons (more info later in the text)
The problem was, that the r_picmip setting was "latched" at 3, but was actually on 1. Theres an easy solution for that:
Just delete the command r_lastvalidrenderer from all your configs (autoexec.cfg, etconfig in etmain, etmain/profiles/profilename etpro/profiles/profilename)
The connect to a server, type /exec autoexec.cfg and do a /vid_restart.
6. How to configure your Mouse settings
This is somewhat more difficult then the things above, since there are no driver user interfaces for most of the mice.
But dont worry, you can do it! xD
NOTE: I have a razer mouse, but it should pretty much work with otehr mice also.
First of all, open a terminal and type:
Head over to the folder
Theres a file called xorg.conf, open it.
Search for the line Section "Inputdevice" (Attention, there are 2 sections like that, be sure that u have found the one related to your Mouse, you will see which one it is.)
The copy the following lines:
Your whole xorg.conf file should look ~ like this now:
Then make a new file called Xmodmap (without any file extension) and add the following line to it:
Your Mouse should work properly now, maybe you have to bind some things new. In my case Mouse4 became Mouse5 e.g.
7. About ET & TS
Open your sound settings (double click on the icon next to the clock).
Then hit open Audio Control.
There you go for "File -> Change Device" Select ALSA mixer there.
Then open "Edit -> Preferences" and select everything.
Be sure the "Microphone" Amplifier in the "Playback" Tab is on the maximum and not muted.
Then head over to the "Recording" Tab and put the "Recording" Amplifier on the maximum and make sure theres nothing muted.
Go for the next tab, "Switch". Your configuration should look ~ like this:
http://img478.imageshack.us/my.php?image=bildschirmfotolautstrkeyg4.png
Important options are Mic capture and Mic boost
In the last tab, "options" make sure that at "Mic Select" Mic1 is selected.
Your Teamspeak Options (Settings -> Options) should look like this:
http://img510.imageshack.us/my.php?image=tssettingstr9.png
Now everyone should be able to hear you on TS.
And last but not least we need to fix the "No sound in ET while having TS running prob"
Open a terminal and type:
Then head over to the /etc directory in your filesystem. Then find the file "rc.local".
Open it and add the following lines:
Make sure that the two lines are above the "exit 0" line.
Now you can play ET with TS running at the same time!
8. Additional links and information
General info about ubuntu and everything related: http://ubuntuforums.org/index.php
Good site about linuxgames in general (german, though): http://www.holarse-linuxgaming.de/h2006/space/start
Minimizer for linux: http://hem.bredband.net/b400150/
About TS & Vent: www.google.com
I hope this tutorial was usefull for some people.
Any Questions? Pm me here on cf or in Quakenet.
Greetz GaRg
This is my first tutorial, so constructive criticism is appreciated.
NOTE: Iam using ubuntu linux 7.04, so this tutorial should quite match to Debian, Kubuntu and the other ubuntu versions. About other linux distros i dont have a clue to be honest.
First of all, when i tired to get ET running under linux, i was far away from knowing everything about it.
Thats why i want to thank some people who helped me alot first:
PetriP-TNT, ng, quad, KAAZz, BL0B, Avalanche and t0b
So lets get started!
What are you going to learn in this tutorial?[/i]
1. General preparations under Windows (or any other O/S)
2. How to install ET properly
3. How to patch ET
4. How to install the punkbusterclient properly
5. Where to copy your config and how to get it running properly
6. How to configure your Mouse settings
7. About ET & TS
8. Additional links and information
1. General preparations under Windows (or any other O/S)[/i]
You should backup all your esential files (yarly!) such as your etconfig, your IRC Bouncer data, your teamspeak servers and so on.
Dont forget to backup also your etmain (maps & etkey) and etpro folders, so you dont have to download all the maps and etpro again after the linux installation.
The best way to store the data safely, is to just put it on an external device.
2. How to install ET properly
First of all download the ET installer: http://ftp.games.skynet.be/pub/wolfenstein/et-linux-2.60.x86.run
If the download is finished open a terminal and type in order:
The ET installer should start now, just follow the installation routine.
Now ET with the version 2.60 is installed, so we can go on to the next step.
3. How to patch ET
Download the patch 2.60b:
http://88.198.24.75/filebase/ET/Patches/ET-2.60b-linux.zip
Extract the archive.
Copy the two files in the linux folder (et & eted) to the directory where the ET executable has been installed to, which is in my case:
If an error message pops up, that tells you, that you dont have the permission to copy the files there do this:
Open a terminal and type:
A window will open, actually you are running the filebrowser as root.
Head over to and edit the preferences of that folder, so that you have full permissions over that folder with your normal user account.
Do the same with the following folder, you will understand later:
You will have to make hidden folders visible with ctrl + h
4. How to install the punkbusterclient properly
Open a terminal and type in order:
Follow the installation routine and your done.
5. Where to copy your config and how to get it running properly
All the important files used by ET are located in:
As we already edited the preferences for that folder, we only need to copy our config into the etmain or the etpro folder.
Ive experienced problems with some settings like picmip and binds on additional Mouse buttons (more info later in the text)
The problem was, that the r_picmip setting was "latched" at 3, but was actually on 1. Theres an easy solution for that:
Just delete the command r_lastvalidrenderer from all your configs (autoexec.cfg, etconfig in etmain, etmain/profiles/profilename etpro/profiles/profilename)
The connect to a server, type /exec autoexec.cfg and do a /vid_restart.
6. How to configure your Mouse settings
This is somewhat more difficult then the things above, since there are no driver user interfaces for most of the mice.
But dont worry, you can do it! xD
NOTE: I have a razer mouse, but it should pretty much work with otehr mice also.
First of all, open a terminal and type:
Head over to the folder
Theres a file called xorg.conf, open it.
Search for the line Section "Inputdevice" (Attention, there are 2 sections like that, be sure that u have found the one related to your Mouse, you will see which one it is.)
The copy the following lines:
Your whole xorg.conf file should look ~ like this now:
Then make a new file called Xmodmap (without any file extension) and add the following line to it:
Your Mouse should work properly now, maybe you have to bind some things new. In my case Mouse4 became Mouse5 e.g.
7. About ET & TS
Open your sound settings (double click on the icon next to the clock).
Then hit open Audio Control.
There you go for "File -> Change Device" Select ALSA mixer there.
Then open "Edit -> Preferences" and select everything.
Be sure the "Microphone" Amplifier in the "Playback" Tab is on the maximum and not muted.
Then head over to the "Recording" Tab and put the "Recording" Amplifier on the maximum and make sure theres nothing muted.
Go for the next tab, "Switch". Your configuration should look ~ like this:
http://img478.imageshack.us/my.php?image=bildschirmfotolautstrkeyg4.png
Important options are Mic capture and Mic boost
In the last tab, "options" make sure that at "Mic Select" Mic1 is selected.
Your Teamspeak Options (Settings -> Options) should look like this:
http://img510.imageshack.us/my.php?image=tssettingstr9.png
Now everyone should be able to hear you on TS.
And last but not least we need to fix the "No sound in ET while having TS running prob"
Open a terminal and type:
Then head over to the /etc directory in your filesystem. Then find the file "rc.local".
Open it and add the following lines:
Make sure that the two lines are above the "exit 0" line.
Now you can play ET with TS running at the same time!
8. Additional links and information
General info about ubuntu and everything related: http://ubuntuforums.org/index.php
Good site about linuxgames in general (german, though): http://www.holarse-linuxgaming.de/h2006/space/start
Minimizer for linux: http://hem.bredband.net/b400150/
About TS & Vent: www.google.com
I hope this tutorial was usefull for some people.
Any Questions? Pm me here on cf or in Quakenet.
Greetz GaRg
started
put "sudo" on front of all commands in terminal
su <yourrootpw>
then all cmds u want without always typing sudo
sudo apt-get install libgtk1.2
then download game whit wget
wget -c ftp://ftp.peliplaneetta.net/pelidemot/3d-raiskinta-toiminta/et-linux-2.60.x86.run
then start install
sudo sh et-linux-2.60.x86.run (NOTE) if u are running 64bit distro u need linux32 and ia32-libs or something like that ;)
now get patches
wget -c ftp://ftp.ulyssis.org/games/et/download/lin/et2.60blinux.zip
sudo unzip -oj et2.60blinux.zip *.x86 -d
/usr/local/games/enemy-territory
maybe u need this sudo chown -R $USER:$USER ~/.etwolf
get sounds work
sudo sh -c "echo 'et.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss"
sudo sh -c "echo 'et.x86 0 0 disable' > /proc/asound/card0/pcm0c/oss"
wget http://websec.evenbalance.com/downloads/linux/pbsetup.run
chmod a+x pbsetup.run && ./pbsetup.run
works debian and ubuntu !*!
sudo sh -c "echo 'et.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss"
sudo sh -c "echo 'et.x86 0 0 disable' > /proc/asound/card0/pcm0c/oss"
Still go no sound in ET after that =(
I give you all the cookies in the world if you can help me <3
After heaps of threads I had no luck.
I updated gstreamer and installed polypaudio and it worked o/
alsamixer, and check that main is not MM
gksudo echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
killall esd
et
esd
exit 0
Complete script
OR
sudo -i
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss
exit
for terminal (without running et, run manually :))
Gonna google to fix it i think :o
No problems in TS or even playing music , so i wonder why ET sound is fucked up
Even worse than under vista
And mouse scrol is set to go back in IE and firefox now :/
Ill google some more ;)
Did you follow the tutorial for that point?
If so ask PetriP-TNT on IRC, i think he has the same problem.
:)
Google on it but ive never found a complete "hot2do"
Thank you verry much now i can play with Ts and ET ;D
Ive bin playing scrims without ts for about 2 months
quite anoying...
et-linux-2.60.x86.run must be at /home/user_name/
otherwise u cant do: sh ./et-linux-2.60.x86.run
terminal error message: sh: Can't open ./et-linux-2.60.x86.run no such file or /dictory
:)
halp
1. Don't recommend people to run "sudo nautilus". Do
"sudo cp etded et /usr/local/bin".
However, at least on my system the "et" and "etded" in /usr/local/bin are just wrapper scripts for the REAL executables, and overwriting this would fuck up things pretty nicely.
Therefore, run "sudo cp etded et /usr/local/games/enemy-territory/" instead, that would be the correct way to do it, assuming you installed ET in "/usr/local/games/enemy-territory/".
Running nautilus as root just doesn't sound like a smart thing to do, ESPECIALLY not when you don't know what you're doing.
2. Just in case you installed the .etwolf-stuff as root, do a
"sudo chown -R `id -un`:`id -gn` $HOME/.etwolf".
3. When using sudo you don't have to enter the root password, but the USER password (at least on debian). Sudo is made as a tool to let the administrator give certain users allowance to run certain commands as root without telling them the password. "su" on the other hand requires the root password.
nice tutorial!
i like the et-sdl solution.
Changing USB refresh rate (simple way):
echo X > /sys/modules/usbhid/parameters/mousepoll
(not sure if it is correct, i'm not in linux at the moment, but the using tab for auto complete should do the job :))
X is mousepoll, integer 1, 2, 4, 8. Guess 1 is 1ms (1000hz) and so on.
After re-plug your mouse or rerun module usbhid (modprobe usbhid)
Also you need to mention this ET cvar: in_dgamouse 1 is accelerated, and 2 is not (in_dgamouse 2) accelerated input. Should fix the sensitivity ;)
In response to your reply I had, I use OSS4 now which fixes everything sound related {:
lol