Fix sound for Enemy Territory

A place where Linux Gamers can share their experience and help each other with Linux Games, native or emulated ;)

Moderator: Moderators

Fix sound for Enemy Territory

Postby joost » Thu Aug 21, 2008 20:34

et-sdl-sound (Run ET With ALSA)

There is an alpha hack which is around that makes Return To Castle Wolfenstein Enemy Territory play with ALSA by replacing standard sound system functions in runtime as aoss won't work for ET. I found this necessary when wanting to run TeamSpeak 2.XX at the same time.

It's located at http://nullkey.ath.cx/~stuff/et-sdl-sound/

Simply download the latest tarball http://nullkey.ath.cx/~stuff/et-sdl-sou ... und.tar.gz

1. Extract

2. Copy et-sdl-sound.so file to /opt/enemy-territory/

3. Open your favourite text editor and add the following lines and save as et_sdl_sound.sh:
Code: Select all
#!/bin/bash
export ETSDL_SDL_LIB="libSDL.so"
export SDL_AUDIODRIVER="alsa"
cd /opt/enemy-territory/
LD_PRELOAD="/opt/enemy-territory/et-sdl-sound.so" ./et.x86 $*


4.
Code: Select all
chmod +x et_sdl_sound.sh


5.
Code: Select all
./et_sdl_sound.sh


:D :D :D
User avatar
joost
Sagely Hen
 
Posts: 2332
Joined: Fri Nov 17, 2006 12:11
Location: The Netherlands

Re: Fix sound for Enemy Territory

Postby Thev00d00 » Fri Aug 22, 2008 11:07

Tut tut Joost, shouldnt this now be posted as a wiki article?
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom


Return to The Gamers Shed

Who is online

Users browsing this forum: No registered users and 1 guest