Friday, April 25, 2008

Where can I get the source code for Quake/QuakeWorld/Quake II so I
can compile it for PPC/Alpha/Gameboy/etc? ++
The source code for the Quake engines is the proprietary property of id Software. While there's a good
chance that id will release the source to Quake eventually like they did for Wolfenstein 3−D and Doom, they
have not done so yet. I don't have the source to Quake no matter how nicely you ask me for it.

Saturday, April 19, 2008

Use screen −r to re−attach to your previous screen process and access your servers again.
That's all there is to it. See the screen(1) man page for more detailed information.
How can I keep the mouse from leaving the window in X? ++
From the Quake II readme.linux file (this applies to all version of Quake):
By default, the mouse will not be 'tied' to the Quake2 window. To cause Quake2 to grab the
mouse, select 'Windowed Mouse' from the video menu, or type '_windowed_mouse 0' at the
console. Do the reverse to release it. You can bind keys to grab and release the mouse in the
console, like so: bind i "_windowed_mouse 1" bind o "_windowed_mouse 0" Then "i" will
grab the mouse and "o" will release it.
Linux Quake HOWTO
How can I start a server and log off, then come back to it later? 37
When I run Quake/QuakeWorld/Quake II under X, the image only takes
up half the window and/or the colors are all funny. ++
The X clients only support color depths of 8 and 16 bits per pixel. Your X server is probably running at 24 or
32 bpp. Change the default color depth to 16 bpp and this problem will go away.

Wednesday, April 09, 2008

Quake

Also, in Quake II version 3.20, the OpenGL function handling code was completely rewritten,
Linux Quake HOWTO
Sometimes when Quake/Quake II exits abnormally, it leaves my console unusable. 36
resulting in significant speedups.
Additionally, for Pentium Pro and Pentium II users, there are some tweaks than can be done with memory
buffering − the latest /dev/3dfx device driver has support for automatically setting this up for you.
Enabling MTRRs can result in significant (10 fps on my system) GL Quake speedups. See
http://glide.xxedgexx.com/MTRR.html for some more detailed information about this.
On a PPro/PII system with a Voodoo2, performance under Linux is now at least as fast as under Windows.
How can I start a server and log off, then come back to it later?
screen(1) is a great utility for this sort of thing. It allows you to create many virtual screens in one tty and
switch between them. Screen comes with most distributions. You can download it from
ftp://prep.ai.mit.edu/pub/gnu or any GNU mirror.
Start screen by typing the command screen, then create a new screen window by pressing CTRL−A
CTRL−C. You won't see much as you do these things, but be assured, something is happening.
Start a Quakeworld server:
/usr/local/games/quake/qwsv
Now open a new screen window with CTRL−A CTRL−C and start up a Quake II server:
/usr/local/games/quake2/quake2 +set dedicated 1
You can switch back and forth between your servers by pressing CTRL−A CTRL−N.
Press CTRL−A CTRL−D to detach from the screen program. Screen and your servers are still running, but
they're no longer visible in your terminal window. You can logoff now and your processes will continue to
run normally.

Labels:

Monday, April 07, 2008

squake/quake2 fails to start and says "svgalib: cannot get I/O
permissions"
The Quake executables must run as root when using the SVGAlib renderer, so you must either run them as
root or make them setuid root. See the installation instructions in this document for details.
Sometimes after playing one of the Quake games in X, key repeat
doesn't work any more.
For some reason, the X11 versions of Quake disable key repeat while they're running. If the program exits
abnormally for some reason, key repeat never get turned back on. Do
xset r on
to reenable it.
Quake/Quake II says "/dev/dsp : device not configured"
Your sound hardware is not properly configured. You may simply need to do a insmod sound, or it may
be necessary to rebuild your kernel. RedHat users may need to invoke the sndconfig(8) utility. See the
documentation for your Linux distribution and/or the Linux Sound HOWTO for information on configuring
your system's sound hardware.
GL Quake/Quake II run slower in Linux than in Windows. ++
The Windows 3Dfx GL miniport is heavily optimized for the things Quake II does. Mesa on the other hand,
is more general and less optimized As a result, Linux Quake II runs slower than under Windows. This isn't a
limitation of Linux, but a limitation of the current drivers.
With the most recent releases of QuakeWorld and Quake II, the 3Dfx miniport mentioned above is available
for Linux.

Wednesday, April 02, 2008

Quake

I have a Voodoo2, and when I try to run with the gl renderer it reports
that I don't have a Voodoo card installed.
There are different versions of Glide for Voodoo and Voodoo 2 cards. Be sure you downloaded the correct
one for your system.
When I'm playing any of the Quake games under SVGAlib or GL and
press CTRL−C, the game exits and sometimes leaves my console in an
unusable state.
Linux Quake HOWTO
My Microsoft Intellimouse or Logitech MouseMan+ isn't working correctly. 35
Sometimes when Quake/Quake II exits abnormally, it leaves my console
unusable.
Yes. This bites. SVGAlib catches the CTRL−C and decides what to do with it instead of allowing Quake to
handle it. I know of no way around this short of hacking SVGAlib.
If you run your Quake games from a script that resets the keyboard and terminal like the one below, you'll
run less chance of ending up with a hosed terminal if this does happen, though.
#!/bin/sh
./quake2 $*
kbd_mode −a
reset

Labels: