Tuesday, October 23, 2007

SVGAlib Quake

Both squake and glquake require SVGAlib to run (glquake uses SVGAlib to process keyboard and mouse
input, in case you're wondering). SVGAlib comes with most modern Linux distributions, and must be
properly configured before squake or glquake will run correctly.
Linux Quake HOWTO
2.4 Setting Permissions 9
libvga.config is SVGAlib's configuration file. On most systems you'll find it in either /etc or
/etc/vga. Make sure the mouse, monitor, and video card settings in this file are correct for your system.
See the SVGAlib documentation for more details.
If you don't already have SVGAlib on your system, download it from the location mentioned in the files
section above.
If you have a RedHat 5.x or other glibc−based Linux distribution, see Glibc, RedHat 5.x, Debian 2
considerations in the Troubleshooting/FAQs section for important information about compiling libraries for
use with Quake. A precompiled libc5 SVGAlib binary is available at
http://sunsite.unc.edu/pub/Linux/libs/graphics/svgalib−1.3.0.libc5.bin.tar.gz for those who don't want to deal
with the hassle of compiling for libc5.
You should run squake from a virtual console. It won't run from X unless you're root when you start it. And
running a game as the root user is something that should be avoided. So if you're in X, do a CTRL+ALT+F1,
login and then:
cd /usr/local/games/quake
./squake
Running SVGA and GL games from X in the Tips & Tricks section below explains how to launch SVGA and
GL Quake from X without manually switching to a virtual console.

Labels: