wqreadme.txt 46 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120
  1. --------------------------
  2. | wqreadme.txt |
  3. | WinQuake documentation |
  4. | 3/21/97 |
  5. --------------------------
  6. WinQuake (WQ) is a native Win32 version of Quake, and will run on
  7. either Win95 or Windows NT 4.0 or later. It is designed to take
  8. advantage of whatever enhanced video, sound, and input capabilities
  9. (such as DirectX or VESA VBE video modes) are present, but has
  10. fallback functionality so it can run on any Win95 or NT 4.0 or later
  11. system, even if neither DirectX nor VESA VBE is available. You may
  12. experience problems running WQ on some systems, because driver and
  13. operating-system support for game functionality are not yet mature
  14. under Win32, and many bugs and incompatibilities remain in those
  15. components. If you encounter what seems to be a bug, first please
  16. check through the list of known problems, below. If your problem
  17. doesn't appear on the list, please fill out and submit the WQ bug
  18. report at http://www.idsoftware.com/contact/.
  19. The material accompanying Quake is the reference for all
  20. non-Windows-related matters concerning WinQuake; in terms of gameplay,
  21. WQ is the same as Quake. This file contains Windows-related
  22. information only.
  23. The rest of this document is organized as follows:
  24. Installing and running WinQuake
  25. Common problems and workarounds
  26. A bit about how WQ video works
  27. Video command-line switches
  28. A bit about how WQ sound works
  29. Sound command-line switches
  30. Notes on networking
  31. Notes on the mouse
  32. Log of changes to documentation
  33. Special thanks
  34. -----------------------------------
  35. | Installing and running WinQuake |
  36. -----------------------------------
  37. In order to run WinQuake, you must first have Quake installed.
  38. Assuming Quake is installed in the standard directory, c:\quake,
  39. unzip the WinQuake zip file into c:\quake. The following files
  40. from the zip file must be present in order for WQ to run:
  41. winquake.exe
  42. pmpro16.dll
  43. pmpro32.dll
  44. wdir16.dll
  45. wdir32.dll
  46. wdirnop.com
  47. wdirnop.pif
  48. Then you can run WinQuake by making c:\quake the current directory,
  49. typing "winquake" and pressing the Enter key. Alternatively, you can
  50. use wq.bat to run WinQuake. The wq batch file requires one parameter
  51. describing how to configure WQ for performance; just type "wq" to get
  52. a list of the six options. The first of the six options is
  53. wq fast
  54. This is the same as typing "winquake"; this runs WinQuake in an
  55. aggressive configuration that is likely to yield the best performance
  56. if it runs successfully on your system, but which has a risk of
  57. causing WinQuake or even your system to crash if there are bugs or
  58. incompatibilities in your video or sound drivers. Alternatively, you
  59. can use
  60. wq safe
  61. to run WinQuake in a conservative configuration, likely to run
  62. on almost all machines with no problems, but possibly with slower
  63. graphics, fewer high-resolution modes, and delayed sound. Or you
  64. can run
  65. wq verysafe
  66. to run WinQuake in a very conservative configuration that is pretty
  67. much guaranteed to run, but will probably have slow performance, and
  68. will have no sound. Two other options are
  69. wq fastvid
  70. which has maximum video performance, but greater sound latency (delay
  71. until the sound is heard), and
  72. wq fastsnd
  73. which uses more conservative video modes, but low-latency sound.
  74. (One odd note is that DirectSound has much lower-latency sound than
  75. wave sound, but is currently quite a bit slower overall. Thus you
  76. may find that "wq fastvid" is actually faster, by as much as 5-10%,
  77. than "wq fast"; however, it may not feel faster, because the sound
  78. will lag.)
  79. Finally, you can use
  80. wq max
  81. which is the same as wq fast, but turns on DirectInput, which
  82. provides more responsive mouse control, but does not work properly
  83. on all systems.
  84. Note that DirectX is not required for WQ to run, but WQ will
  85. automatically take advantage of DirectSound and DirectDraw if they
  86. are present. If DirectSound is not present, there will generally be
  87. considerable sound latency (sound will become audible several hundred
  88. milliseconds after the event that caused it). Note also that there
  89. are currently no true DirectSound drivers for Windows NT, so WQ will
  90. always run using wave output on NT, and will consequently have lagged
  91. sound. See below for information about obtaining DirectX if you do
  92. not have it.
  93. Note that VESA VBE modes aren't required for WQ to run, but WQ will
  94. automatically make VESA modes available if they're present. Your BIOS
  95. may already have VESA VBE 2.0 support built in, but most BIOSes
  96. don't. Worse, some BIOSes do have VESA VBE 2.0 built-in, but have
  97. buggy implementations, which may prevent you from being able to run
  98. the faster configurations of WQ. An easy way to get reliable VESA 2.0
  99. support is by obtaining SciTech Display Doctor; see below for
  100. further information. WQ can also use VBE/AF 1.0 and greater modes;
  101. again, SciTech Display Doctor is the commonest way to get VBE/AF
  102. support.
  103. Note that winquake -dedicated completely replaces the old winded
  104. dedicated Win32 server, which is now obsolete.
  105. WinQuake normally uses half the physical memory in your system for its
  106. heap, but not less than 8.5 Mb and not more than 16 Mb. You can
  107. override this with "-heapsize n", where n is the amount of memory to
  108. allocate for the heap, in Kb.
  109. To use the joystick, you must bring down the console by pressing the
  110. tilde ('~') key, and type "joystick 1<enter>"; you can disable the
  111. joystick with "joystick 0<enter>" at any time. The joystick setting
  112. remains in effect for subsequent WinQuake sessions until changed, so
  113. you only need to do joystick 1 once to enable the joystick. If the
  114. joystick somehow causes problems that keep you from being able to run
  115. WinQuake at all, you can start WinQuake -nojoy to complete disable the
  116. joystick for that session.
  117. -----------------------------------
  118. | Common problems and workarounds |
  119. -----------------------------------
  120. WQ crashes or won't run
  121. -----------------------
  122. If WQ refuses to run or crashes on your system, try running
  123. it using "wq safe" or "wq verysafe". Or you can use command-line
  124. switches:
  125. winquake -nodirectdraw -nowindirect -wavonly
  126. This will almost certainly solve your problem; however, it may result
  127. in lagged sound (a long delay from action to hearing the sound), may
  128. result in fewer or slower high-res video modes, and the mouse may be
  129. somewhat less responsive. If this does work, you can try removing
  130. each of the command-line switches until you identify the one that
  131. fixes the problem, thereby sacrificing as little functionality as
  132. possible.
  133. If the above command line does not fix your problems, try:
  134. winquake -dibonly -nosound
  135. which forces WQ into silent operation with bare-bones video support
  136. and no use of DirectInput for mouse input (the normal Windows mouse
  137. APIs are used instead). Again, if this works, try removing switches
  138. until you identify the needed one.
  139. Both of the above command lines are quick fixes. Often, the problem
  140. is caused by outdated or buggy DirectX drivers or code, and can
  141. frequently be completely fixed simply by installing the latest
  142. Microsoft-supplied version of DirectX, which you may be able to find
  143. on http://www.microsoft.com/mediadev/download/directx.exe, although
  144. the availability and location of the DirectX file changes
  145. periodically; note that at last check, this is a 3.4 Mb file. (Be
  146. aware, though, that sometimes Microsoft's DirectX drivers don't
  147. support features that the manufacturers' drivers do support, such as
  148. display refresh rate control.)
  149. One known problem of this sort involves the current SB16 drivers from
  150. Creative Labs, which cause WQ to crash on some machines. The
  151. DirectSound drivers from Microsoft, available via the above-mentioned
  152. URL, fix this problem.
  153. It can also sometimes help to get the latest Windows drivers for your
  154. video adapter or sound card (although as the SB16 example indicates,
  155. this is not always a good idea), and for video boards that have flash
  156. BIOSes, it can sometimes help to get the latest BIOS upgrade.
  157. How do I select fullscreen or windowed WQ operation?
  158. ----------------------------------------------------
  159. Check out WQ's new, spiffy Video menu, accessible from the Options
  160. menu. There are now two types of modes listed, windowed and
  161. fullscreen. You can make any of these modes the current and/or
  162. default mode, just as in DOS Quake. If you make a windowed mode the
  163. default, WQ will still briefly start up in fullscreen mode, then
  164. switch to windowed; if this is a problem, use the -startwindowed
  165. command-line switch. More complete video control is available
  166. through the console, as described in the "A bit about how WQ video
  167. works" section, below.
  168. Gee, I wish I could use a mouse to play WQ with in a window
  169. -----------------------------------------------------------
  170. You can! While in a windowed mode, go to the Options menu. At the
  171. bottom, you'll find a new selection that lets you choose to have the
  172. mouse active when you're in a window. Of course, if you do this,
  173. you'll have to use the keyboard (Alt-Tab, the Windows key, Ctrl-Esc,
  174. Alt-Esc, or Shift-Alt-Tab) to switch away from WQ.
  175. Serial/modem menu is missing
  176. ----------------------------
  177. WQ currently does not support direct connect serial or modem play.
  178. DOS Quake reports unknown variables on startup after running WQ
  179. ---------------------------------------------------------------
  180. WQ uses some console variables that do not exist in DOS Quake, and
  181. some of these are automatically archived in config.cfg when you exit
  182. WQ. If you then start DOS Quake, DOS Quake will complain that it
  183. doesn't recognize those variables. You will also lose the settings
  184. of these variables when you return to WQ. Apart from losing the
  185. settings, this is harmless; ignore it.
  186. Problems running WQ on NT 3.51
  187. ------------------------------
  188. NT 3.51 isn't supported by WQ.
  189. WQ crashes while switching modes or Alt-Tabbing
  190. -----------------------------------------------
  191. So far, all cases of this seem to be tied to Creative Lab's SB16 sound
  192. drivers, and have been fixed by getting the latest DirectX drivers, as
  193. described above. Alternatively, you should be able to fix this either
  194. by not switching modes or Alt-Tabbing, or by running -wavonly to
  195. disable DirectSound support.
  196. WQ sometimes runs pretty slowly fullscreen
  197. ------------------------------------------
  198. There are several possible reasons for this, starting with "You have a
  199. slow computer." Assuming that's not the case, if you don't have
  200. either DirectDraw or SciTech Display Doctor installed (see the "A bit
  201. about how WQ video works" section), it would probably be a good thing
  202. to install one or the other, because slow operation can be a result
  203. of slow copying or stretching of pixels to the screen by a Windows
  204. driver, something that's eliminated by both DirectDraw and Display
  205. Doctor. You can also sometimes get a faster 320x200 mode on Win95 by
  206. doing vid_describemodes, then using vid_mode to select a non-VGA
  207. 320x200 mode, as described in the "A bit about how WQ video works"
  208. section.
  209. You can also try using a primary sound buffer on Win95 (this doesn't
  210. work on NT) by using the -primarysound command-line switch; this can
  211. improve performance by several percent, but does not work on all
  212. systems, and can result in odd sound effects on some systems when
  213. minimizing WQ or switching the focus away from it. If you use this
  214. switch, please don't report sound bugs; it's in there purely for you
  215. to use if it helps you, and we know it has problems on many systems.
  216. Finally, you can use -wavonly to select wave sound; this will increase
  217. your sound latency (sounds will be heard later than they should), but
  218. allows WQ to run 5-10% faster on some systems. That's about all you
  219. can do to speed up fullscreen WQ on Win95, other than shrinking the
  220. active area of the screen with the screen size control in the Options
  221. menu.
  222. NT 4.0 comes with DirectX installed, but doesn't have any resolutions
  223. lower than 640x480. In order to support a lower-resolution 320x240
  224. mode, WQ has NT double each pixel in both directions to get enough
  225. pixels for 640x480. The extra stretching costs some performance, the
  226. result being that NT can seem sluggish on all but high-end Pentiums
  227. and Pentium Pros. (In fact, depending on the quality of your driver's
  228. stretching code, it can sometimes be faster to run WQ at 640x480 than
  229. 320x240-stretched on NT.) One thing that can help on NT is switching
  230. to 640x480, then using the Options menu to shrink the active area of
  231. the screen.
  232. A common cause of slowness running in a window is having the desktop
  233. run in 16- or 32-bpp mode. WQ is an 8-bpp application, and it slows
  234. things down if pixels have to be translated from 8-bpp to 16- or
  235. 32-bpp. (Note that this is generally a problem only when running in a
  236. window; fullscreen apps rarely suffer from this.)
  237. Sound is sluggish on NT
  238. -----------------------
  239. NT doesn't have any real DirectSound drivers yet, so there's no way to
  240. do quick-response sound on NT. When DirectSound drivers for NT
  241. appear, WQ's sound should automatically be snappier.
  242. Sound breaks up or gets choppy, especially in menus
  243. ---------------------------------------------------
  244. This is generally a sign that WQ's frame rate is too low on your
  245. system. Try reducing resolution or shrinking the active area of the
  246. screen. In some circumstances, it may help to set the console
  247. variable _snd_mixahead to a larger value.
  248. The color black doesn't change with palette flashes sometimes
  249. -------------------------------------------------------------
  250. Normally, DirectDraw lets WQ change all 256 colors, so when a palette
  251. flash happens, we can change all the colors, including black.
  252. However, on NT DirectDraw currently doesn't allow changing black;
  253. likewise, on both NT and Win95, black can't be changed in a window,
  254. either a normal window or fullscreen. Consequently, in some modes and
  255. in a window, some parts of the WQ screen (such as the sigils on the
  256. status bar and the spray where a shotgun blast hits) stay black when
  257. the palette flashes. There is no workaround.
  258. Problems can result if Office shortcut bar is running
  259. -----------------------------------------------------
  260. Various odd behaviors, especially with sound, have been reported if
  261. the Office shortcut bar is running while WQ is running. If you
  262. experience odd problems, you might try shutting down the Office
  263. shortcut bar and see if that fixes anything.
  264. Other apps fail to play sound while WinQuake is running
  265. -------------------------------------------------------
  266. The sound hardware is currently not a fully shareable resource on
  267. Win32. Consequently, while WQ is running, it always has the sound
  268. hardware allocated to itself, to make sure that sound is never lost to
  269. another app. This means that normally (when WQ is using DirectSound),
  270. apps that use wave sound (most non-game apps) will not be able to play
  271. sound while WQ is running, even if WQ is minimized or not the active
  272. app, although other DirectSound apps will be able to play sound when
  273. WQ is not the active app. If WQ is using wave sound rather than
  274. DirectSound (either because -wavonly is used on the command line, or
  275. because there is no DirectSound driver, as is always the case on NT),
  276. then no other app will be able to play any sound while WQ is running,
  277. period.
  278. WQ doesn't have quite the right colors when it’s not the active app
  279. -------------------------------------------------------------------
  280. We're working on fixing this. But WQ puts everything back again as
  281. soon as it is reactivated, and anyway, when it’s not active, you can’t
  282. actually do anything in WQ, so it doesn’t really matter anyway, right?
  283. Desktop is weird colors when WQ runs windowed
  284. ---------------------------------------------
  285. WQ needs all 256 colors to look right and run fast, which causes it to
  286. have to change some of the 20 colors used to draw the desktop.
  287. Sometimes Permedia boards crash unless -nowindirect is used
  288. -----------------------------------------------------------
  289. It looks like this is probably a Permedia driver bug, so it might help
  290. if you get the most recent drivers.
  291. Right-click on WQ button in task bar to close doesn’t work as expected
  292. ----------------------------------------------------------------------
  293. In some modes, right-clicking on the WQ task bar button doesn't work
  294. the way you'd expect. We're trying to fix this, but if it's a
  295. problem, don't right-click.
  296. Screen saver never kicks in when running WQ fullscreen
  297. ------------------------------------------------------
  298. It does work windowed, but when WinQuake is fullscreen, it completely
  299. owns the screen and doesn't share it with anyone, even the
  300. screensaver. If you use Alt-Tab to minimize WQ, the screensaver will
  301. then be enabled, so Alt-Tab away from WQ if you're leaving your
  302. computer alone for a while and want the screensaver to be able to kick
  303. in.
  304. WQ doesn’t work in a window in 16-color mode
  305. --------------------------------------------
  306. That’s 16 *colors*, not 16-bpp. If you’re still running a 16-color
  307. desktop, run WQ fullscreen.
  308. Can't minimize window while mouse active
  309. ----------------------------------------
  310. When running in a window with the mouse active as a WQ input device,
  311. there is no easy way to minimize the window, because the system menu
  312. can't be brought up from the keyboard (because some of you use Alt
  313. and Spacebar for playing the game), and the mouse can't be used to
  314. manipulate the window because it's controlling WQ. To minimize, you
  315. can disable the mouse for WQ and use it to minimize the window. Or
  316. on Win95 you can Alt-Tab away from WQ, then use the mouse to
  317. minimize (this doesn't work on NT, where clicking on the window
  318. controls just reactivates WQ). Or you can bind a key to the
  319. vid_minimize command, as in
  320. bind m "vid_minimize"
  321. and press that key to minimize the window.
  322. Window controls don't work on NT when mouse enabled
  323. ---------------------------------------------------
  324. When running in a window on NT with the mouse enabled (so you can use
  325. the mouse to play WQ), if you Alt-Tab away from WQ, then use the mouse
  326. to click on the WQ system menu control, or the minimize, maximize, or
  327. close controls, the controls are ignored and WQ just reactivates.
  328. Mouse sometimes vanishes in system menu on Win95
  329. ------------------------------------------------
  330. On Win95, if WQ is running in a window with the mouse enabled (so you
  331. can use the mouse to play WQ), if you Alt-Tab away, then click on the
  332. system menu, the menu comes up, but the mouse vanishes. However, you
  333. can still use the keyboard to select system menu items, or to exit
  334. the system menu.
  335. WQ behaves oddly if Scandisk starts defragmenting
  336. -------------------------------------------------
  337. If WQ is running fullscreen on Win95 when Scandisk starts an automatic
  338. defragging, WQ is forced to minimize, and when it is brought back up,
  339. may either be in a strange mode where it runs one frame for each
  340. keystroke (in which case Alt-Tab generally fixes things), or may hang
  341. the system. We don't know what the problem is right now, but you may
  342. want to make sure you don't leave WQ sitting there fullscreen
  343. overnight if you have automatic defragging.
  344. Hang reported with zero sound volume
  345. ------------------------------------
  346. When sound is turned all the way down via the WQ menus, hangs have
  347. been reported.
  348. Joystick worked fine with earlier versions of WinQuake but not now
  349. ------------------------------------------------------------------
  350. The joystick was enabled by default in earlier versions of
  351. WinQuake, but quite a few people reported serious problems that
  352. forced them to disable the joystick--even some people who didn't
  353. have a joystick attached. Since most people don't have joysticks,
  354. we've decided to disable the joystick by default, and let people
  355. who do want to use it set joystick 1 in the console (WinQuake
  356. remembers this setting, so this only needs to be done once).
  357. WQ runs very slowly when it has the focus under NT
  358. --------------------------------------------------
  359. In one case, WQ ran very slowly when it had the focus, but fast when
  360. it didn't (obviously this is only visible in windowed modes). The
  361. problem turned out to be that NT had a Sidewinder 3D Pro joystick
  362. driver installed; when the driver was removed, things were fine.
  363. If you see a similar problem, check whether WQ is detecting that
  364. your system has a joystick when you don't think it should; if so,
  365. try doing "joystick 0", or -nojoy on the command line, and see if
  366. that fixes it. If so, there's something flaky in your system
  367. joystick setup.
  368. Joystick doesn't seem calibrated properly
  369. -----------------------------------------
  370. WQ relies on the information about your joystick stored in the
  371. system registry. If the joystick seems miscalibrated, run the
  372. joystick applet and recalibrate and see if that fixes things.
  373. Playdemo fails across multiple levels
  374. -------------------------------------
  375. If "record" is used to record a client-side demo, bad things will
  376. happen on playback via playdemo if a level change is recorded.
  377. (Timedemo works fine.) This is unfortunate, but WinQuake
  378. internals make this not fixable without a good chance of
  379. breaking something more important, so it'll have to stay this way.
  380. Alt-Tab fullscreen only works sometimes
  381. ---------------------------------------
  382. I know it seems that way, but actually the trick is that on Win95
  383. it only works if you let go of Tab before you let go of Alt.
  384. This is due to a Windows quirk involving what key sequences are
  385. passed along, so you'll have to work around it by remembering to
  386. let go of Tab first.
  387. MS-DOS windows get scrunched on Alt-Tab
  388. ---------------------------------------
  389. This is a quirk of Windows; when you run WinQuake in a low-res
  390. mode, sometimes when you exit WinQuake or Alt-Tab back to the
  391. desktop, any open MS-DOS windows will be scrunched down to the
  392. size of the low-res mode. There is no known workaround.
  393. Dprint in progs doesn't work
  394. ----------------------------
  395. Dprint means "developer print," so it only works if the developer
  396. console variable is set to 1. It was a bug in earlier versions that
  397. it worked even when developer was set to 0.
  398. Some DirectDraw modes flicker badly and look wrong
  399. --------------------------------------------------
  400. Page flipping doesn't work properly in some modes on some
  401. systems, particularly when using some DirectDraw modes. You
  402. can work around this by setting the console variable
  403. vid_nopageflip to 1, then setting the desired mode (note
  404. that the vid_nopageflip setting does not take effect until
  405. the next mode set after the setting is changed). Bear in
  406. mind, though, that the vid_nopageflip setting is remembered
  407. until it is explicitly changed again, meaning that once you
  408. change it, it thereafter applies to all modes, even if you
  409. exit and restart WinQuake.
  410. The Windows key doesn't do anything fullscreen on Win95
  411. -------------------------------------------------------
  412. True. This is a minor bug we haven't figured out how to fix yet.
  413. You'll have to use Ctrl-Esc, Alt-Tab, or Alt-Esc to switch away.
  414. My default mode is windowed, but WQ goes fullscreen first
  415. ---------------------------------------------------------
  416. For internal reasons, WQ has to pick a single mode to always
  417. initialize when it starts up, before it sets whatever default you've
  418. selected. We've chosen fullscreen mode, because that's the way most
  419. people will play. If this is a problem for you, however, you can
  420. run WQ with the -startwindowed command-line parameter.
  421. Some high-resolution video modes flicker or fail to initialize
  422. --------------------------------------------------------------
  423. We think these problems are all fixed, but if not, they have to
  424. do with triple-buffering in some modes on some DirectDraw drivers.
  425. If you encounter this problem, either don't use the problem modes
  426. or try using the -notriplebuf command-line parameter to turn off
  427. triple buffering. Note, though, that turning off triple-buffering
  428. can reduce performance in some modes, so do this only if needed.
  429. Right-click doesn't work right on minimized WinQuake
  430. ----------------------------------------------------
  431. If you right-click on minimized WinQuake on the task bar, the
  432. Close selection in the right-click menu doesn't work; you have
  433. to restore WQ before you can exit it. Also, the cursor vanishes
  434. over the right-click menu, although it still works.
  435. The screen briefly blanks when you exit WQ
  436. ------------------------------------------
  437. We're trying to fix this, but it's not harmful, just a mite ugly.
  438. QBENCH doesn't work with WinQuake
  439. ---------------------------------
  440. We've had a report that QBENCH doesn't work with WinQuake, but
  441. haven't had a chance to look into it yet.
  442. MWAVE sound loses focus
  443. -----------------------
  444. We've had a report that on a ThinkPad with MWAVE sound, WQ loses
  445. sound focus (and thus sound) every few seconds.
  446. Desktop doesn't reset to proper resolution on WQ exit
  447. -----------------------------------------------------
  448. We've had a report that on exiting WQ, the desktop didn't reset
  449. to the proper dimensions. This may be a bug with the Matrox
  450. drivers, but we're not sure. If it's a problem and newer
  451. drivers don't fix it, you can run -dibonly, which solves the
  452. problem but can cost some performance.
  453. Palette goes bad periodically on #9 Imagine card
  454. ------------------------------------------------
  455. There's only one report of this, so maybe it's a flaky board,
  456. or maybe it's a driver bug. Newer drivers might help.
  457. System with Packard Bell sound card III crashes on CapsLock
  458. -----------------------------------------------------------
  459. This appears to be the result of buggy DirectSound drivers;
  460. -wavonly makes the problem go away.
  461. Dvorak keyboard mapping ignored
  462. -------------------------------
  463. WQ is hardwired for QWERTY.
  464. Cursor messed up after running WQ
  465. ---------------------------------
  466. This is a Windows driver bug; the driver isn't restoring the
  467. cursor properly on return from fullscreen WQ to the desktop.
  468. Try newer drivers.
  469. Dedicated server runs very slowly while typing at console
  470. ---------------------------------------------------------
  471. When you type at a dedicated server's console, the game runs
  472. very slowly for everyone who's connected.
  473. Ctrl-Alt-Del on NT sometimes doesn't allow return to WQ
  474. -------------------------------------------------------
  475. This happens on some machines while running WQ fullscreen.
  476. If you experience this problem, the only workaround is not
  477. to press Ctrl-Alt-Del while fullscreen; Alt-Tab away first.
  478. Many fast Alt-Tabs on Win95 sometimes disable WQ input
  479. ------------------------------------------------------
  480. If you Alt-Tab fast lots of times on Win95 with WQ running
  481. fullscreen, sometimes you end up in fullscreen WQ, with the
  482. game not accepting any keyboard input (so there's no way to
  483. exit). The only workaround is to not do lots of fast
  484. Alt-Tabs (why you'd want to, I'm not sure).
  485. ----------------------------------
  486. | A bit about how WQ video works |
  487. ----------------------------------
  488. WQ has the built-in ability to draw into windows (both normal, framed
  489. desktop windows and fullscreen, borderless windows). It also has
  490. built- in support for VGA 320x200 graphics, and supports DirectDraw,
  491. VESA VBE 2.0 and VESA VBE/AF (Accelerator Functions) graphics modes,
  492. if those are available.
  493. WQ does not require DirectDraw, but in order for DirectDraw modes to
  494. be available, you must have DirectDraw installed; some systems come
  495. with it preinstalled, but if it's not on your system, you can download
  496. it from http://www.microsoft.com/mediadev/download/directx.exe (the
  497. exact URL may vary), and install it.
  498. WQ does not require VESA VBE, but in order for VESA VBE modes to be
  499. available, your graphics card must be VESA VBE 2.0 or VBE/AF
  500. compliant; a VESA driver can either be built into the BIOS of your
  501. graphics card, or loadable via software. If you don't have a VESA VBE
  502. driver, Scitech Display Doctor, available from Scitech Software, will
  503. update most graphics cards to VESA VBE 2.0 and VBE/AF.
  504. SciTech Display Doctor
  505. ----------------------
  506. If you are having problems with your video drivers, or if you would
  507. like to take a shot at improving your video performance in WQ, you may
  508. want to try out SciTech Display Doctor (SDD). SDD works on just about
  509. any graphics card and it can do several things that can make WQ run
  510. better on your system:
  511. 1. It will update your graphics card to be compatible with VESA VBE
  512. 2.0 and VESA VBE/AF (Accelerator Functions). These modes will usually
  513. give you the best performance in WQ (which is often but not always
  514. faster than your current performance).
  515. 2. It creates low-resolution modes on your graphics card.
  516. Low-resolution video modes (such as 320x240, 400x300 and 512x384)
  517. allow you to adjust the level of detail in WQ so you can get the best
  518. balance between performance and image quality.
  519. The latest version of SciTech Display Doctor can be obtained from the
  520. following locations:
  521. www: http://www.scitechsoft.com
  522. ftp: ftp.scitechsoft.com
  523. CIS: GO SCITECH
  524. AOL: Keyword SciTech
  525. SciTech can be contacted at:
  526. email: info@scitechsoft.com
  527. SciTech Software, Inc.
  528. 505 Wall Street
  529. Chico, CA 95926-1989
  530. 916-894-8400
  531. 916-894-9069 FAX
  532. Video modes supported in Win95
  533. ------------------------------
  534. What all this means is that on Win95, WQ will always be able to run in
  535. the following modes:
  536. 1) in a window
  537. 2) fullscreen 320x200 VGA mode 0x13
  538. 3) fullscreen high-resolution of some sort
  539. Category #3 can be any of several configurations. On Win95, if either
  540. DirectDraw or VESA VBE modes are available, then all the DirectDraw
  541. and VESA modes will be presented as high-res choices. (320x200 will
  542. always default to VGA mode 0x13.) In the case that a given resolution
  543. is supported by both DirectDraw and VESA, the VESA mode will be used.
  544. (However, the command-line switch -nowindirect can turn off VESA modes
  545. entirely.) If neither DirectDraw nor VESA modes are available, then
  546. high-resolution modes will be provided by using fullscreen, borderless
  547. windows in whatever resolutions the Windows driver supports, usually
  548. starting at 640x480 and going up.
  549. Video Modes Supported in Windows NT
  550. -----------------------------------
  551. NT is similar but not identical, because neither VESA VBE modes nor
  552. VGA mode 0x13 are available. On NT, WQ will always be able to run in
  553. the following modes:
  554. 1) in a window
  555. 2) fullscreen high-resolution of some sort
  556. On NT, category #2 can be one of two configurations. If DirectDraw
  557. modes are available, then those will be the high-res choices;
  558. otherwise, fullscreen, borderless windows will be used in whatever
  559. resolutions the driver supports, usually starting at 640x480 and going
  560. up. Because there is normally no low-resolution mode such as 320x200
  561. or 320x240 on NT, a pseudo low-res mode is created by rendering at
  562. 320x240, then stretching the image by doubling it in each direction
  563. while copying it to a 640x480 screen. However, stretching performance
  564. depends on the driver, and can be slow, so sometimes 640x480 is
  565. actually faster than 320x240 on NT.
  566. The bottom line here is that you can generally just use the Video menu
  567. and pick one of the modes and be happy. In some cases, though, you
  568. may need to use command-line switches (described next) to get the
  569. types of modes you want. One useful tip is to go into the console and
  570. do vid_describemodes, which lists all the modes WQ makes available on
  571. your machine given the command-line switches you've used. Each mode
  572. is followed by the name of the internal WQ driver that supports it, so
  573. you can tell which modes are DirectDraw, VESA, and so on, as follows:
  574. WINDOWED: WQ runs in a normal window
  575. FULLSCREEN DIB: fullscreen borderless window
  576. FULLSCREEN VGA8.DRV: VGA 320x200 mode
  577. FULLSCREEN DDRAW8.DRV: DirectDraw mode
  578. FULLSCREEN LINEAR8.DRV: VESA VBE 2.0+ mode
  579. FULLSCREEN ACCEL8.DRV: VESA VBE/AF (Accelerator Functions) mode
  580. (note that WQ does not take advantage of
  581. VBE/AF acceleration; so far as WQ is
  582. concerned VBE/AF is the same as normal VBE)
  583. You can use vid_mode from the console to set any of these modes. So,
  584. for example, if you see that there are two 320x200 modes (such as one
  585. VGA mode 0x13, normally mode 3, and one VESA mode, normally mode 4),
  586. you can choose the VESA mode, which will often be faster, with
  587. vid_mode 4. (You can make it the default by setting
  588. _vid_default_mode_win to the mode number.)
  589. There's more to the windowed modes than you might think. 320x240 is
  590. just what you’d expect, but 640x480 is actually rendered at 320x240
  591. and stretched up to 640x480, because most machines can’t handle the
  592. performance demands of real 640x480 rendering. Likewise, 800x600 is a
  593. stretched 400x300. Actually, though, vid_mode 2 (the 800x600 mode) is
  594. a user-configurable mode. By setting the following console variables,
  595. you can change the characteristics of vid_mode 2:
  596. vid_config_x: width of mode 2 window
  597. vid_config_y: height of mode 2 window
  598. vid_stretch_by_2: whether to render at half-resolution in each
  599. direction and stretch up to the specified size in mode 2, or render at
  600. full resolution.
  601. After setting these variables in the console, do a vid_forcemode 2,
  602. and you’ll have the window you specified. Note that after making
  603. these changes, the new resolution will show up as the third windowed
  604. mode in the Video menu.
  605. If you don't have WQ mouse play enabled in windowed mode, you can also
  606. go from windowed to fullscreen mode simply by clicking on the maximize
  607. button. The mode switched to is controlled by the vid_fullscreen_mode
  608. console variable, and defaults to mode 3.
  609. Other video console commands include:
  610. vid_fullscreen: switch to the mode specified by the
  611. vid_fullscreen_mode console variable.
  612. vid_windowed: switch to the mode specified by the vid_windowed_mode
  613. console variable.
  614. Vid_fullscreen and vid_windowed can be bound to keys, so it's possible
  615. to flip between windowed and fullscreen with a single key press.
  616. Also, vid_minimize minimizes the WinQuake window if and only if
  617. WinQuake is running in a windowed mode. You can bind a key to
  618. the commands "vid_windowed; wait; vid_minimize" to minimize WQ
  619. regardless of whether you're running in windowed or fullscreen mode.
  620. You can turn off page flipping by setting the console variable
  621. vid_nopageflip to 1, then setting a new mode. (Note that the
  622. vid_nopageflip setting does not take effect until the next mode set.)
  623. Some systems run faster with page flipping turned off; also, page
  624. flipping does not work properly on some adapters, and vid_nopageflip
  625. is a workaround for this. Note that vid_nopageflip is a persistent
  626. variable; it retains its setting until it is explicitly changed again,
  627. even across multiple WinQuake sessions.
  628. The vid_forcemode console command sets the specified mode, even if
  629. it's the same as the current mode (normally the mode set only happens
  630. if the new mode differs from the current mode). This is generally
  631. useful only if you've modified the characteristics of video mode 2
  632. (the configurable window) while you're in mode 2, and want to force
  633. the new characteristics to take effect.
  634. Whenever you switch to running WinQuake in a window, the window is
  635. placed at the same location it was in the last time WinQuake ran
  636. in a window. You can reset the window position to the upper left
  637. by using the -resetwinpos command-line switch. The window position
  638. is stored in the vid_window_x and vid_window_y console variables.
  639. -------------------------------
  640. | Video command-line switches |
  641. -------------------------------
  642. The full list of video-related command-line switches is:
  643. -dibonly: WQ will use only windows (both normal, framed windows on the
  644. desktop and fullscreen, borderless windows), not any direct hardware
  645. access modes such as DirectDraw or VESA modes, or even VGA 320x200
  646. mode. This is the closest thing to a guaranteed-to-run fullscreen
  647. mode WQ has.
  648. -nowindirect: WQ will not try to use VESA VBE 2.0 modes, or VBE/AF
  649. 1.0 or later modes. Note that if there are both DirectDraw and VESA
  650. modes for a given resolution, WQ will normally use the VESA mode;
  651. -nowindirect allows DirectDraw modes to be the preferred choice for
  652. all resolutions except 320x200. This can be useful if WQ is crashing
  653. because of a buggy VESA driver.
  654. -nodirectdraw: WQ will not try to use DirectDraw modes. This can be
  655. useful if WQ is crashing because of a buggy DirectDraw driver.
  656. -novbeaf: WQ will not try to use VBE/AF 1.0 or later modes.
  657. -startwindowed: WQ will come up in a windowed mode, without going
  658. fullscreen even during initialization.
  659. -noforcevga: normally, WQ uses VGA mode 0x13 for the default 320x200
  660. mode, even if a DirectDraw or VESA 320x200 mode exists. However,
  661. DirectDraw and VESA modes can be considerably faster than mode 0x13,
  662. because they can set up a linear framebuffer with higher memory
  663. bandwidth. If you specify -noforcevga, the default 320x200 mode in
  664. the menu will be a DirectDraw or VESA mode if one exists. This has no
  665. effect on modes selected via the console variable vid_mode, and if
  666. 320x200 is already your video mode, -noforcevga doesn't do anything
  667. until you use the menu to select another mode, then select 320x200
  668. again. (So if your default mode is 320x200 and you then specify
  669. -noforcevga, switch away to some other mode and then back to 320x200
  670. to get the potentially faster 320x200 mode.) The downside to this
  671. switch is that DirectDraw and VESA modes can cause problems in some
  672. systems, due to driver bugs or hardware incompatibilities; if you
  673. experience problems with this switch, don't use it.
  674. -noautostretch: don't stretch windowed modes selected with
  675. -startwindowed to double resolution.
  676. -nofulldib: don't use fullscreen, borderless windows, even if there
  677. are no DirectDraw or VESA modes available.
  678. -allow360: allow listing of 360-wide modes in the video mode menu.
  679. These are normally filtered out to make sure the menu doesn't get too
  680. full, which could cause high-res modes not to be displayed.
  681. -notriplebuf: prevent triple-buffered page flipping (rather than double-
  682. buffered). This may result in slower performance, but is a workaround
  683. if you encounter problems with flicker or initialization failure, which
  684. could possibly happen in some modes with some DirectDraw drivers.
  685. ----------------------------------
  686. | A bit about how WQ sound works |
  687. ----------------------------------
  688. WQ can use either DirectSound or Windows wave output to generate
  689. sound. If DirectSound is available, it is used; if not, if wave sound
  690. is available it is used; and if neither is available, there is no
  691. sound. DirectSound results in the best sound quality, and also the
  692. lowest-latency sound; use it if you can, because you will be happier
  693. with the results. (Note, though, that no NT sound drivers yet support
  694. DirectSound.) Wave sound will often have high latency, lagging the
  695. events that generate sound by hundreds of milliseconds on some
  696. machines.
  697. You can tell what kind of sound WQ uses on your system by looking at
  698. the startup portion of the console; you will see either "DirectSound
  699. initialized" or "Wave sound initialized" (neither message is printed
  700. if there's no sound). Any sound failure messages will also be printed
  701. in the startup portion of the console.
  702. Note that WQ generates sound only when it is the active app, the one
  703. with the input focus.
  704. -------------------------------
  705. | Sound command-line switches |
  706. -------------------------------
  707. The full list of sound-related command-line switches is:
  708. -wavonly: don’t use DirectSound, but use wave sound if available.
  709. Note that wave sound is generally faster than DirectSound, but has
  710. considerably greater latency. This switch is redundant on NT, because
  711. all sound output on current NT drivers is wave sound.
  712. -nosound: don’t output any sound.
  713. -primarysound: use DirectSound primary buffer output. This is
  714. generally faster than normal secondary buffer output, but does not
  715. work in some systems, and produces odd sound glitches on minimization
  716. and focus switching in other systems. Use it at your own risk, and
  717. please do not report sound bugs if you're using this switch.
  718. -snoforceformat: WQ will not try to force the sound hardware to 11
  719. KHz, 16 bits per sample. This may be useful if DirectSound is failing
  720. for no apparent reason, but generally WQ will produce better sound and
  721. better performance if this switch is not used.
  722. -----------------------
  723. | Notes on networking |
  724. -----------------------
  725. The winsock TCP/IP driver will not cause a dial-up internet connection
  726. to automatically start up when Quake is started. If you start Quake
  727. with it inactive, the connection will be activated when you either try
  728. to connect to a server or search for local servers.
  729. The local IP address will not always be known at startup. If it is
  730. currently unknown the menu will display "INADDR_ANY". This will be
  731. replaced with the real address when it is known. The IP address will
  732. become known when you try to connect to a server, you search for local
  733. servers, or you start a server.
  734. For multi-homed machines (machines with more than one network adapter
  735. and IP adress), you can force WinQuake to bind to a specific IP
  736. address. There is a command line option "-ip" that takes an IP
  737. address as its parameter.
  738. ----------------------
  739. | Notes on the mouse |
  740. ----------------------
  741. If DirectInput is installed and functioning, WinQuake can use it for
  742. mouse input, but does not do so automatically because DirectInput does
  743. not work properly on all systems. DirectInput can be enabled via the
  744. command-line switch -dinput. If DirectInput is not available or is
  745. not enabled, WinQuake uses the normal Windows mouse APIs instead.
  746. DirectInput provides slightly smoother motion; also, it tends to be
  747. more responsive to fast spinning motions, and we recommend that you use
  748. it if it works properly on your system. You can determine if WQ uses
  749. DirectInput on your system when you use -dinput by checking for
  750. "DirectInput initialized" in the startup console text. If not, you
  751. might try installing DirectX 3 (note, though, that as I write this
  752. there is no released DirectInput support for Windows NT, only Win95).
  753. -----------------------------------
  754. | Log of changes to documentation |
  755. -----------------------------------
  756. *** WinQuake 0.994 ***
  757. Fixed bug where in some cases involving IPX, whenever a new person
  758. entered the game, a current player got dumped.
  759. Added DirectInput mouse support, and the -dinput command-line to
  760. enable it.
  761. Added -notriplebuf to disable triple buffering to work around
  762. possible problems with some modes on some DirectDraw drivers.
  763. Added remembering last window position, and restoring that, rather
  764. than centering the window, whenever WinQuake runs in a window.
  765. Can be reset with the -resetwinpos command-line switch.
  766. Added the vid_minimize command, which minimizes WinQuake if and only
  767. if the current mode is windowed.
  768. Made it so WinQuake no longer gets suspended when Alt-Tab is used to
  769. switch away from a fullscreen session. The means you can Alt-Tab
  770. away from fullscreen WinQuake without losing a connection to a
  771. Quake server.
  772. Added vid_nopageflip console variable to turn off page flipping, and
  773. documented page flipping problems this can be used to work around.
  774. Documented that Del-Ctrl-Alt (in that order) causes WinQuake to
  775. fault on Win95.
  776. Fixed the winsock TCP/IP driver so it will not cause a dial-up
  777. internet connection to automatically start up when Quake is started.
  778. If you start Quake with the internet connection already active, there
  779. will be no difference. If you start Quake with it inactive, the
  780. connection will be activated when you either try to connect to a
  781. server or search for local servers.
  782. The local IP address will not always be known at startup now. If it
  783. is currently unknown the menu will display "INADDR_ANY". This
  784. will be replaced with the real address when it is known. The IP
  785. address will become known when: you try to connect to a server,
  786. you search for local servers, or you start a server.
  787. For multi-homed machines (machines with more than one network
  788. adapter and IP adress), you can now force WinQuake to bind to a
  789. specific IP adress. There is a new command line option "-ip" that
  790. takes an IP address as its parameter.
  791. Added vid_fullscreen_mode and ability to select that mode by
  792. clicking on the maximize button. Added two commands:
  793. vid_fullscreen to switch to vid_fullscreen_mode, and
  794. vid_windowed to switch to vid_windowed mode.
  795. Changed joystick default to disabled; now it only works if the
  796. joystick cvar is set to 1; however, this setting now remains in
  797. effect permanently. Added joystick documentation below.
  798. Documented dprint only works if developer set to 1.
  799. Documented scrunching of MS-DOS windows on Alt-Tab.
  800. Documented that NT versions earlier to 4.0 are not supported.
  801. Added DirectInput support for devices such as First Person
  802. Gaming's Assassin controller. All buttons should now
  803. be configurable in WinQuake.
  804. Fixed bug where when low-res fullscreen DIB modes selected from
  805. the menu sometimes ran very slowly or produced garbled displays.
  806. Fixed bug where 1.06 and earlier save files couldn't be loaded
  807. by WinQuake.
  808. Removed "Net play pauses every few seconds" bug; it was determined
  809. not to be a bug, just an artifact of network play.
  810. Noted that even when BIOSes do have VESA 2.0 built-in, it's often
  811. so buggy that WinQuake crashes in faster configurations, and that
  812. SciTech Display Doctor is the easiest way to get reliable VESA
  813. support.
  814. Added note on Alt-Tab only working if Tab released first.
  815. *** WinQuake 0.992 ***
  816. Implemented force_centerview.
  817. Fixed backspace bug in dedicated console.
  818. Made "player entering game" messages and "say" messages visible
  819. in dedicated console.
  820. Added description of -heapsize (how to change default memory
  821. allocation).
  822. Added description of "net play pauses every few seconds" bug.
  823. Added description of "playdemo fails across multiple levels" bug.
  824. Added hooks for QHost; however, WinQuake won't work with QHost
  825. until a new version of QHost 3.0, which uses the hooks, is
  826. released. QHost 3.0 will not work with WinQuake.
  827. Fixed bug where savegame descriptions weren't always terminated
  828. properly.
  829. Fixed bug where running -dedicated reset part of config.cfg to
  830. defaults.
  831. *** WinQuake 0.991 ***
  832. Fixed problem with pre-1.07 (DOS) clients connecting to WinQuake.
  833. Got rid of "Starting Quake..." dialog when running -dedicated.
  834. Added -novbeaf switch to turn off VBE/AF support in case of problems,
  835. and updated documentation.
  836. Corrected SciTech's U.S. Mail address in documentation.
  837. Added joystick bug decriptions and workarounds.
  838. ------------------
  839. | Special thanks |
  840. ------------------
  841. Special thanks for help with WinQuake to:
  842. James Barnes
  843. Kendall Bennett
  844. Raymond Chen
  845. John Colleran
  846. Andrew Goossen
  847. Mike Harrington
  848. Chris Hecker
  849. Todd Laney
  850. Scott Ludwig
  851. ...and all the beta testers!
  852. ======================================================================
  853. End of Document 3/21/97
  854. ======================================================================