INSTALL 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. INSTALL for Linux Quake
  2. -----------------------
  3. Quake for Linux provides several different binary executables to support
  4. different hardware and drivers.
  5. Included with Linux Quake are:
  6. - SVGALib Quake (squake)
  7. This is a software renderer Quake that runs at the text console in Linux.
  8. - GLQuake (glquake, glquake.glx and glquake.3dfxgl)
  9. This is a hardware renderer Quake that runs using hardware 3D
  10. acceleration.
  11. - X11 Quake (quake.x11)
  12. Software rendering in a window under X11.
  13. Installation
  14. ------------
  15. Mount the Quake CD as one would usually mount a CDROM, this can be
  16. accomplished by using the command:
  17. mount /dev/cdrom /mnt
  18. As root. Once the CD is mounted, run the setup script on the CD as root.
  19. $ su
  20. Password:
  21. # mount /dev/cdrom /mnt
  22. # /bin/sh /mnt/setup
  23. The script will ask some questions about what options you want to install
  24. and automatically install the software into /usr/local/games/quake.
  25. Requirements
  26. ------------
  27. Requirements for SVGALib Quake:
  28. - SVGALib 1.20 or later (/lib/libvga.so.1.2.10)
  29. - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18)
  30. or glibc (libc6) for the glibc version
  31. - CD-ROM for CDAudio
  32. - Soundcard capable of mmap'd buffers. USSLite 3.5.4 was used to build squake
  33. with. Works fine on SoundBlaster 16 and Gravis Ultrasound MAX.
  34. - SVGALib supported mouse (usually if it works with X, it'll work with
  35. squake).
  36. - Kernel 2.0.24 or later
  37. - untested with 2.1 kernels, your mileage may vary
  38. Requirements for GLQuake:
  39. - 3DFX based card for the GLQuake version, VooDoo, VooDoo Rush or VooDoo2
  40. at this writing. In order to use 3DFX hardware, you must have 3DFX's
  41. GLIDE drivers installed. RPMs for these drivers are available at:
  42. http://glide.xxedgexx.com/3DfxRPMS.html
  43. - For the glX version, an OpenGL implementation that includes hardware
  44. glX support.
  45. - CD-ROM for CDAudio
  46. - Soundcard capable of mmap'd buffers. USSLite 3.5.4 was used to build squake
  47. with. Works fine on SoundBlaster 16 and Gravis Ultrasound MAX.
  48. - SVGALib compatible mouse for glquake or X11 for glquake.glx
  49. - Kernel 2.0.24 or later
  50. - untested with 2.1 kernels, your mileage may vary
  51. Requirements for X11 Quake:
  52. - X11R5 later, only tested with XFree86, should work with most X Servers
  53. - libc 5.2.18 or later (5.0.9 will not work, /lib/libc.so.5.2.18)
  54. or glibc (libc6) for the glibc version
  55. - CD-ROM for CDAudio
  56. - Soundcard capable of mmap'd buffers. USSLite 3.5.4 was used to build squake
  57. with. Works fine on SoundBlaster 16 and Gravis Ultrasound MAX.
  58. - SVGALib supported mouse (usually if it works with X, it'll work with
  59. squake).
  60. - Kernel 2.0.24 or later
  61. - untested with 2.1 kernels, your mileage may vary
  62. Additional notes for SVGALib Quake
  63. ----------------------------------
  64. SVGALib may not detect a 3-button mouse properly (it
  65. will only use two buttons). Check your /etc/vga/libvga.config
  66. and set it up for your mouse type.
  67. Also, newer versions of SVGALib have an mouse_accel_type option. Most
  68. users will want to set this to "off" in /etc/vga/libvga.config.
  69. Additional notes for GLQuake
  70. ----------------------------
  71. There are three different ways to execute GLQuake:
  72. 1. The binary "glquake" requires Mesa 3-D 2.5 or later installed and compiled
  73. with 3DFX support (fxMesa..() function interface). It also requires
  74. svgalib 1.3.0 or later for keyboard/mouse input. This binary is a console
  75. application. Mesa 3-D requires GLIDE to be installed.
  76. 2. The shell script "glquake.3dfxgl" runs the "glquake" binary after
  77. preloading the lib3dfxgl.so library. This is a port of 3DFX's Win32
  78. OpenGL MCD (Mini Client Driver) to Linux. It is faster than Mesa 3-D
  79. since it was written specifically with supporting GLQuake in mind.
  80. lib3dfxgl.so requires that GLIDE be installed.
  81. 3. The binary "glquake.glx" is linked against standard OpenGL libraries.
  82. It should run on many different hardward OpenGL implementations under
  83. Linux and X11. This binary is an X11 application and must be run under
  84. X11. It will work with Mesa 3-D as a standard glX based OpenGL
  85. applications. If the Mesa 3-D library is compiled with 3DFX support,
  86. you can have Mesa 3-D support 3DFX hardware under X11 by setting the
  87. enviroment variable "MESA_GLX_FX" to "fullscreen" for fullscreen mode
  88. and "window" for windowed mode, eg. "export MESA_GLX_FX=fullscreen" for sh
  89. or "setenv MESA_GLX_FX fullscreen" for csh.
  90. For glquake, you must also have SVGALib or later installed (1.3.0 or later
  91. prefered). GLQuake uses SVGALib for mouse and keyboard handling.
  92. If you have gpm and/or selection running, you will have to terminate them
  93. before running GLQuake since they will not give up the mouse when GLQuake
  94. attempts to run. You can kill gpm by typing 'killall gpm' as root.
  95. You must run GLQuake as root or setuid root since it needs to access things
  96. such as sound, keyboard, mouse and the 3DFX video. Future versions may not
  97. require root permissions.
  98. Additional notes for X11 Quake
  99. ------------------------------
  100. This is a windowed version that is generic for X11. It runs in a window
  101. and can be resized. You can specify a starting window size with:
  102. -width <width>
  103. -height <height>
  104. -winsize <width> <height>
  105. Default is 320x200. It works in 16bit modes, but it's slower (twice as many
  106. bytes to copy).
  107. No other video modes are supported (just runs windowed). Mouse is read, but
  108. not "grabbed" by default. Go to the Options menu and turn on Use Mouse to grab
  109. the mouse and use it in the game (or type "_windowed_mouse 1" at the console).
  110. Command Line Options for Linux Quake
  111. ------------------------------------
  112. -mem <mb>
  113. Specify memory in megabytes to allocate (default is 8MB, which should be fine
  114. for most needs).
  115. -nostdout
  116. Don't do any output to stdout
  117. -mdev <device> (SVGALib based versions only)
  118. Mouse device, default is /dev/mouse
  119. -mrate <speed> (SVGALib based versions only)
  120. Mouse baud rate, default is 1200
  121. -cddev <device>
  122. CD device, default is /dev/cdrom
  123. -mode <modenum>
  124. Use indicated video mode
  125. -nokdb
  126. Don't initialize keyboard
  127. -sndbits <8 or 16>
  128. Set sound bit sample size. Default is 16 if supported.
  129. -sndspeed <speed>
  130. Set sound speed. Usual values are 8000, 11025, 22051 and 44100.
  131. Default is 11025.
  132. -sndmono
  133. Set mono sound
  134. -sndstereo
  135. Set stereo sound (default if supported)