6.5 Using lib3dfxgl.so for Quake I
You can use the 3Dfx mini−driver (lib3dfxgl.so) from Quakeworld or Quake II with glquake too.
Simply copy the glqwcl.3dfxgl or quake2.3dfxgl scripts to a new file, say glquake.3dfxgl.
Then edit the glquake.3dfxgl script so it runs glquake instead of glqwcl. The same restrictions
about running as root apply here, as do the differences between running under glibc and libc5. See the
Quakeworld or Quake II sections for more information on lib3dfxgl.so.
6.6 Getting rid of that annoying "POSSIBLE SCAN CODE
ERROR 57" message in GLQuake. ++
If you're sick of seeing that useless message every time you press the space bar in GLQuake, execute the
following command from your quake directory and you'll never have to deal with it again. This little piece of
Perl code just replaces the first character of the message with a null character, which signifies the end of a
string in C programs. Now when GLQuake thinks it needs to tell us about a possible scan code error, it
outputs an empty string instead! Oh, and your original glquake binary gets automatically backed up to
glquake.bak too.
perl −i.bak −0777pe 's/P(ossible unknown scancode)/\0$1/g' glquake
Thanks to Andrew Chase ( fixy@fixy.org) for this.
7. Administrivia
7.1 New Versions of This Document
New versions of this document will be periodically posted to comp.os.linux.answers and
rec.games.computer.quake.misc. They will also be uploaded to various WWW and FTP sites, including the
LDP home page.
New versions of this document will be periodically posted to rec.games.computer.quake.misc and
comp.os.linux.misc.
The latest version of the Linux Quake HOWTO can always be found at the following sites:
http://www.linuxquake.com/ •
http://webpages.mr.net/bobz/ •
http://www.linuxgames.com/quake •
You can use the 3Dfx mini−driver (lib3dfxgl.so) from Quakeworld or Quake II with glquake too.
Simply copy the glqwcl.3dfxgl or quake2.3dfxgl scripts to a new file, say glquake.3dfxgl.
Then edit the glquake.3dfxgl script so it runs glquake instead of glqwcl. The same restrictions
about running as root apply here, as do the differences between running under glibc and libc5. See the
Quakeworld or Quake II sections for more information on lib3dfxgl.so.
6.6 Getting rid of that annoying "POSSIBLE SCAN CODE
ERROR 57" message in GLQuake. ++
If you're sick of seeing that useless message every time you press the space bar in GLQuake, execute the
following command from your quake directory and you'll never have to deal with it again. This little piece of
Perl code just replaces the first character of the message with a null character, which signifies the end of a
string in C programs. Now when GLQuake thinks it needs to tell us about a possible scan code error, it
outputs an empty string instead! Oh, and your original glquake binary gets automatically backed up to
glquake.bak too.
perl −i.bak −0777pe 's/P(ossible unknown scancode)/\0$1/g' glquake
Thanks to Andrew Chase ( fixy@fixy.org) for this.
7. Administrivia
7.1 New Versions of This Document
New versions of this document will be periodically posted to comp.os.linux.answers and
rec.games.computer.quake.misc. They will also be uploaded to various WWW and FTP sites, including the
LDP home page.
New versions of this document will be periodically posted to rec.games.computer.quake.misc and
comp.os.linux.misc.
The latest version of the Linux Quake HOWTO can always be found at the following sites:
http://www.linuxquake.com/ •
http://webpages.mr.net/bobz/ •
http://www.linuxgames.com/quake •
<< Home