Archive for October, 2007
Get Sound Working For Quake-based Games
Sunday, October 7th, 2007Running games such as Quake III, Enemy Territory or Return To Castle Wolfenstein on Linux will sometimes fail to initialize sound. After modifying a generic fix for this problem I wrote this:
APP="${1}.x86"
echo "${APP} 0 0 disable" > /proc/asound/card0/pcm0c/oss
echo "${APP} 0 0 direct" > /proc/asound/card0/pcm0p/oss
echo "${APP} 0 0 disable" > /proc/asound/card0/pcm1c/oss
To use it, simply run the script with the game binary’s name as an argument:
# Fix sound for RTCW single player sh sound-fix.sh wolfsp
# Fix sound for Enemy Territory sh sound-fix.sh et

