view · edit · attach · print · history

The contents of this website are Copyright (c)2005 by Brian Manning <brian at antlinux dot com>. Please do not reuse any of the content on this website without permission from the author.

Quake Notes

Compiling

04Aug2009

Success. Quakeforge 0.5.5 for Debian x86. Found a patch for IPv6:

 --- libs/net/nc/net_udp6.c.orig	2004-05-16 04:21:18.334083592 -0400
 +++ libs/net/nc/net_udp6.c	2004-05-16 04:21:31.513080080 -0400
  -123,6 +123,7 

  netadr_t    net_from;
  netadr_t    net_local_adr;
 +netadr_t    net_loopback_adr;
  int         net_socket;

 static sizebuf_t _net_message_message;

Patch for missing console plugin and instructions on how to compile with GCC 3.4.

Configure line:

 CC=gcc-3.4 ./configure --prefix=/usr/local/stow/quakeforge-0.5.5 \ 
 --disable-static --with-x \ 
 --with-clients=sdl,x11,glx,sgl --with-servers=master,nq,qw,qtv \ 
 --with-tools=bsp2img,carne,pak,qfbsp,qfcc,qflight,qfmodelgen,qfvis,qwaq,wad,wav \ 
 --with-ipv6 --with-ogg=/usr --with-vorbis=/usr
 make
 sudo make install

The file menu.dat.gz needs to live in the id1 directory. You can find this file in the ruamoko/cl_menu directory inside of the compiled Quakeforge source tree.

07Oct2005

Success. Quakeforge 0.5.5 for Debian PPC. Found a patch for IPv6:

 --- libs/net/nc/net_udp6.c.orig	2004-05-16 04:21:18.334083592 -0400
 +++ libs/net/nc/net_udp6.c	2004-05-16 04:21:31.513080080 -0400
  -123,6 +123,7 

  netadr_t    net_from;
  netadr_t    net_local_adr;
 +netadr_t    net_loopback_adr;
  int         net_socket;

 static sizebuf_t _net_message_message;

Configure line:

 ./configure --prefix=/usr/local/stow/quakeforge-0.5.5 \ 
 --disable-static --with-x --with-xmms-prefix=/usr \ 
 --with-clients=sdl,x11,glx,sgl --with-servers=master,nq,qw,qtv \ 
 --with-tools=bsp2img,carne,pak,qfbsp,qfcc,qflight,qfmodelgen,qfvis,qwaq,wad,wav \ 
 --with-ipv6 --with-ogg=/usr --with-vorbis=/usr

The file menu.dat.gz needs to live in the id1 directory. You can find this file in the ruamoko/cl_menu directory inside of the compiled Quakeforge source tree.

09Sep2005

Success on devilduck:

 ./configure --prefix=/opt/quakeforge-0.5.5 --disable-static \ 
 --with-x --with-xmms-prefix=/usr/local --with-clients=sdl,x11 \  
 --with-servers=master,nq,qw,qtv \ 
 --with-tools=bsp2img,carne,pak,qfbsp,qfcc,qflight,qfmodelgen,qfvis,qwaq,wad,wav

Failure on solstice, multiple problems with sound driver variable definitions

 ./configure --prefix=/usr/local/stow/quakeforge-0.5.5 \ 
 --disable-static --with-x --with-xmms-prefix=/usr \ 
 --with-clients=sdl,x11,glx,sgl --with-servers=master,nq,qw,qtv \ 
 --with-tools=bsp2img,carne,pak,qfbsp,qfcc,qflight,qfmodelgen,qfvis,qwaq,wad,wav \  
 --with-ipv6 --with-ogg=/usr --with-vorbis=/usr

Debian Packages

 > I'm trying to use your Quakeforge packages, but there's a package dependency  
 > for 'quake-game', which I don't have installed, is not in your package        
 > archive, and Google doesn't know about it.  Got any idea on how to satisfy the
 > dependency?                                                                   

 quake-game is provided by both quake-lib-stub and quake-shareware; the          
 latter can be found on quakeforge.net.

 <http://www.quakeforge.net/packages/debian/dists/unstable/non-free/binary-all/games/quake-shareware_1.06-1_all.deb>                                            

Install via Debian packages. Add the following lines to /etc/apt/sources.list:

 # quakeforge client
 deb http://www.fbriere.net/debian/dists/stable quakeforge/
 # quake-shareware package
 deb http://www.quakeforge.net/packages/debian unstable contrib non-free

Run apt-get update, then run the following apt-get command:

 apt-get install qfcc quakeforge quakeforge-alsa quakeforge-dev \ 
 quakeforge-glx quakeforge-libs-gl quakeforge-maptools \ 
 quakeforge-servers quakeforge-utils quakeforge-x11 \ 
 xqf quakeforge quake-shareware geoip-bin joystick

Old compile instructions

  • during compilation of QF 0.5.4 client, if you are using the ALSA 1.0 libs, you'll need to rename the file /usr/include/sys/asoundlib.h to something else, as the QF ./configure script does not detect ALSA 1.0, and since it finds that file, it defaults to using ALSA 0.5, which won't compile on an ALSA 0.9 or above system
  • ./configure string:
 ./configure --with-clients=fbdev,glx,x11 --with-servers=master,nq,qw

Running Quake

  • quake
    • Non-OpenGL - nq-x11 +set snd_output sdl +set vid_fullscreen 1
    • OpenGL - nq-glx +set snd_output sdl

Compiling Quake II

  • 01Oct2005, Mac OS X, failed to compile due to warnings being turned into errors (code doesn't compile clean)
 ./configure --prefix=/usr/local/stow/quake2-0.2.1 \ 
 --with-opengl=/usr/X11R6/ --with-x
  • 08Oct2005, host quake, code compiled
 ./configure --prefix=/usr/local/stow/quake2-0.2.1 \ 
 --with-opengl=/usr/X11R6/ --with-x --disable-warn

Running Quake II

  • quake2 +set vid_ref glx +set gl_driver libGL.so

Sound in Quake II currently is not working on machines that use the ALSA sound drivers. Quake II is not ALSA friendly, it wants to use the OSS sound drivers, the ALSA OSS emulation apparently doesn't do what Quake II is asking for.

view · edit · attach · print · history
Page last modified on August 04, 2009, at 06:11 PM