Thursday, November 29, 2007

Create the Installation Directory ++

The first thing you'll need to do is decide where you want to install Quake II. The "standard" location is
/usr/local/games/quake2. This is where the .rpm packages put Quake II. If you choose to install
somewhere else, please substitute the appropriate path wherever /usr/local/games/quake2 is
mentioned.
Linux Quake HOWTO
3.2 Installing Quake II 18
So go ahead and create the directory you'll install Quake II in, and cd to it. The rest of these instructions will
assume that this is your current directory.
mkdir /usr/local/games/quake2
cd /usr/local/games/quake2

Labels:

Monday, November 26, 2007

Installing Quake II

Download the Necessary Files++
All the necessary files for Linux Quake II are available at id Software's ftp site, ftp.idsoftware.com. This site
can be quite busy at times,so you may want to use one of these mirror sites instead:
ftp.cdrom.com/pub/idgames/idstuff (California, USA) •
ftp.gamesnet.net/idsoftware (California, USA) •
ftp.stomped.com/pub/mirror/idstuff (Minnesota, USA) •
mirrors.telepac.pt/pub/idgames (Lisbon, Portugal) •
download.netvision.net.il/pub/mirrors/idsoftware (Haifa, Israel) •
The Quake II files mentioned in in this section are:
Quake II Linux Binaries
libc5 tar.gz package
ftp.idsoftware.com/idstuff/quake2/unix/quake2−3.20−i386−unknown−linux2.0.tar.gz
•
glibc tar.gz package
ftp.idsoftware.com/idstuff/quake2/unix/quake2−3.20−glibc−i386−unknown−linux2.0.tar.gz
•
libc5 rpm package ftp.idsoftware.com/idstuff/quake2/unix/quake2−3.20−6.i386.rpm •
glibc rpm package ftp.idsoftware.com/idstuff/quake2/unix/quake2−3.20−glibc−6.i386.rpm •
•
Quake II Demo Version for Windows ftp://ftp.idsoftware.com/idstuff/quake2/q2−314−demo−x86.exe •
Quake II Game Source ftp://ftp.idsoftware.com/idstuff/quake2/source/q2src320.shar.Z •
Xatrix (Mission Pack 1) Game Source
ftp://ftp.idsoftware.com/idstuff/quake2/source/xatrixsrc320.shar.Z
•
Rogue (Mission Pack 2) Game Source
ftp://ftp.idsoftware.com/idstuff/quake2/source/roguesrc320.shar.Z
•
Quake II Capture the Flag ftp://ftp.idsoftware.com/idstuff/quake2/ctf/q2ctf102.zip •
Quake II Capture the Flag Game Source
ftp://ftp.idsoftware.com/idstuff/quake2/ctf/source/q2ctf−1.02−source.shar.Z
•
Other software mentioned:
SVGAlib graphics library http://sunsite.unc.edu/pub/Linux/libs/graphics/svgalib−1.3.0.tar.gz •
SVGAlib libc5 binary http://sunsite.unc.edu/pub/Linux/libs/graphics/svgalib−1.3.0.libc5.bin.tar.gz •
Glide runtime libraries http://glide.xxedgexx.com/3DfxRPMS.html •
Mesa 3D graphics library http://www.ssec.wisc.edu/~brianp/Mesa.html •
unzip archive utility http://sunsite.unc.edu/pub/Linux/utils/compress/unzip−5.31.tar.gz •

Saturday, November 24, 2007

Quake Tools

Anybody care to contribute some info about qcc, bsp and all that?
3. Quake II
To install Quake II on your Linux system, you'll need some flavor of the official Quake II distribution from
id. This will be either the retail Windows CD−ROM that you bought at your favorite software store, or the
demo version you downloaded from the net. See Download the Necessary Files for details on acquiring the
demo version. Alternatively, if you've already got Quake installed on a Windows machine, you can use the
relevant files from that installation.
3.1 Prerequisites
You will need, as a bare minimum, the following:
A Pentium 90 or better (133 recommended) computer •
16 MB RAM (24 recommended) •
The Quake 2 CD−ROM or the demo version (q2−314−demo−x86.exe) •
Linux kernel version 2.0.24 or later •
libc 5.2.18 or later •
One of the following:
X11 server that supports the MITSM shared memory extension. 8 and 16 bit displays are
supported. (for X renderer)
•
SVGAlib 1.2.10 or later (for SVGA and GL renderer) •
•
25−400 megabytes free disk space (depending on how you install) •
Access to the root account of the machine you're installing on •
Optional:
A supported soundcard •
A 3Dfx Voodoo Graphics or Voodoo2 or Voodoo Rush 3D graphics accelerator card. •
Linux Quake HOWTO
Quake Tools 17
3Dfx glide libraries installed (for GL renderer) •
Mesa 2.6 or later (for GL renderer) •

Labels:

Tuesday, November 13, 2007

Mission Packs

Activision released two add−on packs of extra levels for Quake, Scourge of Armagon and Dissolution of
Eternity.
Linux Quake HOWTO
2.10 Servers 16
Mission Pack 1: The Scourge of Armagon Assuming your CD is mounted on /mnt/cdrom and
Quake is installed in /usr/local/games/quake:
cd /usr/local/games/quake
mkdir hipnotic
cp /mnt/cdrom/hipnotic/pak0.pak hipnotic
cp /mnt/cdrom/hipnotic/config.cfg hipnotic
Play the mission pack like this:
cd /usr/local/games/quake
./quake.x11 −game hipnotic
•
Mission Pack 2: Dissolution of Eternity Installing the second mission pack is pretty much the same
procedure as installing the first. Follow the directions for Mission Pack 1, but replace the word
hipnotic with the word rogue, and skip the config.cfg step, as this file isn't included on the
Mission Pack 2 CD.
•

Labels:

Monday, November 12, 2007

2.10 Servers
Most, if not all, existing information about running a DOS/Windows QW server is equally applicable to
running a Linux server.
To start a QuakeWorld server, simply do:
./qwsv
The official QuakeWorld server manual lives at http://qwcentral.stomped.com.
2.11 Mods & Addons
One of the very cool things about the Quake games is that the authors made them easily extensible. End users
can create their own levels, add new weapons or monsters, or even completely change the rules of the game.
Capture the Flag
This is my favorite variation of both Quake and Quake 2. Instead of just running around and killing everyone
you meet (which definitely has its merits, don't get me wrong!), CTF is team−based and more strategic. Dave
'Zoid' Kirsch, also the maintainer of the Linux Quake ports, created this mod.
Everything you need to know about CTF can be found at http://captured.com/threewave/ You need
ftp://ftp.cdrom.com/pub/quake/planetquake/threewave/ctf/client/3wctfc.zip to play. To install the client piece
of CTF, simply create a directory called ctf in your Quake directory and unzip the 3wctfc.zip file there.
The accompanying readme.txt file is chock full of good information.
cd /usr/local/games/quake
mkdir ctf
cd ctf
unzip −L /wherever/you/put/it/3wctfc.zip
For information on running a CTF server, see the web pages mentioned above.

Wednesday, November 07, 2007

Running QuakeWorld

Once QuakeWorld is installed alongside your Quake files, you can start it up like:
./qwcl +connect some.server.address
See section Related Software for info about some nifty front ends for QuakeWorld that make finding servers
easy.
lib3dfxgl.so •
With Quakeworld version 2.30, an alternative to the Mesa library is available. lib3dfxgl.so is a
mini−GL driver optimized for Quake that provides slightly better framerates than Mesa. This is a port
of a driver that 3Dfx developed for Quake under Windows, and apparently not all of its features work
properly yet. So hopefully we can expect its performance to improve with time.
Linux Quake HOWTO
Installing the RPM packages 14
Like Mesa, lib3dfxgl.so requires Glide in order to access your 3Dfx card. The Quakeworld
packages come with a script, glqwcl.3dfxgl for running Quakeworld with this library on glibc
systems. The next paragraph explains how to run Quakeworld with lib3dfxgl.so on a libc5
system. On a glibc system in order for this script to work,the glqwcl executable must not be
setuid, nor should you run it as root. glqwcl will silently load Mesa rather than lib3dfxgl.so if
it runs with root permissions. This non−root requirement implies that you have the
/dev/3dfx driver installed.
On a libc5 system, you need to create a symbolic link to lib3dfxgl.so called
libMesaGL.so.2 like so:
cd /usr/local/games/quake
ln −sf lib3dfxgl.so libMesaGL.so.2
Then start Quakeworld from a script that tells $LD_LIBRARY_PATH to look in the current
directory:
#!/bin/sh
LD_LIBRARY_PATH=".:$LD_LIBRARY_PATH" ./glqwcl $*
You can tell which driver is being loaded by looking for output like the following in your console as
Quakeworld starts:
GL_VENDOR: 3Dfx Interactive Inc.
GL_RENDERER: 3Dfx Interactive Voodoo^2(tm)
GL_VERSION: 1.1
GL_EXTENSIONS: 3DFX_set_global_palette WGL_EXT_swap_control GL_EXT_paletted_texture If GL_VENDOR says Brian Paul rather than 3Dfx Interactive Inc., that means Mesa is
still being used rather than the miniport dirver.
glqwcl.glx ++ •
glqwcl.glx is linked against standard OpenGL libraries instead of Mesa. This allows Quakeworld
to run on other 3D hardware that is supported by other OpenGL implementations. At this time, I dont'
know of any OpenGL implementations that support hardware other than 3Dfx, but this renderer
ensures that when they appear, we'll be able to play Quakeworld with them.
Use of the GLX interface also removes GL Quake II's dependency on SVGAlib for keyboard and
mouse input.
This is a GLX application, and as such, must be run from X.
You can use this client with Mesa/3Dfx if you install Mesa and Glide as explained in the previous
section, then set the $MESA_GLX_FX environment variable to "fullscreen" before you run quake2:
export MESA_GLX_FX=fullscreen
Linux Quake HOWTO
Installing the RPM packages 15
./glqwcl.glx +_windowed_mouse 1
Why the +_windowed_mouse 1 option? Remember that this is an X application which happens
to use your 3Dfx card. Even though the display takes up your entire screen, Quakeworld is stil
running in a window. This means that if you're not very careful, you could move the mouse pointer
outside the Quakeworld window, and Quakeworld will suddenly stop responding to mouse and
keyboard input. +_windowed_mouse 1 avoids this problem by telling glqwcl.glx to grab the
mouse and not let it move outside its window.

Saturday, November 03, 2007

Installing the RPM packages

Installation of the rpm packages should be as simple as:
su root
rpm −Uvh qwcl−xxxxx.i386.rpm
qwcl, glqwcl and glqwcl.glx will be installed setuid root so that they can access the graphics devices
on your system. The X and GL clients can be run without root privileges if you follow the instructions in
Running X and GL games without setuid below.
Rpm may complain that it can't find libglide2x.so. The Glide library is only necessary if you have a
3Dfx card and want to run QuakeWorld in GL mode (glqwcl). If you don't plan to use the GL mode, you
can override the glide dependency with the −−nodeps option:
su root
rpm −Uvh qwcl−xxxxx.i386.rpm −−nodeps
Installing the tar.gz packages
To install, just untar the file in your Quake directory. Do it as root so the proper file permissions get set:
cd /usr/local/games/quake
su root
tar −xzf qwcl2.21−i386−unknown−linux2.0.tar.gz
qwcl, glqwcl and glqwcl.glx will be installed setuid root so that they can access the graphics devices
on your system. The GL and X clients can be run without root privileges if you follow the instructions in
Running X and GL games without setuid below.

Labels:

Friday, November 02, 2007

QuakeWorld

.quakeworld.net says it better than I could:
QuakeWorld is an Internet multi−player specific version of Quake. While the original
version of Quake can be played over the Internet, modem users − the majority of players, had
less than satisfactory play. Symptoms like excessive lag − actions actually happening much
later than you did them; packet loss − the game would freeze and resume several seconds
later; and various other difficulties plagued users. After realizing how many people played
Quake on the internet, and how many wanted to, but couldn't due to the play being
unsatisfactory, John Carmack of id Software decided to create a version of Quake that was
optimized for the average modem Internet player. This Internet specific version does only 1
thing, play deathmatch games over a TCP/IP network such as the Internet. It has no support
for solo play, and you can't do anything with out connecting to a special server.
You need the full, registered or retail version of Quake to play QuakeWorld, and a Linux QuakeWorld client.
QuakeWorld clients come in the same flavors (X11, SVGAlib and Mesa) as normal Quake, but they're all
bundled together in one package, so you only need to download one file. However, you've got four packages
to choose from:
a libc5 tar.gz package •
a glibc tar.gz package •
a libc5 rpm package •
a glibc rpm package •
Install just one of these packages. Each contains the same files, they're just linked against different libraries.
Redhat 5.x users should choose the the glibc rpm package. Users of glibc based systems without rpm support
should use the glibc tar package. The libc5 rpm is for Redhat distributions prior to 5.0 and other distributions
that use the rpm package format. The libc5 tar.gz package is for Slackware and everyone else.
See the Download the Necessary Files section for the location of the Linux Quakeworld files.
The prerequisites and configuration for these binaries are the same as for Quake, so refer to the previous
sections for help on setting up SVGAlib or glide/Mesa.

Labels:

Thursday, November 01, 2007

2.8 Linux−Specific Command Line Options
This section covers command line options that are specific to the Linux versions of Quake. There are plenty
of other Quake options, but they're beyond the scope of this HOWTO. Check out some of the sites listed in
section General Quake Information for this kind of information.
−mem num
Specify memory in megabytes to allocate (default is 8MB, which should be fine for most needs).
−nostdout
Don't do any output to stdout. Use this if you don't want all the console output dumped to your
terminal.
−mdev device
Mouse device, default is /dev/mouse
−mrate speed
Mouse baud rate, default is 1200
−cddev device
CD device, default is /dev/cdrom
−mode num
Use indicated video mode (squake only)
−nokdb
Linux Quake HOWTO
2.8 Linux−Specific Command Line Options 12
Don't initialize keyboard
−sndbits 8 or 16
Set sound bit sample size. Default is 16 if supported.
−sndspeed speed
Set sound speed. Usual values are 8000, 11025, 22051 and 44100. Default is 11025.
−sndmono
Set mono sound
−sndstereo
Set stereo sound (default if supported)