Click to See Complete Forum and Search --> : HOWTO run Quake OpenGL at 20fps


Icarus
06-26-2004, 06:18 PM
Thought I'd post this up here since I've been having lots of fun playing the original Quake with OpenGL and pixel-shaders. Check the screenshots at http://tenebrae.sourceforge.net/ for some drool worth screenshots

1) Install Tenebrae, through source, binary, emerge, apt-get...whatever
2) Ensure X is running in 24 bit mode
3) Get quake .pak file(s)
a) See notes for CD install of Quake (shareware version works).
Put these in /usr/share/games/quake-data/tenebrae/. Rename the Pak0.pak that cam
e with the Tenebrae emerge to a usable number, e.g. if you have Pak0.pak and Pak
1.pak from your quake CD, rename it to Pak2.pak.
4) Ensure you have a ~/.quake/tenebrae/ directory that is rw to your user.
5) Ensure you are a member of the 'games' group.
6) Run tenebrae and have fun!

And for getting the pesky .pak files from the CD, here's asummer of the Quake howto

1) Mount CDrom with Quake CD
2) Create a Quake directory and cd to it
mkdir /usr/local/games/quake
cd /usr/local/games/quake
3) There are two versions of the Quake CD available, one is the 1.01 version
which has two files called quake101.1 and quake101.2
cat these files into on file called resource.1
cat /mnt/cdrom/quake101.1 /mnt/cdrom/quake101.2 > resource.1

If there is a resource.1 file on the CD this is the 1.06 version and
we can skip right to #4

4) Extract the Quake files. The resource.1 file is a lha archive and can be
extracted with the following command
lha e /mnt/cdrom/resource.1

the only directory we need is the id1/

If the game is too dark when running in OpenGL, you need to change the systems
gamma to see better. About 1.5 is good, light enough to see but still dark
enough to be creepy! This only works with nvidia cards, anyone know how to do this with ATi please let me know!

You can make a script that can set the value as you launch so you don't need
to monkey around with it everytime

xgamma -gamma 1.5
tenebrae
xgamma -gamma 1