From 64d452edd526bb17d81311d36d67d6ac12fdc4eb Mon Sep 17 00:00:00 2001 From: gferg <> Date: Fri, 24 Nov 2006 21:34:50 +0000 Subject: [PATCH] updated --- LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml | 2 +- LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml | 2 +- LDP/howto/linuxdoc/Quake-HOWTO.sgml | 200 ++++++++++++++++--- 3 files changed, 173 insertions(+), 31 deletions(-) diff --git a/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml b/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml index 929af8fa..020f45c0 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/appsSect.sgml @@ -282,7 +282,7 @@ to be used with a Microsoft Exchange Server. Quake-HOWTO, Linux Quake HOWTO -Updated: Jul 2006. +Updated: Nov 2006. How to install, run and troubleshoot Quake, QuakeWorld and Quake II on an Intel Linux system. diff --git a/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml b/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml index 59b89394..2e59737e 100644 --- a/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml +++ b/LDP/howto/docbook/HOWTO-INDEX/howtoChap.sgml @@ -3597,7 +3597,7 @@ alternative to sendmail. Quake-HOWTO, Linux Quake HOWTO -Updated: Jul 2006. +Updated: Nov 2006. How to install, run and troubleshoot Quake, QuakeWorld and Quake II on an Intel Linux system. diff --git a/LDP/howto/linuxdoc/Quake-HOWTO.sgml b/LDP/howto/linuxdoc/Quake-HOWTO.sgml index cd8ca5e7..2f186add 100644 --- a/LDP/howto/linuxdoc/Quake-HOWTO.sgml +++ b/LDP/howto/linuxdoc/Quake-HOWTO.sgml @@ -11,11 +11,11 @@ Author: Steven A -Version: 2.03 +Version: 2.04 -Last updated: 26 July, 2006 +Last updated: 22 November, 2006 @@ -41,11 +41,9 @@ Does all this mean our game is important ? No... It's just fun ;-) About

-This document is not an exhaustive how-to about setting up any particular -program, but an overall guide to Quake, including compilation notes, tips, and -pointers to the best web resources. -It concentrates on the many engine rewrites and incredible add-ons which make -Quake the phenomena it is. +This document is a guide to installing Quake and it's many related games and +modifications. It includes compilation notes, tips and pointers to the best +web resources, as well as some information about Quake II, III and IV. Notation

@@ -743,6 +741,14 @@ Single player games are possible by playing against computer bots. +

+ +This slick looking deathmatch mod is another freely distributable Quake II game. + + +

@@ -883,11 +889,10 @@ the value in the correct procedure. Problems with GCC 4 If you're experiencing core dumps and are using version 4.x of the GNU -compiler (better known as "gcc") disabling the "-O" flag when compiling -programs, or using gcc-3.x may be the answer. This problem is widespread with -gcc-4 and C code with poorly written low level data structures. +compiler, see below. + -Program dies loading level

+ Program dies loading level

@@ -909,7 +914,7 @@ sound section. Sound Problems

-For more information about Linux sound see the section. +For more information see the section. An error such as: "/dev/dsp: Device or resource busy" indicates some program is @@ -952,11 +957,74 @@ Sound stutters or is not very good. + See the sound note in . + + + Try using the -sndspeed or -sndbits option(s), or swapping sound drivers. +

+ +The dynamic nature of GNU/Linux means compiling old software is often hard +work, and even small hurdles are impossible for people not experienced in C +programming. Below are a few relevant issues. + + GCC-4.x

+ + + +The GNU C compiler has recently had a major revision, and +most modern distributions now include GCC-4.1. (To find out which +version you are using, type gcc --version). +The author used GCC-3.2.2 to make this How-To, and people using GCC-4.x may find +extra problems when compiling programs: + + +- snd_scaletable[i][j] = ((signed char)j) * i * 8; ++ snd_scaletable[i][j] = ((j < 128) ? j : j - 0xff) * i * 8; + + + + +If you are having troubles compiling with GCC-4 which weren't there previously, it's +possible to install GCC-3.x alongside 4.x. Most people will want to look for +precompiled packages from their Linux distribution. + +Once GCC-3.x is installed, the program must then be told to compile with this +version rather than the default 4.x. Projects that come with configuration +scripts will often have options for defining which compiler to use (type +./configure --help and look for hints), and other times you be able +to use export CC=gcc32 or edit the Makefile and replace occurrences of +"gcc" with "gcc32" (or "gcc-3.2.2", etc) manually. + + Nvidia Drivers

+ +The latest Nvidia drivers can also cause headaches. Recently they have started +installing their own OpenGL headers by default, which has lead to some +conflicting variable declarations. This is fixed by removing them, +or by uninstalling the drivers (with nvidia-installer +--uninstall) and re-installing with the "--no-opengl-headers" option. + + Other Issues

@@ -1183,8 +1251,9 @@ systems. On a slightly different note - the project is a version of Quake II written in Java. -The multiplayer paintball mod -is also based on Quake II. +The multiplayer mods +and +are also based on Quake II. See the of this how-to for Quake II troubleshooting tips. @@ -1195,11 +1264,6 @@ The third Quake installment was a landmark multiplayer game, with some of the most beautiful and well balanced fragging ever. It was one of the first games to receive a full Linux commercial release. -Recently -released the source code, and you'll find an - project -at Icculus.org. - Most mods should work. The Linux Gamers FAQ reports: Yes, ... modifications work in Linux as long as they are compiled to the @@ -1209,13 +1273,22 @@ Most mods should work. The Linux Gamers FAQ reports: The retail add-on Quake III Team Arena is supported and, despite never getting rave reviews, is a great game. -For an atmospheric Q3 single player conversion visit -, and -check out the alien themed -for an original multiplayer mod. - + + +Sourceforge + + +is an atmospheric Q3 single player conversion. + +Or try the alien themed +for an original multiplayer mod. + @@ -1238,11 +1311,53 @@ All things Quake III at . It is based on the Doom-III engine and has high -hardware specs: A 2GHz cpu and 512meg ram are the official minimum +hardware specs: A 2GHz P4 (or AMD equivalent) and 512meg ram are the official minimum requirements. It's a beautiful game which should really be played with the graphical settings set to "medium" or "high". For this reason the author -recommends against using entry level cards such as the FX5200. Celeron -owners (cough) should have at least a 2400MHz chip. +recommends against using entry level cards such as the FX5200. + +The game runs well under Linux, but still has a couple of issues: + + + + Quake IV only runs in 32 bpp colours (X11 colour depth 24), so restart X in +this mode if you have to. Attempting to run in 16 bpp colours will give you an +error message like: + + Couldn't find matching GLX visual ..... Sys_Error: Unable to initialize OpenGL. + +Alternatively you can start a new X session with the command: + +startx `which quake4` -- :1 -depth 24 + + + The Alsa sound libraries are used by default. To start with OSS sound , type: + +quake4 +set s_driver oss + + + The Quake IV DVD Edition comes with several promotional movies. +Although the movies appear to be Windows executables, they are in fact Bink +videos, and can be viewed with the +. + + + Apart from demanding a quality video +card and CPU, the author found 512meg ram to be slightly insufficient and +performance wasn't great. + +The game ran better after placing the kernel's swap file on a different +hard-drive from the game. To do this, once you have the second disk installed and partitioned, +type (for example) + +swapoff -a +mkswap /dev/hdb2 +swapon /dev/hdb2 + + +if hdb2 is the new swap partition. + + @@ -1363,6 +1478,20 @@ sys_sdl.c: -#include +int psize = _SC_PAGESIZE; + Quake Inspired XTerms

+ + Quake's in-game console is a great feature and has been adopted by many +other games. Now you can also use the 'tilda' key to access X terminal windows. +Both and are projects inspired by this +idea. + + Unfortunately neither are easy to install from source. Yakuake is a KDE +application and needs the KDE development packages, and compiling Tilda is more +complicated. It requires a couple of unusual libraries, and gave this author +compilation errors, so perhaps looking for a RPM package is a better choice. +The author can recommend Yakuake as a very handy X terminal. + Miscellaneous

@@ -1524,6 +1653,11 @@ how to use this powerful unix command. ;-/ cross platform hardware API widely used in Linux games. +ulimit -c setting, a dump of +the program's image (coredump) may be left behind for examination with +the GNU debugger (GDB). + somefile.tar created by the @@ -1561,6 +1695,14 @@ impulses, ezquake. + The Quake How-To is also available as a - and a -. + and a +. The latest version should be available .