s i s t e m a o p e r a c i o n a l m a g n u x l i n u x | ~/ · documentação · suporte · sobre |
Next
Previous
Contents
2. Quake/QuakeworldTo install Quake on your Linux system, you'll need some flavor of the official Quake distribution from id. This will be either the retail DOS/Windows CD-ROM that you bought at your favorite software store, or the shareware version you downloaded from the net (see below for details on acquiring the shareware version). Alternatively, if you've already got Quake installed on a DOS/Windows machine, you can use the relevant files from that installation.
2.1 Minimum RequirementsYou will need, as a bare minimum, the following:
Optional:
2.2 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:
The Quake files mentioned in in this section are:
Other software mentioned:
Create the Installation Directory ++The first thing you'll need to do is decide where you want to install
Quake. Lots of folks like to put it in Note to Redhat users: If you plan on installing QuakeWorld from the
So go ahead and create the directory you'll install Quake in, and cd to it. The rest of these instructions will assume that this is your current directory.
Installing From a Quake CD ++If you're installing from a Quake CD-ROM, read on. Otherwise you have permission to skip this section. There are at least two versions of the Quake CD in circulation. I've got
one from the early days that has Quake version 1.01 on it. Iv'e seen
other CDs that contain version 1.06. You have 1.01 if you see files on
your CD called
That's it for installing from the CD. You can jump ahead to section " Installing the Linux Binaries" now.
DOS/Windows to Linux InstallIf you have Quake installed under Windows or DOS on a different machine, you
can transfer the files in 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
Replace The Quake data files are now installed. Move ahead to " Installing the Linux Binaries".
Shareware Version InstallThe single-episode shareware version of Quake is freely available for download from id's ftp site. It has all the features of the full version, with a couple of major limitations: You can't play QuakeWorld with it, and you can't play custom or modified levels. Installing the shareware version of Quake isn't really much different than installing from the CD. See section Download the Necessary Files for the location of the shareware distribution. Download it and extract it to your Quake directory:
Now you've got (among others) a file called
When lha is done, your Quake directory will contain a bunch of new files.
A directory called
Now you're ready to install the Linux binaries.
2.3 Adding the Linux BinariesDecide which of the three flavors of Quake you'd like to install:
Download the packages you want (see section Download the Necessary Files) and extract them to your Quake directory like so:
2.4 Setting PermissionsQuake 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.
If you plan to run
If you've decided it's ok to run
2.5 X11 QuakeIf you installed the X11 client, now's a good time to try it out. You
may need to do further configuration for
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 the CD is mounted. If any of this fails to occur, please see the Troubleshooting section for help.
2.6 SVGAlib QuakeBoth 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.
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:
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.
2.7 GLQuakeHardware-accelerated OpenGL Quake is Quake the way God intended it to be. There is no substitute, and once you've experienced it there's no going back. To run The SVGAlib, Glide, and Mesa libraries must all be installed and
configured properly on your system for Bernd Kreimeier's ( bk@gamers.org) Linux 3Dfx HOWTO ( http://www.gamers.org/dEngine/xf3D/howto/3Dfx-HOWTO.html) is good source for further information. The 3dfx.glide.linux newsgroup on the 3dfx news server (news.3dfx.com) is another good source of information about the intersection of Linux, glide, Mesa and Quake.
SVGAlibglquake uses SVGAlib to get input from the mouse and keyboard, so you'll need to configure it as outlined in section SVGAlib Quake.
GlideGlide is a library that provides an API for programming 3Dfx based cards. If you want the Mesa graphics library to use your 3Dfx card, you've gotta have it. The latest version of glide can always be found at http://glide.xxedgexx.com/3DfxRPMS.html. Select the package(s) appropriate for your system, and install according to the instructions on the web page. Note that unless you download the 3Dfx device driver package in addition
to the Glide library, you will only be able to run Glide applications
(like GLQuake) as root. Install the Once you have glide installed, try out the test program that comes with it. Remember this program: it's a good way to reset your display if you ever have a glide application (like GLQuake) crash and leave your screen switched off. NOTE: run this test from a VC, not X! It's possible for the test app to lose mouse and keyboard focus in X, and then you'll have no way of shutting it down.
Your screen should turn blue and prompt you to hit any key. After you press a key you should be returned to the prompt. 3dfx.glide.linux on 3dfx's news server (news.3dfx.com) is a great source of information for Linux glide-specific problems.
MesaOnce 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:
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. After you've built it according to the instructions, you will have to do two things:
Now switch to a VC (CTRL+ALT+F1) and start glquake.
2.8 Linux-Specific Command Line OptionsThis 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.
2.9 QuakeWorld **http://www.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:
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.
Installing the RPM packages ++Installation of the rpm packages should be as simple as:
Rpm may complain that it can't find
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:
Running QuakeWorld ++Once QuakeWorld is installed alongside your Quake files, you can start it up like:
See section Related Software for info about some nifty front ends for QuakeWorld that make finding servers easy.
2.10 ServersMost, 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:
The official QuakeWorld server manual lives at http://qwcentral.stomped.com.
2.11 Mods & AddonsOne 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 FlagThis 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
For information on running a CTF server, see the web pages mentioned above.
Mission Packs **Activision released two add-on packs of extra levels for Quake, Scourge of Armagon and Dissolution of Eternity.
Quake ToolsAnybody care to contribute some info about qcc, bsp and all that?
Next Previous Contents |