This is an updated version from the original post Enemy Territory on Ubuntu 12.04 with sound.
Below are my notes on having sound running correctly on Linux Mint 17.
- Enemy Territory is installed, (if not in your home directory adjust the below with sudo to suit)
- You have a multi-arch system already setup
- Your current directory is that of the ET installation
Sound in Enemy Territory
- Enemy Territory looks for the sound device at /dev/dsp (OSS) when launching,
- Ubuntu uses PulseAudio.
- Pulse Audio provides a wrapper called ‘padsp’.
- Enemy Territory accesses the /dev/dsp device in a manner which the Pulse Audio wrapper does not support.
Some smart cookie (http://nullkey.kapsi.fi/et-sdl-sound/) has written a SDL wrapper for Enemy Territory pushing the audio through SDL in place of the default OSS/system PulseAudio.
Download the wrapper
$ wget -q -O - http://nullkey.kapsi.fi/et-sdl-sound/et-sdl-sound.gz | gzip -d > et-sdl-sound && chmod a+x et-sdl-sound
The above command line will download and unpack the et-sdl-sound script.
For the next part you will need to know the location of the game installation (if not default) and the location of your 32bit libSDL.so
To find your 32bit libSDL:
$ locate libSDL
My 32bit library was located at /usr/lib/i386-linux-gnu/libSDL-1.2.so.0
Edit the script
$ nano et-sdl-sound
Uncomment the LIBSDL line and edit it to include the location of your 32bit libSDL library
Save the file and execute the game with using the et-sdl-sound script in place of the standard executable
That’s it, Enemy Territory fired up with sound after the steps above were completed