#!/bin/csh ############################### # Blake C. Lewis # ccblake@atc.missorui.edu # 1999-7-21 # Updated September 20, 1999 ############################## # the default installation path. change it if different. cd /usr/local/games/quake2 # For meaning of MESA environmental variables see README.3dfx in the mesa source. setenv MESA_FX_INFO 1 setenv MESA_GLX_FX fullscreen #------------------------------------------------------------------------------------- # for a list of 3Dfx envirnomental variables see # http://www.bahnhof.se/~engstrom/e_3dfxvars.htm # these lines between the ****** take them out if your system hangs # The last three of these are not good for SLI #************************************************************************************** setenv FX_GLIDE_SWAPINTERVAL 0 ************ Voodoo Graphics Specific setenv SST_SWAP_EN_WAIT_ON_VSYNC 0 setenv SST_VSYNC 0 setenv SST_FASTPCIRD 1 setenv SST_FASTMEM 1 setenv SST_PCIRD 1 ************ VoodooII Specific ** NOT FOR SLI *********** setenv SSTV2_SWAP_EN_WAIT_ON_VSYNC 0 setenv SSTV2_VSYNC 0 setenv SSTV2_FASTPCIRD 1 setenv SSTV2_FASTMEM 1 setenv SSTV2_PCIRD 1 ************ VoodooIII Specific setenv SSTH3_SWAP_EN_WAIT_ON_VSYNC 0 setenv SSTH3_VSYNC 0 setenv SSTH3_FASTPCIRD 1 setenv SSTH3_FASTMEM 1 setenv SSTH3_PCIRD 1 #************************************************************************************** #-------------------------------------------------------------------------------------- # The line +set gl_mode 3 can be changed to get the resolution you want. # 3 = 640x480 only one that works with the libMesaGL.so that comes with quake2 # 4 = 800x600 # 6 = 1024x768 # the $* is so you can specify other command line arguments. Like +connect : #-------------------------------------------------------------------------------------- ./quake2 \ +set vid_ref glx \ +set gl_driver libMesaGL.so.2.6 \ +set gl_mode 3 \ +set vid_fullscreen 0 \ +set in_mouse 1 \ +set in_initmouse 1 \ +set _windowed_mouse 1 \ +set game ctf \ $*