1. Grab the latest Quake 4 binaries from ID Software. quake4-linux-1.4.2.x86.run.
2. Install, and copy the the baseq4 files from your original Windows CDs (or DVD) to /usr/local/games/quake4/base4q
3. When I tried to execute the binary like:
linux32 /usr/local/games/quake4/quake4-smp, I would get an error like this:
X..GL_EXT_texture_compression_s3tc not found
To fix this problem, the following was needed:
yum install driconf
Then, as the user who will be running the game, run:
driconf
and under Image Quality, enable S3TC textures. That did it for me.
4. My game still didn't have sound, so I had to edit ~/.quake4/q4base/Quake4Config.cfg and the the option from:
seta s_driver "best"
to
seta s_driver "oss"
And that worked.
5. As root, /sbin/modprobe snd_pcm_oss; chmod 777 /proc/asound/card0/pcm0p/oss
6. echo "quake4-smp.x86 0 0 direct" > /proc/asound/card0/pcm0p/oss && linux32 /usr/local/games/quake4/quake4-smp

0 comments:
Post a Comment