Fixing Enemy Territory Lack of Sound - Linux

edited December 2014 in Software
If you run a modern version of Linux and install Wolfenstein Enemy Territory, you may find that you don't have any sound available.

This is the current workaround. (Must be run as root\sudo).
echo "et.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "et.x86 0 0 disable" > /proc/asound/card0/pcm0c/oss

Original Source

Comments

  • For people that want to avoid OSS here is a ALSA work around. This works in Debian, Ubuntu and even Arch Linux.

    Download this package and extract it into your ET directory.
    Update libsdl preferably to 1.2 and then create a simple startup script for ET.
    GAMEPATH="/opt/enemy-territory"  # you may have to change this
    
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:.
    export ETSDL_SDL_LIB="libSDL.so"
    export SDL_AUDIODRIVER="alsa"
    cd "$GAMEPATH"
    LD_PRELOAD="${LD_PRELOAD}:$GAMEPATH/et-sdl-sound.so" ./et.x86 $*
    


    You can also use aoss that uses both ALSA and OSS. However it can only use one source at a time, meaning you cant use teamspeak or what not at the same time as your running ET.

    just install AOSS via apt-get and then run the following to run ET.
    aoss et
    
    If it doesn't work try this one.
    aoss; sleep 1; et
    
Sign In or Register to comment.