Posts Tagged ‘glquake’

Quake One

13, December 2009

Well it’s been a while since I’ve played this but I finally got it working in Ubuntu Karmic using glquake, the .pak files from my Quake One CD and a script using the info. from this thread at http://forum.eeeuser.com I created a folder called quake_one and within it another called id1, I then copied the .pak files from the CD to the id1 folder making sure their filenames were in lowercase. Then copied the glquake file to the quake_one folder. Now I created a script in my path called quake_one.sh with the following in it;

#!/bin/sh
## Update Permissions
sudo chmod 666 /proc/asound/card0/pcm0p/oss
sudo chmod 666 /proc/asound/card0/pcm0c/oss
echo “Permissions changed…”
## change to quake one directory ##
cd ~/quake_one
## redirect quake sound ##
sudo echo “glquake 0 0 direct” > /proc/asound/card0/pcm0p/oss
sudo echo “glquake 0 0 disable” > /proc/asound/card0/pcm0c/oss
## run quake one prog ##
./glquake

saved it to ~/binĀ  then made the script executable with;

chmod +x ~/bin/quake_one.sh

Now run quake_one.sh in a [Terminal] or create a launcher pointing to this script, all done.

Advertisements