[HowTo] install ET on Ubuntu Linux Guide
76 posts
• Page 1 of 4 • 1, 2, 3, 4
- GoldenBullet
- Posts: 2923
- Joined: Mon May 01, 2006 0:00
- Location: Finland
[HowTo] install ET on Ubuntu Linux Guide
Edit: I no longer use Ubuntu and haven't checked if this works or not anymore. Therefore this guide might be outdated.
If you are thinking about changing your windows to Linux Ubuntu or already have, but haven't managed to install ET yet, here is the guide.
---------------------------------------------------------------------------------------------------------------------------------
-Installing-
1.Open your terminal
2. type: wget -c http://www.prime-squadron.com/final/dow ... 60.x86.run
3. The ET installation file is now downloading to ur PC. Wait until its loaded.
4. When the installation file has been loaded, type: sudo sh et-linux-2.60.x86.run
(if it asks password, type the password U have when U log in or root password. Depends are you root or not)
5. After some secs a installation starts. Now read carefully what you must select on each time.
6. Accept the licence(s).
7. Now DON'T install menu entries
8. Accept licenses and start the installation (Dont change the directory of the ET. Install it to primary directory, what it says.)
9. When installation is complete, it says "Installation complete! Would you like to start now?" Say No. Otherwise you must fix the right on ur PC. Hopefully not.
10. You have installed ET.
---------------------------------------------------------------------------------------------------------------------------------
-Upgrading to 2.60b-
This is a very fast and simple way to upgrade your ET to 2.60b
1. Open terminal
2. type: wget -c http://www.prime-squadron.com/final/dow ... -linux.zip
3. After file has loaded, type: sudo unzip -oj et2.60blinux.zip *.x86 -d /usr/local/games/enemy-territory
4. And you're done!
---------------------------------------------------------------------------------------------------------------------------------
-Menu entry-
Now you can add ET to your menu entry. It means you can then execute it from up-left corner from "Games".
1. Open terminal and type: sudo gedit /usr/share/applications/et.desktop
2. Now delete all from that file (if there is) and copy paste this:
[Desktop Entry]
Encoding=UTF-8
Name=Wolfenstein: Enemy Territory
Comment=Second World War multiplayer shooting game
Comment[fi]=Toiseen maailmansotaan sijoittuva verkkoräiskintä
Exec=/usr/local/games/enemy-territory/et
Icon=/usr/local/games/enemy-territory/ET.xpm
Terminal=false
Type=Application
Categories=Application;Game;ActionGame
3. Save and exit.
---------------------------------------------------------------------------------------------------------------------------------
-Deleting ET and/or deleting installation files-
If you want to uninstall ET, or the installation files, heres how do it.
DELETING ET
1. Open terminal and type: sudo rm -rf /usr/local/{games/enemy-territory,bin/et{,ded}} /usr/share/applications/et.desktop
2. If you want to delete ALL files of ET like maps etc, type: rm -rf ~/.etwolf
DELETING INSTALLATION FILES
1.Open terminal
2.To remove installation file for ET, type: rm et-linux-2.60.x86.run
3. To remove 2.60b pack, type: rm et2.60blinux.zip
---------------------------------------------------------------------------------------------------------------------------------
-Fixing sounds-
If you cannot hear any playing sounds from ET, try this.
1. Open terminal and type (dont ype a) or b). Those are 2 different commands):
a) sudo sh -c "echo 'et.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss"
b)sudo sh -c "echo 'et.x86 0 0 disable' > /proc/asound/card0/pcm0c/oss"
2. Try ET now.
3. If that worked, put those commands in permanent use. Type: sudo gedit /etc/rc.local
4. Add those two commands BEFORE last line, exit 0.
5. Save and exit.
For alternative way, scroll down for Spyhawk's post.
---------------------------------------------------------------------------------------------------------------------------------
-Retrieving ETkey-
If you have a backup from ur ETkey on a disc, heres how you put it back in use.
1. Go to your homedirectory
2. Press ctrl + h
3. Invisible directories should now be seen. Now find .etwolf
4. Go to ETmain directory and put the key there.
You have now your old ETkey in right directory, and you should have all your levels back, unless you haven't played for a long time and they have been erased for some another reason. Consult your nearest High admin in this case
---------------------------------------------------------------------------------------------------------------------------------
-Maps-
You will automatically load maps from server with right settings, but manually you do it like this:
1. Download map you want to play from net. Possibly unzip it if its in .zip file
2. Go to the .etwolf directory (look above to see where it is)
3. Move your map to the ETmain directory where every other map is. Just like in windows!
---------------------------------------------------------------------------------------------------------------------------------
-PB updating-
One way to update pb. This is via pbweb. This works if you have Violation "game integrity" #20006 or something like that.
1. Open console
2. Now type: chmod +x /folder_to_et/pb/pbweb.x86 (usually the ET folder is in /usr/local/games/enemy-territory)
3. Now execute pbweb. type: cd /folder_to_et/pb/
After that type: ./pbweb.x86
4. PB is now updating! Wait until it has ended. May take few minutes.
5. If this didnt work and U still get kicked for violation game integrity, open ET console, Alt gr + ' (in other words *) AND type: /pb_security 0
6. If it worked, put pb_security 0 to ur autoexec.cfg
.........................................................................
Alternative PB updating
1. Open console and type: wget http://websec.evenbalance.com/downloads ... bsetup.run
2. After loaded, type: sudo chmod a+x pbsetup.run && ./pbsetup.run
-> If the program wont execute, U are probably missing an important
thingie. MOVE TO NEXT STEP, IF IT DID EXECUTE!
2.1) type (in console): sudo apt-get install upx-ucl
2.2) After loaded and installed, type: sudo upx -d pbsetup.run && ./pbsetup.run
3. Accept all licenses
4. Press "Add game" and choose ET.
5. Press "Check for updates"
6. You should be now able to play on PB servers. Also, try pb_security 0 for just in case!
---------------------------------------------------------------------------------------------------------------------------------
-Making ET sounds and music work at the same time-
The problem is that ET uses OSS and your music uses ALSA. Solution: Make ET use ALSA. I didnt have this problem in the past, but for some reason I do now.
1. Follow instructions in this thread: http://ubuntuforums.org/showthread.php?t=362231
1.a: Download the lib
1.b: Download the file
2. Open the file you just downloaded (most probably in your home directory) with a texteditor.
3. Find and replace # GAME_PATH=" " to GAME_PATH="path_to_your_ET_folder"
-> For exsample: GAME_PATH="/home/ETplayer/enemy-territory"
4. Run ET with command ./et-sdl-sound in your console
---------------------------------------------------------------------------------------------------------------------------------
This should work.
Hope that helped ya!
If you are thinking about changing your windows to Linux Ubuntu or already have, but haven't managed to install ET yet, here is the guide.
---------------------------------------------------------------------------------------------------------------------------------
-Installing-
1.Open your terminal
2. type: wget -c http://www.prime-squadron.com/final/dow ... 60.x86.run
3. The ET installation file is now downloading to ur PC. Wait until its loaded.
4. When the installation file has been loaded, type: sudo sh et-linux-2.60.x86.run
(if it asks password, type the password U have when U log in or root password. Depends are you root or not)
5. After some secs a installation starts. Now read carefully what you must select on each time.
6. Accept the licence(s).
7. Now DON'T install menu entries
8. Accept licenses and start the installation (Dont change the directory of the ET. Install it to primary directory, what it says.)
9. When installation is complete, it says "Installation complete! Would you like to start now?" Say No. Otherwise you must fix the right on ur PC. Hopefully not.
10. You have installed ET.
---------------------------------------------------------------------------------------------------------------------------------
-Upgrading to 2.60b-
This is a very fast and simple way to upgrade your ET to 2.60b
1. Open terminal
2. type: wget -c http://www.prime-squadron.com/final/dow ... -linux.zip
3. After file has loaded, type: sudo unzip -oj et2.60blinux.zip *.x86 -d /usr/local/games/enemy-territory
4. And you're done!
---------------------------------------------------------------------------------------------------------------------------------
-Menu entry-
Now you can add ET to your menu entry. It means you can then execute it from up-left corner from "Games".
1. Open terminal and type: sudo gedit /usr/share/applications/et.desktop
2. Now delete all from that file (if there is) and copy paste this:
[Desktop Entry]
Encoding=UTF-8
Name=Wolfenstein: Enemy Territory
Comment=Second World War multiplayer shooting game
Comment[fi]=Toiseen maailmansotaan sijoittuva verkkoräiskintä
Exec=/usr/local/games/enemy-territory/et
Icon=/usr/local/games/enemy-territory/ET.xpm
Terminal=false
Type=Application
Categories=Application;Game;ActionGame
3. Save and exit.
---------------------------------------------------------------------------------------------------------------------------------
-Deleting ET and/or deleting installation files-
If you want to uninstall ET, or the installation files, heres how do it.
DELETING ET
1. Open terminal and type: sudo rm -rf /usr/local/{games/enemy-territory,bin/et{,ded}} /usr/share/applications/et.desktop
2. If you want to delete ALL files of ET like maps etc, type: rm -rf ~/.etwolf
DELETING INSTALLATION FILES
1.Open terminal
2.To remove installation file for ET, type: rm et-linux-2.60.x86.run
3. To remove 2.60b pack, type: rm et2.60blinux.zip
---------------------------------------------------------------------------------------------------------------------------------
-Fixing sounds-
If you cannot hear any playing sounds from ET, try this.
1. Open terminal and type (dont ype a) or b). Those are 2 different commands):
a) sudo sh -c "echo 'et.x86 0 0 direct' > /proc/asound/card0/pcm0p/oss"
b)sudo sh -c "echo 'et.x86 0 0 disable' > /proc/asound/card0/pcm0c/oss"
2. Try ET now.
3. If that worked, put those commands in permanent use. Type: sudo gedit /etc/rc.local
4. Add those two commands BEFORE last line, exit 0.
5. Save and exit.
For alternative way, scroll down for Spyhawk's post.
---------------------------------------------------------------------------------------------------------------------------------
-Retrieving ETkey-
If you have a backup from ur ETkey on a disc, heres how you put it back in use.
1. Go to your homedirectory
2. Press ctrl + h
3. Invisible directories should now be seen. Now find .etwolf
4. Go to ETmain directory and put the key there.
You have now your old ETkey in right directory, and you should have all your levels back, unless you haven't played for a long time and they have been erased for some another reason. Consult your nearest High admin in this case
---------------------------------------------------------------------------------------------------------------------------------
-Maps-
You will automatically load maps from server with right settings, but manually you do it like this:
1. Download map you want to play from net. Possibly unzip it if its in .zip file
2. Go to the .etwolf directory (look above to see where it is)
3. Move your map to the ETmain directory where every other map is. Just like in windows!
---------------------------------------------------------------------------------------------------------------------------------
-PB updating-
One way to update pb. This is via pbweb. This works if you have Violation "game integrity" #20006 or something like that.
1. Open console
2. Now type: chmod +x /folder_to_et/pb/pbweb.x86 (usually the ET folder is in /usr/local/games/enemy-territory)
3. Now execute pbweb. type: cd /folder_to_et/pb/
After that type: ./pbweb.x86
4. PB is now updating! Wait until it has ended. May take few minutes.
5. If this didnt work and U still get kicked for violation game integrity, open ET console, Alt gr + ' (in other words *) AND type: /pb_security 0
6. If it worked, put pb_security 0 to ur autoexec.cfg
.........................................................................
Alternative PB updating
1. Open console and type: wget http://websec.evenbalance.com/downloads ... bsetup.run
2. After loaded, type: sudo chmod a+x pbsetup.run && ./pbsetup.run
-> If the program wont execute, U are probably missing an important
thingie. MOVE TO NEXT STEP, IF IT DID EXECUTE!
2.1) type (in console): sudo apt-get install upx-ucl
2.2) After loaded and installed, type: sudo upx -d pbsetup.run && ./pbsetup.run
3. Accept all licenses
4. Press "Add game" and choose ET.
5. Press "Check for updates"
6. You should be now able to play on PB servers. Also, try pb_security 0 for just in case!
---------------------------------------------------------------------------------------------------------------------------------
-Making ET sounds and music work at the same time-
The problem is that ET uses OSS and your music uses ALSA. Solution: Make ET use ALSA. I didnt have this problem in the past, but for some reason I do now.
1. Follow instructions in this thread: http://ubuntuforums.org/showthread.php?t=362231
1.a: Download the lib
1.b: Download the file
2. Open the file you just downloaded (most probably in your home directory) with a texteditor.
3. Find and replace # GAME_PATH=" " to GAME_PATH="path_to_your_ET_folder"
-> For exsample: GAME_PATH="/home/ETplayer/enemy-territory"
4. Run ET with command ./et-sdl-sound in your console
---------------------------------------------------------------------------------------------------------------------------------
This should work.
Hope that helped ya!
Last edited by GoldenBullet on Thu May 31, 2012 19:31, edited 21 times in total.
I think we need to add this on the FAQ (or maybe write a special FAQ for Linux, with all tip and trick, like sound through SDL library which is better as the "echo /proc/asound/.." tip - You can also play Amarok and have ET sound in the same time - , ETminimizer under Linux, ...).
I can write install guide for openSUSE too (which is applicable to all RPM distribution I think)
I can write install guide for openSUSE too (which is applicable to all RPM distribution I think)
- GoldenBullet
- Posts: 2923
- Joined: Mon May 01, 2006 0:00
- Location: Finland
-Update-
Added Xfire installation to Gaim.
-Update-
Added PB updating
-Fix-
PB update fixed
Added Xfire installation to Gaim.
-Update-
Added PB updating
-Fix-
PB update fixed
Last edited by GoldenBullet on Sat Jul 14, 2007 19:29, edited 1 time in total.
- GoldenBullet
- Posts: 2923
- Joined: Mon May 01, 2006 0:00
- Location: Finland
Yep, Linux is harder to understand. At start I hated it.
Also U cant play windows games on it, such as Civilization 4, Battlefield 2 or many other new games. Also some programs dont work.
But there are other pluses: Nice graphics, Linux games, easy pack-loading system, free editors etc. And good console becides, U can install it between windows, so u have linux AND windows. If U install linux, then windows, windows formats linux (stupid fat microsoft)...
Also U cant play windows games on it, such as Civilization 4, Battlefield 2 or many other new games. Also some programs dont work.
But there are other pluses: Nice graphics, Linux games, easy pack-loading system, free editors etc. And good console becides, U can install it between windows, so u have linux AND windows. If U install linux, then windows, windows formats linux (stupid fat microsoft)...
- GoldenBullet
- Posts: 2923
- Joined: Mon May 01, 2006 0:00
- Location: Finland
Moderator should put those tw posts in one, or rukkanen himself..
If theres any questions, I try answer them if I can.
If theres any questions, I try answer them if I can.
Something _really really_ better for sound fix : et-sdl-sound !
"et-sdl-sound provides SDL-based replacement for standard OSS sound system of Enemy Territory. To put it short, et-sdl-sound is a working ALSA support hack for ET.
Since the source code of ET is not public and modifying binary directly makes game unplayable, this is accomplished via replacing standard sound system functions in runtime."
In other word : This allow ET to work as any "modern" application, and you can even use your favorite media player when you play ET (Amarok, VLC, Rhythmbox, ..).
How to install it ?
-----------------
1/ D/L http://nullkey.ath.cx/~stuff/et-sdl-sou ... und.tar.gz
2/ Extract the et-sdl-sound.so file, and place it in /usr/local/enemy-territory/et-sdl-sound.so (for example)
3/ In your ~/bin directory, create a "etstart" file, which content is :
#!/bin/bash
export ETSDL_SDL_LIB="libSDL_sound.so"
cd /usr/local/games/enemy-territory/
LD_PRELOAD="/usr/local/games/enemy-territory/et-sdl-sound.so" ./et.x86 +set fs_game noquarter $*
Replace "noquarter" with the name of your favorite mod (etpub, etpro, jaymod). Be sure both path are correct.
4/ Change right for this new created file (as simple user) : $ chmod 755 etstart
now, start ET : $ etstart
5/ Enjoy
The .so file is know to work with many distribution (Ubuntu, openSUSE, ...). If not, you can still compile the source you just d/l in the .tar.gz.
"et-sdl-sound provides SDL-based replacement for standard OSS sound system of Enemy Territory. To put it short, et-sdl-sound is a working ALSA support hack for ET.
Since the source code of ET is not public and modifying binary directly makes game unplayable, this is accomplished via replacing standard sound system functions in runtime."
In other word : This allow ET to work as any "modern" application, and you can even use your favorite media player when you play ET (Amarok, VLC, Rhythmbox, ..).
How to install it ?
-----------------
1/ D/L http://nullkey.ath.cx/~stuff/et-sdl-sou ... und.tar.gz
2/ Extract the et-sdl-sound.so file, and place it in /usr/local/enemy-territory/et-sdl-sound.so (for example)
3/ In your ~/bin directory, create a "etstart" file, which content is :
#!/bin/bash
export ETSDL_SDL_LIB="libSDL_sound.so"
cd /usr/local/games/enemy-territory/
LD_PRELOAD="/usr/local/games/enemy-territory/et-sdl-sound.so" ./et.x86 +set fs_game noquarter $*
Replace "noquarter" with the name of your favorite mod (etpub, etpro, jaymod). Be sure both path are correct.
4/ Change right for this new created file (as simple user) : $ chmod 755 etstart
now, start ET : $ etstart
5/ Enjoy
The .so file is know to work with many distribution (Ubuntu, openSUSE, ...). If not, you can still compile the source you just d/l in the .tar.gz.
Last edited by Spyhawk on Sun Oct 21, 2007 19:26, edited 1 time in total.
I guess the ATI / linux drivers are still not on par with those for windows. I get about 25% less FPS on all maps when running ET from linux which is really annoying since it gets so choppy at times whereas on windows it never drops below 30 FPS
"If my answers frighten you then you should cease asking scary questions." - Jules Winnfield.
It seems that the lastes driver is 7.11 (released 21 november). Ati change numbering style to have same number with Win driver (so 7.11 is newer than 8.42.3). You can see the release note for this driver here : http://www2.ati.com/drivers/linux/catal ... linux.html
Other thing : I'm not sure running AIGLX (compiz-fusion / beryl enabled) with 3D accelerated apps is good... If you have such thing enabled, disable it !
Other thing : I'm not sure running AIGLX (compiz-fusion / beryl enabled) with 3D accelerated apps is good... If you have such thing enabled, disable it !
All of the eye candy is obviously not running as even that makes firefox scroll very slowly on some pages (mainly pages with flash)
EDIT: I get same results with cat 7.11. Guess I"ll leave gaming for xp then.
EDIT: I get same results with cat 7.11. Guess I"ll leave gaming for xp then.
"If my answers frighten you then you should cease asking scary questions." - Jules Winnfield.
- GoldenBullet
- Posts: 2923
- Joined: Mon May 01, 2006 0:00
- Location: Finland
Xfire Installations
Xfire installation on Gutsy Gibbon HOWTO
-----------------------------------------------------
This installation adds Xfire to ur Pidgin multimessenger. This installation WONT work for feisty fawn! See below the instructions:
1) Download the file from here: http://gfire.sourceforge.net/snapshots/ ... 1_i386.deb
2) Execute the program and unpack it. Agree everything it says.
3) Xfire is now installed. If U are running pidgin right now, restart it.
4) Now go to the user thingy and make new one. Now choose Xfire from the list and fill in needed information.
/end
....................................................................................
Seems U need the Xfire installation to feisty, lets make it.
How install Xfire on feisty fawn
-----------------------------------------------------
This installation adds Xfire to ur gaim. This installation doesnt work for gutsy gibbon!
1) Download the file http://gfire.sourceforge.net/snapshots/ ... 1_i386.deb
2) Extract (nothing special. Just press the button and agree everything)
3) Xfire installed. Now restart gaim if it was on and add ur Xfire account to the list just like MSN or IRC.
If U dont know where gaim is, look up-left corner, press the first button, choose internet and program named "gaim" If its ur first time, there should be info how add and stuff.
There U have it! As simple as that.
Edit: Just noticed that was my 880 post
-----------------------------------------------------
This installation adds Xfire to ur Pidgin multimessenger. This installation WONT work for feisty fawn! See below the instructions:
1) Download the file from here: http://gfire.sourceforge.net/snapshots/ ... 1_i386.deb
2) Execute the program and unpack it. Agree everything it says.
3) Xfire is now installed. If U are running pidgin right now, restart it.
4) Now go to the user thingy and make new one. Now choose Xfire from the list and fill in needed information.
/end
....................................................................................
Seems U need the Xfire installation to feisty, lets make it.
How install Xfire on feisty fawn
-----------------------------------------------------
This installation adds Xfire to ur gaim. This installation doesnt work for gutsy gibbon!
1) Download the file http://gfire.sourceforge.net/snapshots/ ... 1_i386.deb
2) Extract (nothing special. Just press the button and agree everything)
3) Xfire installed. Now restart gaim if it was on and add ur Xfire account to the list just like MSN or IRC.
If U dont know where gaim is, look up-left corner, press the first button, choose internet and program named "gaim" If its ur first time, there should be info how add and stuff.
There U have it! As simple as that.
Edit: Just noticed that was my 880 post
Last edited by GoldenBullet on Sun Jan 13, 2008 11:46, edited 2 times in total.
Hm a quick question (sorry, it's completely offtopic i know, but I don't think it deserves a new thread :S ):
Which software can I use to record (or maybe convert?) my demos in ubuntu?
(i had something like xrecord in gentoo but it couldn't capture OpenGL stuff + it didn't have a sound recorder :\ )
Thx in advance
Which software can I use to record (or maybe convert?) my demos in ubuntu?
(i had something like xrecord in gentoo but it couldn't capture OpenGL stuff + it didn't have a sound recorder :\ )
Thx in advance
- GoldenBullet
- Posts: 2923
- Joined: Mon May 01, 2006 0:00
- Location: Finland
I suggest U to move ur demos to windows and modify them there, coz I have no foggest idea how do it in Linux
I can try to search for an option thou. Ill look.
I can try to search for an option thou. Ill look.
76 posts
• Page 1 of 4 • 1, 2, 3, 4
Who is online
Users browsing this forum: No registered users and 8 guests