[quake2] help with q2lnx

Jack Coates jack at monkeynoodle.org
Tue Nov 4 10:56:39 EST 2003

the // will be handled by the shell, no problem there. The GL thing is
probably a problem, or other incompatibility in the config file. Here's
my setup:
~/bin/runq2 has (among other irrelevant stuff):
artsdsp -m quake2 +set game fear
(artsdsp is a sound system wrapper.)

set sndchannels "2"
set sndbits "16"
set gl_3dlabs_broken "1"
set gl_swapinterval "1"
set gl_ext_compiled_vertex_array "1"
set gl_ext_pointparameters "1"
set gl_ext_multitexture "1"
set gl_ext_swapinterval "1"
set gl_vertex_arrays "0"
set gl_texturesolidmode "default"
set gl_texturealphamode "default"
set gl_texturemode "GL_LINEAR_MIPMAP_NEAREST"
set gl_finish "0"
set gl_shadows "0"
set gl_modulate "1"
set gl_particle_att_c "0.01"
set gl_particle_att_b "0.0"
set gl_particle_att_a "0.01"
set gl_particle_size "40"
set gl_particle_max_size "40"
set gl_particle_min_size "2"
set _windowed_mouse "1"
set gl_ext_palettedtexture "1"
set gl_mode "5"
set gl_driver "libGL.so"

note the gl driver name.

[jack at chupacabra jack]$ locate libGL.so
[jack at chupacabra jack]$ ll /usr/local/games/quake2/libGL.so
lrwxrwxrwx    1 root     root           12 Dec 13  2002
/usr/local/games/quake2/libGL.so -> libMesaGL.so*
[jack at chupacabra jack]$ ll /usr/X11R6/lib/libGL.so
lrwxrwxrwx    1 root     root           12 Sep 22 20:54
/usr/X11R6/lib/libGL.so -> libGL.so.1.2*

Not sure which one of those it's using, but I don't care since it works

On Tue, 2003-11-04 at 07:33, HaywireMac wrote:
> On Tue, 04 Nov 2003 16:16:48 +0100
> matthieu <matthieu at bsdmon.com> uttered:
> > /home/matthieu/prog/quake2//usr/lib/libGL.so.1: cannot open shared 
> looks like it's adding a / in there, which would explain why it can't
> find the file.
> try starting from the command line, within the quake2 dir, like this:
> ./quake2 +set vid_ref glx
> making sure that the the file is actually called "ref_glx.so". I had
> exactly the same problems, and it turned out the my config file was
> showing:
> set vid_ref "gl"
> I also had better luck running the game from
> /usr/local/share/games/quake2, so that it automatically creates and uses
> a config dir in your ~/ called, of course, .quake2.
> HTH!
Jack Coates
Monkeynoodle: A Scientific Venture...

More information about the quake2 mailing list