Thursday, March 27, 2008

Quake

•
My Microsoft Intellimouse or Logitech MouseMan+ isn't working
correctly.
SVGAlib, which handles mouse input for SVGA and GL Quake/QW/Q2, didn't directly support the
Intellimouse until version 1.3.0. If you have a version of SVGAlib prior to 1.3.0, you should upgrade, then
use mouse type IntelliMouse (for serial mice) or IMPS2 (for PS/2 mice) in your
libvga.config file.
My mouse is "laggy" and seems much slower than under Windows.
For many people, just cranking up the value of sensitivity in the game console cures the
problem. Setting sensitivity by hand in the console or in a .cfg file allows you to increase the
mouse sensitivity more than the slider in the Options menu allows. sensitivity 15, for
example.
•
From Zoid's 1/7/98 .plan update:
If you are experience video 'lag' in the GL renderer (the frame rate feels like it's
lagging behind your mouse movement) type "gl_finish 1" in the console. This forces
update on a per frame basis.
•
The latest version of SVGAlib (1.3.0) provides a slew of parameters in libvga.config that you
can use to customize the behavior of your mouse. With the proper settings it should be possible to
make your mouse feel any way you want. On my system, just changing mouse_accel_type to
normal (default is power) gave me the results I wanted. I haven't messed with the other settings,
and I don't pretend to have a clue about what they all do.
•

Labels:

Tuesday, March 25, 2008

Quake

The Quake executables were compiled with libc5. Newer Linux distributions like RedHat 5.1 and Debian 2.0
use the incompatible libc6 (or glibc) as their default C library. If you're running Quake on a glibc system,
there are a few things to watch out for:
Both RedHat 5 and Debian 2 have libc5 compatibility packages that allow you to run libc5−based
applications. Make sure you have these packages installed. Both distributions put the libc5−based
libraries in /usr/i486−linux−libc5/lib.
•
Make sure Quake uses the correct libraries. Create a script like the one below that points
$LD_LIBRARY_PATH to your compatibility libraries directory before it runs Quake.
•
#!/bin/sh
export LD_LIBRARY_PATH=/usr/i486−linux−libc5/lib
./quake2 +set vid_ref gl $*
If you are going to compile a library like SVGAlib or Mesa for use with Quake, it must be compiled
with libc5 and friends. Simply building a new library according its installation instructions will result
in a library that is linked against your default library, glibc. You must ensure your new library is
linked only with libc5 and libc5−based libraries so it will be compatible with Quake. See your
distribution's documentation for information on linking to the non−default libraries.
•
My mouse doesn't work or seems to respond randomly. **
Is gpm running? gpm is a program that enables you to cut and paste with the mouse in virtual
consoles. Many distributions enable it by default. It may be interfering with Quake. Check if it's
running with the following command:
ps aux | grep gpm
If you get output like
root 6115 0.0 0.4 832 316 ? S 17:54 0:00 gpm −t PS/2
then gpm is running and interfering with Quake. gpm −k (as root) ought to stop gpm. If it doesn't
(gpm −k doesn't always work on my system), kill gpm with the command killall gpm. If you
never use gpm, you may want to stop it from running at startup. See the documentation for your
distribution for information on how to do this.
•
Is your mouse defined properly in libvga.config? This file usually lives in /etc or
/etc/vga. Open it up and look for a line like
•
Linux Quake HOWTO
Glibc, RedHat 5.x, Debian 2 considerations (for Quake 1 only)++ 34
mouse Microsoft
On my system, this is the first option in the file. Make sure the mouse type is appropriate for your
hardware.
Do you have RW permissions for your mouse device? The permissions of your mouse device may
only allow you read access to it. Quake wants to open it read−write, so you'll need to either do a
chmod 666 to it, or run as a user or group that's allowed to read and write to it. The actual device
file in question will vary according what type of mouse you have on your system. Most of the time,
/dev/mouse is a symbolic link to your actual mouse device file, so doing an ls −l
/dev/mouse should allow you to find which device file to modify.

Labels:

Wednesday, March 19, 2008

Quake

QuakeLaunch ++
QuakeLaunch is a nice, simple Quake server browser that you can run in the console. It's based on qstat by
Steve Jankowski. If you can't or don't want to use an X−based server browser like XQF, this is a good
alternative. The QuakeLaunch homepage is at http://www.linuxgames.com/qlaunch.
4.17 QPLog ++
The Quake Player Log is a master/client Perl program that keeps track of player statistics. The object of this
program is similar to what the original QuakeWorld attempted. Server logs are sent to the central QPLog
master, which keeps track of player statistics and ranks players according to a number of factors.
http://junior.ece.ucdavis.edu/qplog/
5. Troubleshooting/FAQs
5.1 General
OS difference considerations
Case sensitivity − In DOS and Windows, case is not important. BASE1.TXT is the same as
base1.txt is the same as Base1.Txt. Under Linux and other unices, case IS significant.
MOTD.TXT and motd.txt are different files. This can cause problems with player models and skin
files if they're installed with upper− or mixed−case filenames.
players/male/santa.PCX needs to be renamed to santa.pcx in order for the Santa skin to
be visible in Linux. The fixskins.sh script included with quakeworld will convert all filenames
in a directory to lowercase. It's reproduced below for your convenience:
•
#!/bin/sh
for x in *; do
y=`echo $x | tr '[A−Z]' '[a−z]'`
if [ $x != $y ]; then
mv $x $y
fi
done
Path delimiters − DOS and Windows use the backslash "\" character to separate file pathname
elements. In Unix, the backslash is an escape character. Quake and Quake2 for Windows recognize
both "\" and "/" as valid path delimiters, so if you use file pathnames in your config files (or your
mod code, or anywhere else, for that matter), be sure you're using "/" and not "\".
•
End of line characters − Under DOS/Windows, each line of a text file ends with a carriage return
character (CR) and a linefeed character (LF). Unix textfiles just have a linefeed at the end of each
line. Using DOS/Win formatted textfiles in Unix can cause all kinds of mysterious Quake problems.
For example, the incorrectly formatted quake2.conf file from the Quake2 3.17 package generated
the error "LoadLibrary("ref_XXX.so") failed: No such file or directory".
•
Linux Quake HOWTO
4.16 QuakeLaunch ++ 33
LMCTF−TE reports a floating point exception. If you've got an problem you can't explain, try
removing the CRs from your text files:
mv file.txt file.bak; tr −d '\r' < file.bak > file.txt
Glibc, RedHat 5.x, Debian 2 considerations (for Quake 1 only)++
[The following applies to the Quake I binaries (squake, glquake, and quake.x11) only. As of versions
2.30 and 3.19 respectively, QuakeWorld and Quake II are available in both libc5 and glibc versions.]

Labels:

Monday, March 17, 2008

Ice
Ice is a Quake map editor for UN*X created by C.J. Beyer and John Watson. I haven't used this program, nor
do I know what its development status is. The Ice homepage is at http://styx.phy.vanderbilt.edu/~ice/.
Q2getty
Linux Quake HOWTO
qkHacklib 31
Q2getty is a hack of mingetty by Mike Gleason ( mgleason@ncftp.com) that allows you to automatically run
and respawn a program (like a Quake server) on a virtual console. This program is available in the files
section at http://www.ncftpd.com/unixstuff/q2getty.html.
rcon
Rcon is a pair of tools that allow remote administration of a Quake II server using the RCON protocol.
Michael Dwyer ( michael_dwyer@mwiworks.com) is the author. Rcon 1.1 is available at
http://sunsite.unc.edu/pub/Linux/games/quake/rcon−1.1.tar.gz.
qlog
Qlog is a GPL'ed QuakeWorld/Quake II server log parser that generates comprehensive player statistics.
Craig Knudsen ( cknudsen@radix.net) is the author. The qlog homepage is
http://www.radix.net/~cknudsen/qlog/.
Cheapo
Cheapo is a proxy that can be used to route QuakeWorld network traffic. Additionally, the proxy can modify
the data and has features for enhancing gameplay. You can connect to cheapo as if it were a Quakeworld
server, and then give it commands that forward you to a real server. The proxy can also be run on a firewall
machine incapable of handling Quake traffic, so that machines inside the firewall can be used for playing.
The Cheapo homepage is at http://www.saunalahti.fi/~softech/.
qgraph
QGraph (Quake Graph) is a utility to help people in managing Quake's DeathMathes, turnments and
Quakeworld games. QGraph is a program who connects (via Lan or the Internet) to a Quake, QuakeII,
Quakeworld and Hexen2 Servers and shows you realtime data about the game running on that server. The
QGraph homepage is at http://www.frag.com/qgraph.
Vispatch ++
Vispatch is a utility that patches your Quake 1/QuakeWorld levels to support transparent water. This
Windows utility has been around almost since the dawn of GLQuake, but just recently (to my knowledge) a
Linux version has surfaced. The WaterVis homepage is at http://www.sod.net/vis. You can download the
Linux version of the Vispatch utility at http://www.sod.net/vis/files/unixvis.zip.
GStat ++
GStat is a server query tool by Aaron Levinson based on QStat, but with some unique extra features. From
the GStat homepage: GStat (GameStat) is a utility for querying Quake, Quakeworld, Quake II and Hexen II
servers. It has three main functions:
1.Displays statistics for Quake−based servers 2.Functions as a remote server administration tool
3.Console−based server browser for finding a server to play on
Linux Quake HOWTO
4.10 rcon 32

Thursday, March 13, 2008

Quake

QPlug for Linux
Qplug is a Netscape plugin which retrieves and displays QuakeWorld and Quake II server information
embedded in a web page. A Windows Qplug has been around for some time. The author, Olivier Debon (
odebon@club−internet.fr) wrote the Linux version from scratch without ever having seen the Windows
version.
QPlug for Linux can be got at http://www.geocities.com/TimesSquare/Labyrinth/5084/qplug.html.
Linux Quake HOWTO
4.1 QStat 30
qkHacklib
David Bucciarelli ( tech.hmw@plus.it), author of the 3Dfx driver for Mesa, has written a library called
qkHack, which tries to emulate all the SVGAlib/fxMesa functions used by Quake and Quake II. This would
remove the need for SVGAlib when running glquake or Quake II with ref_gl. Other features from the
qkHacklib README:
You can dynamically switch between fullscreen rendering and the in window rendering just pressing
the TAB key (you must start your X server in 16 bpp mode in order to use this feature)
•
You can press Ctrl−C in the shell or kill the Quake process without problems •
you can enable/disable the mouse and keyboard 'grabbing' pressing F11/F12 •
you can iconify and pause Quake pressing the F10 (it will not eat more CPU cycles). You can restart
everything with a double click in the "****" icon
•
you can run Quake with any Mesa driver (for example with the X11 driver but you must recompile
the Mesa without the Voodoo driver)
•
you can run Quake under any Linux box and get the hardware acclerated output on a SGI box (OK,
this is a bit exotic and theoretical as feature but it is an example of how powerful can be an
GLX/OpenGL application)
•
I've tried qkHacklib and it works great for Quake on my system. In Quake II, however, the mouse response
becomes really slow. Others report complete success, though, so give it a try if it sounds like something you
need.
David Bucciarelli's qkHacklib web page is at http://www−hmw.caribel.pisa.it/fxmesa/fxqkhack.html.
GiMd2Viewer
GiMd2Viewer is a Quake 2 model viewer written for Gtk and OpenGL by Lionel Ulmer (
bbrox@mygale.org). It loads models and textures from either plain files or .PAK files. It will also animate the
models (with frame interpolation).
This program is still under developement and I haven't tried it yet, but it sounds pretty nifty. Check it out at
http://www.mygale.org/~bbrox/GiMd2Viewer/.
QIPX
QIPX is a set of programs that allow Linux Quake clients (using TCP/IP) to connect with DOS Quake clients
(using IPX). I guess this is useful if you're playing netquake on a LAN. QIPX is available at
http://www.geocities.com/SiliconValley/Park/6083/qipx.html.

Labels:

Tuesday, March 11, 2008

Quake

cp −r /mnt/cdrom/Data/max/xatrix/video xatrix
Play The Reckoning like this:
cd /usr/local/games/quake2
./quake2 +set game xatrix
•
Mission Pack 2: Ground Zero It requires Quake II version 3.17 or later to run. You'll need at least
120 MB for a minimum installation. Another 115 MB are required if you want to install the video
sequences as well. Assuming your CD is mounted on /mnt/cdrom and Quake II is installed in
/usr/local/games/quake2:
cd /usr/local/games/quake2
cp −r /mnt/cdrom/Data/all/* rogue/
rm −f rogue/gamex86.dll
If you want to install the video sequences:
cp −r /mnt/cdrom/Data/max/rogue/video rogue
Play Ground Zero like this:
cd /usr/local/games/quake2
./quake2 +set game rogue
•
4. Related Software
Linux Quake HOWTO
Mission Packs 29
4.1 QStat
Qstat is a command line based program that returns the status of internet Quake, QuakeWorld, and Quake 2
servers created by Steve Jankowski mailto:steve@activesw.com.
Here's the feature summary from the QStat homepage:
Supports Windows 95, NT, and most Unixes •
Comes with C source code and a binary for Windows •
Supports old Quake (NetQuake), QuakeWorld, Hexen II, and Quake II servers •
Can display all available statistics, including player info and server rules •
Output templates for automatic HTML generation •
Raw display mode for integration with HTML page generators •
Built−in host name cache •
Sort by ping time, game, or both •
More options than you can wiggle a mouse at •
Qstat is a must−have tool if you're planning on doing any net play. A number of front−ends for qstat have
been written as well. Some of them are listed later in this section.
You can get the latest version of qstat from the QStat Homepage (
http://www.activesw.com/people/steve/qstat.html).
4.2 XQF
XQF is a graphical front−end to QStat that uses the GTK toolkit. This is the best QuakeWorld/Quake2 server
browser that currently exists, and Roman Pozlevich ( roma@botik.ru), is still cranking out revisions at the
rate of about one per month.
If you're familiar with GameSpy for the Windows platform, this is the closest thing to it for Linux.
The XQF homepage is at http://www.linuxgames.com/xqf.
4.3 QuickSpy
QuickSpy is a text−based QuakeWorld server browser. It's another front−end to QStat and it works pretty
well. If you don't run X and you don't have Quake II, this is a decent option. Beware though, it's no longer
under development.

Labels:

Tuesday, March 04, 2008

Capture the Flag

Capture the Flag
Since this is by far the most popular variation of multiplayer Quake II, I've included specific instructions for
installing this mod. Capture the Flag for Quake II is available from id's ftp site. Download it, then install like
so:
cd /usr/local/games/quake2
mkdir ctf
cd ctf
unzip −L /wherever/you/put/it/q2ctf102.zip
Start Quake II with +set game ctf to play CTF.
Server Side Mods
Running a Quake II mod on a server isn't much different than running one on the client side. Generally you'll
need to install gamei386.so and server.cfg files in a new subdirectory and then start your server like
./quake2 +set game XXXX +set dedicated 1 +exec server.cfg
Where XXXX above is the name of the mod's new subdirectory. The exact procedure will vary from mod to
mod, of course. See the mod's documentation for specific details.
Game Source ++
The entire game, with the exception of the engine itself, resides in a shared library, gamei386.so. Quake II
mods are created by changing the contents of this file. The C source is freely available (section Download the
Necessary Files above) for anyone to download and modify.
After you've downloaded the source, here's how to get started with it:
cd /usr/local/games/quake2
mkdir mymod
cd mymod
gunzip /wherever/you/put/it/q2src320.shar.Z
sh /wherever/you/put/it/q2src320.shar
You'll be presented with a bunch of legalese that you must answer yes to, then the game source will be
extracted. Building a new gamei386.so out of these sources is accomplished with a simple make. You
can run Quake II with the newly compiled library like so:
cd /usr/local/games/quake2
Linux Quake HOWTO
Capture the Flag 28
./quake2 +set game mymod
Not too exciting yet, since what you just built is identical to the "stock" gamei386.so, but this should be
good information for aspiring mod authors.
Mission Packs
Mission Pack 1: The Reckoning The Reckoning requires Quake II version 3.15 or later to run.
You'll need at least 95 MB for a minimum installation. Another 90 MB are required if you want to
install the video sequences as well. Assuming your CD is mounted on /mnt/cdrom and Quake II is
installed in /usr/local/games/quake2:
cd /usr/local/games/quake2
cp −r /mnt/cdrom/Data/all/* xatrix/
rm −f xatrix/gamex86.dll
If you want to install the video sequences:

Labels: