=========================================================================================== Filename: Linux Quake II v.3.20 =========================================================================================== Author: ID Software Home Page: http://www.idsoftware.com/ =========================================================================================== Description: This binaries are the original ID Software Quake II v3.20. The purpose of this readme file, is to help anyone ho likes to run the latest official version of ID Software Quake II Linux Engine. Linux Quake II v3.20 does not supports full screen, so it will run in a window, and also the mouse cursor will always be in the top of the window. =========================================================================================== Installation: To install it, open a console shell and make a quake 2 directory under /usr/local/games: $ mkdir /usr/local/games/quake2 Copy the quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz, to /usr/local/games/quake2. Open a console shell and browse into it: $ cd /usr/local/games/quake2 Untar the quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz: $ tar xvzf quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz Delete the quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz from your main quake2 folder. You can also use other utilities like Ark, just extract the contents of the quake2-3.20-glibc-i386-unknown-linux2.0.tar.gz in your quake2 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.20 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 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. Try run Quake II like this: $ ./quake2 +set vid_ref glx +set gl_driver /usr/lib/libGL.so If you get an error, try like this: $ ./quake2 +set vid_ref glx +set gl_driver /usr/X11R6/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 Windowed mouse. As you can see, Quake II is not grabing your mouse, this is normal to appen, because you will need to bind some keys to make it right. Once inside Quake 2 pull down the console so you can run the following commands for binding the keys, to grab or realest the mouse: $ bind , _windowed_mouse 0 $ bind . _windowed_mouse 1 Now everytime you enter Quake II, all you have to doo, is to press "." key to grab the mouse, and "," key to let it goo. It is important that before you exit Quake II to press the "," key to releast the mouse, or your system may crash. =========================================================================================== Enjoy it. The SIN Raven ===========================================================================================