Saturday, December 08, 2007

Installing the demo version

id Software has a freely available demo version of Quake II at their ftp site. It's a 40 megabyte download. The
demo includes all features of the full version, including multiplayer, but it only comes with three levels, so it
may be difficult to find a server to play on.
See the section Download the Necessary Files above for the location of the Quake II demo. Download it and
place it in your Quake II directory.
The demo distribution is a self−extracting zip file (it's self−extracting in other OS's anyway). You can extract
it with the unzip(1) command, which should be included in most modern distributions. If you don't have
unzip, you can download it from the location listed in the Download the Necessary Files section.
cd to your Quake II directory and extract the archive:
cd /usr/local/games/quake2
unzip q2−314−demo−x86.exe
Now we've got to delete some things and move some other things around:
rm −rf Splash Setup.exe
mv Install/Data/baseq2 .
mv Install/Data/DOCS docs
rm −rf Install
rm −f baseq2/gamex86.dll
The Quake II demo is now installed. You just need to add the Linux binaries.
Linux Quake HOWTO
Installing the demo version 20

Labels:

Tuesday, December 04, 2007

Windows to Linux install

If you have Quake II installed under Windows on a different machine, you can transfer the files in
quake2\baseq2\ to your Linux system via FTP or some other mechanism. Keep in mind that the
filenames on your Linux system must be in lower case for Quake II to find them, so you may have to rename
them after the transfer. Also note that it may be necessary to delete your Windows installation after you do
this to remain in compliance with the terms of id's software license. It's not my fault if you do something
illegal.
If your Windows and Linux systems are on the same machine, you have two options: copy the files from your
Linux Quake HOWTO
Installing from CD 19
Windows partition to your Linux partition, or link to the necessary files from Linux. Both options will work
equally well. You'll just save a lot of disk space when you link instead of copy. As usual, replace
/win95/games/quake2 in the following examples with the correct path to your Windows partition and
Quake II installation.
If you want to copy the files from your Windows partition, do something like this:
cd /usr/local/games/quake2
cp −r /win95/games/quake2/baseq2 .
•
To create links to your Windows Quake II files instead, do this:
cd /usr/local/games/quake2
ln −s /win95/games/quake2/baseq2 .
This second method requires that the Windows partition you're linking to be writeable by users,
which may not be appropriate for all systems. By making your Windows partition writeable, you are
giving all users the opportunity to destroy your entire Windows installation. If that's ok with you,
modify your /etc/fstab to mount the Windows partition with the options umask=002,gid=XXX,
where XXX is the group id number of the "users" group. Look in /etc/group for this information.
When fstab is updated, umount and re−mount the Windows partition and you're done.
•
You're done installing the Quake II data files. Move ahead to " Installing the Linux Binaries".

Labels:

Sunday, December 02, 2007

Installing from CD

Place your Quake II CD in your CD ROM drive, and mount it:
mount −t iso9660 /dev/cdrom /mnt/cdrom
If your CDROM is typically mounted elsewhere, substitute its location for /mnt/cdrom. If you're not sure
where your CDROM is mounted, please see the documentation for your particular distribution.
Full Install The simplest install method is a "full" install, which involves copying the entire contents
of your CD to your hard drive. This requires about 350 MB, and is accomplished by issuing the
following commands:
cd /usr/local/games/quake2
cp −r /mnt/cdrom/Install/Data/* .
There'll be a bunch of unnecessary Windows files hanging around that you can safely delete:
rm −f /usr/local/quake2/*.dll
rm −f /usr/local/quake2/quake2.exe
rm −f /usr/local/quake2/baseq2/gamex386.dll
•
Medium Install If 450 MB is too much space for you to devote to Quake II, you can skip installing
the movie cutscenes and link to them on the CD−ROM instead. This will reduce the space
requirements to about 200 MB:
cd /usr/local/games/quake2
mkdir baseq2
cp /mnt/cdrom/Install/Data/baseq2/pak0.pak baseq2
cp −r /mnt/cdrom/Install/Data/baseq2/players baseq2
ln −s /mnt/cdrom/Install/Data/baseq2/video baseq2/video
Note that this doesn't mean you have to mount your Quake II CD every time to want to play Quake
II. If the game can't load the videos, it just won't display them.

Labels:

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:

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:

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:

Monday, October 29, 2007

Mesa
Once glide's installed, you need to install Mesa, a free OpenGL implementation by Brian Paul
(brianp@elastic.avid.com). Luckily, you won't have to look far, because Mesa 2.6 is included with the
QLQuake & QuakeWorld binaries. All you have to do is move it to the right place:
cd /usr/local/games/quake
cp libMesaGL.so.2.6 /usr/local/lib
ldconfig
The RedHat distribution comes with a (IMO) broken ld.so configuration. /usr/local/lib is not part
of ld.so's search path by default, so anything you install there won't get used. You can remedy the situation
by adding the line /usr/local/lib to your /etc/ld.so.conf file, or including
/usr/local/lib in your $LD_LIBRARY_PATH. Alternatively, you could install all new libraries
someplace like /lib, but this approach seriously offends my tidy nature.
If you want to upgrade Mesa to a more recent version (Mesa 3.0 is the most recent version as of this writing),
you can download the latest from ftp://iris.ssec.wisc.edu/pub/Mesa 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 Quake.
Linux Quake HOWTO
Glide ++ 11
After you've built it according to the instructions, you will have to do two things:
Remove your old Mesa installation. If you previously installed a libMesaGL.so.2.6 as
described above, you must remove it or Quake may not use the new version.
cd /usr/local/lib/
rm −f libMesaGL.so.2*
•
If the new Mesa has a major version number that's greater than 2, you need to create a link to it with
the name libMesaGL.so.2:
cd /usr/local/lib/
ln −s /wherever/you/installed/it/libMesaGL.so.3.0 libMesaGL.so.2
ldconfig
•
Now switch to a VC (CTRL+ALT+F1) and start glquake.
cd /usr/local/games/quake
./glquake

Labels:

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:

Sunday, October 21, 2007

2.5 X11 Quake

If you installed the X11 client, now's a good time to try it out. You may need to do further configuration for
glquake and squake, but at this point quake.x11 should be ready to go.
cd /usr/local/games/quake
./quake.x11
If all is well, a small Quake window should appear with the first demo running in it. You should hear sound
effects and possibly music, if your CD is in the drive. If any of this fails to occur, please see the
Troubleshooting section for help.

Labels:

Friday, October 19, 2007

Setting Permissions

Quake and QuakeWorld servers can be run by any user. The Quake clients, however, need access to your
sound and graphics cards, which requires privileges that normal users don't have. One (bad) way to deal with
this is to always run Quake as root. Responsible system administrators will cringe at this filthy suggestion.
Making the Quake binaries setuid root is a more acceptable solution. Quake can then be run by regular users
and still have the privileges it needs to access the sound and graphics devices. Setuid presents a security risk,
though. A clever user could exploit a bug or security hole in Quake to gain root access to your system. Of
course, if you don't run a multi−user system, this is may not be a big concern.
squake is the only Quake client that must be run with root permissions. With a little work, you can run the
X and GL clients without setuid. Running X and GL games without setuid in the Tips and Tricks section tells
how to make this work.
If you plan to run squake, make it setuid root with the following commands:
chown root squake
chmod 4755 squake
If you've decided it's ok to run quake.x11 and glquake setuid root on your system, you can repeat the
above commands for these binaries as well.

Labels:

Wednesday, October 17, 2007

2.3 Adding the Linux Binaries

Decide which of the three flavors of Quake you'd like to install:
X11 Quake allows you to run Quake in a window on your X desktop. It's the least exciting client, but
it's a great, safe way to test your installation.
•
Squake is the SVGAlib Quake client. It runs full screen on your console. •
Linux Quake HOWTO
Shareware Version Install 8
GLQuake is the OpenGL Quake client, the One True Way to play Quake if you have a 3Dfx
accellerator card.
•
Download the packages you want (see section Download the Necessary Files) and extract them to your
Quake directory like so:
cd /usr/local/games/quake
tar −xzf XXXX−i386−unknown−linux2.0.tar.gz

Labels:

Monday, October 15, 2007

DOS/Windows to Linux Install

If you have Quake installed under Windows or DOS on a different machine, you can transfer the files in
quake\id1\ to your Linux system via FTP or some other mechanism. Keep in mind that the filenames on
your Linux system must be in lower case for Quake to find them, so you may have to rename them after the
transfer. Also note that it may be necessary to delete your DOS/Win installation after you do this to remain in
compliance with the terms of id's software license. It's not my fault if you do something illegal.
If your DOS/Win and Linux systems are on the same machine, you have two options: copy the files from
your DOS/Windows partition to your Linux partition, or link to the necessary files from Linux. Both options
will work equally well. You just save around 50 megabytes of disk space when you link instead of copy.
Whatever you choose to do, start by cd'ing to your Quake directory and creating a new directory below it
called id1:
cd /usr/local/games/quake
mkdir id1
If you want to copy the files from your DOS/Windows partition, do something like this:
cp /win95/games/quake/id1/*.pak id1
•
To create links to your DOS/Windows Quake files instead, do this: •
Linux Quake HOWTO
DOS/Windows to Linux Install 7
cd id1
ln −s /win95/games/quake/id1/*.pak .
Replace /win95/games/quake with the correct path to your DOS/Windows partition and Quake
installation directory.
The Quake data files are now installed. Move ahead to " Installing the Linux Binaries".

Labels:

Wednesday, October 10, 2007

Installing Quake

Download the Necessary Files
All the necessary files for Linux Quake 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.linuxquake.com/lqstuff (Ohio, 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 files mentioned in in this section are:
Shareware Quake for Windows distribution ftp://ftp.idsoftware.com/idstuff/quake/quake106.zip •
X11 Quake binary
ftp://ftp.idsoftware.com/idstuff/unsup/unix/quake.x11−1.0−i386−unknown−linux2.0.tar.gz
•
SVGAlib Quake binary
ftp://ftp.idsoftware.com/idstuff/unsup/squake−1.1−i386−unknown−linux2.0.tar.gz
•
OpenGL/Mesa Quake binary
ftp://ftp.idsoftware.com/idstuff/unsup/unix/glquake−0.97−i386−unknown−linux2.0.tar.gz
•
Linux QuakeWorld clients (X11, SVGAlib and GL clients are all included in each package)
libc5 tar.gz package
ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwcl−2.30−i386−unknown−linux2.0.tar.gz
•
glibc tar.gz package
ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwcl−2.30−glibc−i386−unknown−linux2.0.tar.gz
•
libc5 rpm package ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwcl−2.30−1.i386.rpm •
glibc rpm package
ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwcl−2.30−glibc−1.i386.rpm
•
•
Linux QuakeWorld server
libc5 tar.gz package
ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwsv−2.30−i386−unknown−linux2.0.tar.gz
•
•
Linux Quake HOWTO
2.2 Installing Quake 5
glibc tar.gz package
ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwsv−2.30−glibc−i386−unknown−linux2.0.tar.gz
•
libc5 rpm package ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwsv−2.30−1.i386.rpm •
glibc rpm package
ftp://ftp.idsoftware.com/idstuff/quakeworld/unix/qwsv−2.30−glibc−1.i386.rpm
•
Capture the Flag client package
ftp://ftp.cdrom.com/pub/quake/planetquake/threewave/ctf/client/3wctfc.zip
•
Other software mentioned:
lha archive utility ftp://sunsite.unc.edu/pub/Linux/utils/compress/lha−1.00.tar.Z. •
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 •

Labels: