=========================================================================================== Filename: Linux Quake II v.3.21-1 =========================================================================================== Author: The SIN Raven Version Date: 26/04/2005 Email Address: thesinraven@netvisao.pt Home Page: www.markshan.com/thesinraven/default.asp =========================================================================================== Description: This binaries where compiled ussing ID Software Quake II source code v3.21 with no changes to the code. Quake II v3.21, add support for GL_ARB_multitexture. This supports the new multitexture extensions and deprecates GL_SGIS_multitexture. Linux OpenGL X11 handling completely rewritten. Support for XF86DGA Mouse and fullscreen resolution support added. =========================================================================================== Installation: To install it, just copy the quake2-3.21-i386-1.tar.gz, to /usr/local/games. Open a console shell and browse into it: $ cd /usr/local/games Untar the quake2-3.21-i386-1.tar.gz: $ tar xvzf quake2-3.21-i386-1.tar.gz Delete the quake2-3.21-i386-1.tar.gz from your main games folder. You can also use other utilities like Ark, just extract the contents of the quake2-3.21-i386-1.tar.gz in your games folder. Quake2.conf. For security reasons, there is a quake2.conf file, which tells Quake II where to find the rendering libraries (ref_*.so) it needs. It contains only one line, which should be the path to your Quake II installation. Quake II looks for this file in /etc. You need to create it like so: $ cd /usr/local/games/quake2 $ pwd > /etc/quake2.conf $ chmod 644 /etc/quake2.conf Permissions. Quake2 requires root permissions to use the software (SVGALib) and GL (MesaGLw/3dfx) renders. In order to make this secure, some special considerations must be made. Quake2 should get setuid root: $ cd /usr/local/games/quake2 $ chown root quake2 $ chmod 4711 quake2 Be aware that you will also need at least Quake II game data. To install the game data, just follow the instructions: To install the Quake2 gamedata from game CD: ------------------------------- Install dir is wherever you want to install quake2(usually /usr/local/games/ quake2), and cdromdir is wherever you mount the Quake 2 CD-ROM(usually /mnt/ cdrom) 1. copy /Install/Data/baseq2/pak0.pak to /baseq2/ 2. copy /Install/Data/baseq2/video/ to /baseq2/ (optional) 3. download q2-3.20-x86-full.exe from ftp://ftp.idsoftware.com/idstuff/quake2/ or a mirror site, and extract the contents to a temporary directory (use unzip -L, as this is a standard zip file). 4. copy /baseq2/pak1.pak to /baseq2/ 5. copy /baseq2/pak2.pak to /baseq2/ 6. copy /baseq2/players/ to /baseq2/ 7. if you really want to use the crakhor model, you can find the skins/sounds on websites like http://www.mike-d.com/games/modskins.html (optional) To install the "The Reckoning" Mission Pack (Xatrix): ----------------------------------------------------- 1. copy /Data/all/pak0.pak to /xatrix/ 2. copy /Data/max/xatrix/video/ to /xatrix/ (optional) 3. when starting quake2, use "+set game xatrix" on the command line To install the "Ground Zero" Mission Pack (Rogue): -------------------------------------------------- 1. copy /Data/all/pak0.pak to /rogue/ 2. copy /Data/max/Rogue/video/ to /rogue/ (optional) 3. when starting quake2, use "+set game rogue" on the command line To install the "Zaero" Mission Pack (Team Evolve): -------------------------------------------------- 1. copy /zaero/pak0.pak to /zaero/ 2. copy /zaero/video/ to /zaero/ (optional) 3. when starting quake2, use "+set game zaero" on the command line To install the CTF mod: -------------------------------------------------- To run Capture The Flag, you need to do the following: 1. download q2-3.20-x86-full-ctf.exe from ftp://ftp.idsoftware.com/idstuff/ quake2 2. unzip that file (using unzip -L) in a temp directory 3. copy ctf to /ctf 4. quake2 +set game ctf 5. on the console enter "map Q2CTF1" that will load up the first ctf map. For the other maps use Q2CTF2, etc. =========================================================================================== Notes: For more detailed documentaction about Quake II linux installation, see the Readme in quake2 folder, located in /usr/local/games/quake2. =========================================================================================== Running Quake II: To run the Linux Quake II v.3.21-1 type in a konsole: $ cd /usr/local/games/quake2 Software rendering under X11 ref_softx (no hardware accelaration required) $ ./quake2 +set vid_ref softx Hardware OpenGL implementations under Linux and X11 ref_glx (Nvidia - ATI) $ ./quake2 +set vid_ref glx +set gl_driver /usr/lib/libGL.so Hardware OpenGL implementations under Linux and X11 ref_glx (3dfx) To be able to run Quake II with opengl extensions in linux ussing 3dfx hardware, you will need to use mesa: http://www.mesa3d.org/, and also Glide3x: http://sourceforge.net/projects/glide, this is really quite simple to doo, all you have to doo is to follow the documentation instructions, but if you have any trouble doing it, please contact me and i will try to help you. It worked for me at first attempt in mine Voodoo 5, and Voodoo 3. If you used the default mesa-lib installation patch run Quake II like this: $ ./quake2 +set vid_ref glx +set gl_driver /usr/local/lib/libGL.so If you installed the mesa-lib in /usr/lib run Quake II like this: $ ./quake2 +set vid_ref glx +set gl_driver /usr/lib/libGL.so You will only need to run Quake2 for Linux with the renderers commands the first time you run Quake II. It will create the Quake II config in /usr/local/games/quake2/baseq2. You will need to set permissions to the config.cfg: $ cd /usr/local/games/quake2/baseq2 $ chmod 774 config.cfg Now every time you run Quake II, you will only need to doo the following: $ cd /usr/local/games/quake2 $ ./quake2 =========================================================================================== Enjoy it. The SIN Raven ===========================================================================================