Quake 2 LOX Mod Installation on Linux

Quake 2 version 3.21 Installation ..

LOX Linux Docs

Now we are going to configure and compile the newest version of Quake 2 for Linux, version 3.21 provided by http://icculus.org/quake2/. This is very important for running the latest and greatest version of LOX v1.12.8, it will crash otherwise.

11. You can download the files a few different ways, but for this example we will use the CVS method. First let's prepare a place to work and download the files:

# mkdir /home/q2user/new_q2
# cd /home/q2user/new_q2

- Login to cvs.icculus.org with password: anonymous

# cvs -d:pserver:anonymous@cvs.icculus.org:/cvs/cvsroot login

- Download, via CVS, all the files into the directory "quake2"

# cvs -z3 -d:pserver:anonymous@cvs.icculus.org:/cvs/cvsroot co quake2

12. Change directory to the "quake2" directory and edit the Makefile to better suit our needs of a dedicated lean and mean server only. The Makefile controls which settings get compiled into the new binary. Open up the Makefile with vi or any other editor and set Build_Dedicated to YES and the following items to NO:

# cd quake2
# vi Makefile

BUILD_SDLQUAKE2=NO      # sdlquake2 executable (uses SDL for cdrom and sound)
BUILD_SVGA=NO           # SVGAlib driver. Seems to work fine.
BUILD_X11=NO            # X11 software driver. Works somewhat ok.
BUILD_GLX=NO            # X11 GLX driver. Works somewhat ok.
BUILD_FXGL=NO           # FXMesa driver. Not tested. (used only for V1 and V2).
BUILD_SDL=NO            # SDL software driver. Works fine for some people.
BUILD_SDLGL=NO          # SDL OpenGL driver. Works fine for some people.
BUILD_CTFDLL=NO         # game$(ARCH).so for ctf
BUILD_XATRIX=NO         # game$(ARCH).so for xatrix (see README.r for details)
BUILD_ROGUE=NO          # game$(ARCH).so for rogue (see README.r for details)
BUILD_JOYSTICK=NO       # build in joystick support
BUILD_ARTS=NO           # build in support for libaRts sound.
BUILD_ALSA=NO           # build in support for ALSA (default sound on 2.6)
BUILD_DEDICATED=YES     # build a dedicated quake2 server
BUILD_AA=NO             # build the ascii soft renderer.
BUILD_QMAX=NO           # build the fancier GL graphics
BUILD_RETEXTURE=NO      # build a version supporting retextured graphics
BUILD_REDBLUE=NO        # build a red-blue 3d glasses renderer...
STATICSDL=NO

13. Now we'll build the new q2ded binary and gamei386.so files with the make command:

# make

14. Rename and replace the old gamei386.so file and install the new q2ded server binary in the quake2 and baseq2 directories:

# mv /home/q2user/quake2/baseq2/gamei386.so /home/q2user/quake2/baseq2/gamei386.so.old
# mv releasei386/gamei386.so /home/q2user/quake2/baseq2/
# mv releasei386/q2ded /home/q2user/quake2/
# chown -R  q2user:q2user /home/q2user/quake2/*
DataCabin web hostingClan WOS WOS Home | Forums | Well of Souls Gaming Community