Archive for October, 2007

Interesting Photos Taken in Paris

Sunday, October 14th, 2007

A close friend of mine recently visited Paris, France equipped with his brand new Nikon D40.

Get Sound Working For Quake-based Games

Sunday, October 7th, 2007

Running 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