home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 11 / PCPP11.iso / patch / quake2 / qw-win.txt < prev    next >
Encoding:
Text File  |  1996-12-12  |  23.9 KB  |  519 lines

  1. ------------------------------------------
  2.  
  3. | Windows-related QuakeWorld information |
  4.  
  5. ------------------------------------------
  6.  
  7.  
  8.  
  9. QuakeWorld is a Win32 app, and will run on either Win95 or Windows NT.  
  10.  
  11. It is designed to take advantage of whatever enhanced video and sound 
  12.  
  13. capabilities (such as DirectX or VESA video modes) are present, but has 
  14.  
  15. fallback functionality so it can run on any Win32 system, even if, for 
  16.  
  17. example, neither DirectX nor VESA is installed.  You may experience 
  18.  
  19. problems running QW on some systems, because driver and operating-system 
  20.  
  21. support for game functionality are not yet mature, and many bugs and 
  22.  
  23. incompatibilities remain.  This document will describe the Windows-
  24.  
  25. specific functionality (video and sound) supported by QW, and known 
  26.  
  27. problems and workarounds.  If you encounter what seems to be a bug, 
  28.  
  29. please fill out and submit the QuakeWorld bug report at 
  30.  
  31. http://www.idsoftware.com/contact/.
  32.  
  33.  
  34.  
  35. The rest of this document is organized as follows:
  36.  
  37.  
  38.  
  39. Common problems and workarounds
  40.  
  41. A bit about how QW video works
  42.  
  43. Video command-line switches
  44.  
  45. A bit about how QW sound works
  46.  
  47. Sound command-line switches
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. -----------------------------------
  56.  
  57. | Common problems and workarounds |
  58.  
  59. -----------------------------------
  60.  
  61.  
  62.  
  63. QW crashes or won't run
  64.  
  65. -----------------------
  66.  
  67.  
  68.  
  69. If the QW client refuses to run or crashes on your system, try running 
  70.  
  71. it with the following command line:
  72.  
  73.  
  74.  
  75. qwcl -nodirectdraw -nowindirect -wavonly
  76.  
  77.  
  78.  
  79. This will almost certainly solve your problem; however, it may result in 
  80.  
  81. lagged sound (a long delay from action to hearing the sound), and may 
  82.  
  83. result in fewer or slower high-res video modes.  If the above command-
  84.  
  85. line does work, you can try removing each of the command-line switches 
  86.  
  87. until you identify the one that fixes the problem, thereby sacrificing 
  88.  
  89. as little functionality as possible.
  90.  
  91.  
  92.  
  93. If the above command line does not fix your problems, try:
  94.  
  95.  
  96.  
  97. qwcl -dibonly -nosound
  98.  
  99.  
  100.  
  101. which forces QW into silent operation with bare-bones video support.  
  102.  
  103. Again, if this works, try removing switches until you identify the 
  104.  
  105. needed one.
  106.  
  107.  
  108.  
  109. Both of the above command lines are quick fixes.  Often, the problem is 
  110.  
  111. caused by outdated or buggy DirectX drivers or code, and can frequently 
  112.  
  113. be completely fixed simply by installing the latest Microsoft-supplied 
  114.  
  115. version of DirectX, which can be downloaded from 
  116.  
  117. http://www.microsoft.com/mediadev/download/directx.zip; it is a 6.3 Mb 
  118.  
  119. file.  (In fact, getting the latest MS-supplied version of DirectX is a 
  120.  
  121. good idea if you have any video or sound problem.)
  122.  
  123.  
  124.  
  125. One known problem of this sort involves the current SB16 drivers from 
  126.  
  127. Creative Labs, which cause QW to crash on some machines.  The 
  128.  
  129. DirectSound drivers from Microsoft, available via the above-mentioned 
  130.  
  131. URL, fix this problem.
  132.  
  133.  
  134.  
  135. It can also sometimes help to get the latest Windows drivers for your 
  136.  
  137. video adapter or sound card (although as the SB16 example indicates, 
  138.  
  139. this is not always a good idea), and for video boards that have flash 
  140.  
  141. BIOSes, it can help to get the latest BIOS upgrade.
  142.  
  143.  
  144.  
  145.  
  146.  
  147. How do I select fullscreen or windowed QW operation?
  148.  
  149. ----------------------------------------------------
  150.  
  151. Check out QW's new, spiffy Video menu, accessible from the Options menu.  
  152.  
  153. There are now two types of modes listed, windowed and fullscreen.  You 
  154.  
  155. can make any of these modes the current and/or default mode, just as in 
  156.  
  157. DOS Quake.  If you make a windowed mode the default, QW will still 
  158.  
  159. briefly start up in fullscreen mode, then switch to windowed; if this is 
  160.  
  161. a problem, use the -startwindowed command-line switch.  More complete 
  162.  
  163. video control is available through the console, as described in the ôA 
  164.  
  165. bit about how QW video worksö section, below.
  166.  
  167.  
  168.  
  169.  
  170.  
  171. QW crashes when Alt-Tabbing from fullscreen QW to a fullscreen DOS box
  172.  
  173. ----------------------------------------------------------------------
  174.  
  175. We are in the process of adding a VxD to solve this problem, but 
  176.  
  177. currently you should never Alt-Tab from a fullscreen QW session using a 
  178.  
  179. DirectDraw or VESA mode or VGA mode 0x13 to a fullscreen DOS box.  (You 
  180.  
  181. can tell whether a mode is a DirectDraw or VESA mode or VGA mode 0x13 by 
  182.  
  183. using vid_describemodes in the console, as discussed below.)  If this is 
  184.  
  185. a particular problem for you, try running -dibonly.  Apart from 
  186.  
  187. switching to a fullscreen DOS box, Alt-Tab, Ctrl-Esc, and the Windows 
  188.  
  189. Key should work properly.
  190.  
  191.  
  192.  
  193.  
  194.  
  195. Multiple Alt-Tabs sometimes leave screen blank
  196.  
  197. ----------------------------------------------
  198.  
  199. Sometimes, rapidly pressing Alt-Tab multiple times leaves a blank 
  200.  
  201. screen.  If this happens, just press Alt-Tab slowly one or two more 
  202.  
  203. times, and the screen will come back.
  204.  
  205.  
  206.  
  207.  
  208.  
  209. DOS Quake reports unknown variables on startup after running QW
  210.  
  211. ---------------------------------------------------------------------
  212.  
  213. QW uses some console variables that do not exist in DOS Quake, and some 
  214.  
  215. of these are automatically archived in config.cfg when you exit QW.  If 
  216.  
  217. you then start DOS Quake, DOS Quake will complain that it doesn't 
  218.  
  219. recognize those variables.  You will also lose the settings of these 
  220.  
  221. variables when you return to QW.  Apart from losing the settings, this 
  222.  
  223. is harmless; ignore it.
  224.  
  225.  
  226.  
  227.  
  228.  
  229. Can't run fullscreen on NT 3.51
  230.  
  231. -------------------------------
  232.  
  233. Unfortunately NT 3.51 doesn't support DirectDraw or any other mode-
  234.  
  235. setting mechanism.  You can run in a window, though.
  236.  
  237.  
  238.  
  239.  
  240.  
  241. Ctrl-Alt-Del does bad things when running fullscreen
  242.  
  243. ----------------------------------------------------
  244.  
  245. We're working on a VxD to fix this one, but it's true that in DirectDraw 
  246.  
  247. and VESA fullscreen modes, Ctrl-Alt-Del on Win95 results in a blank 
  248.  
  249. screen.  Try not to do this, and if you do, hit Esc to return to QW.  
  250.  
  251. (DON'T hit Enter, because that kills QW, and then you're stuck there 
  252.  
  253. with a blank screen and no way to get back to the desktop.)
  254.  
  255.  
  256.  
  257.  
  258.  
  259. QW crashes while switching modes or Alt-Tabbing
  260.  
  261. -----------------------------------------------
  262.  
  263. So far, all cases of this seem to be tied to Creative Lab's SB16 sound 
  264.  
  265. drivers, and have been fixed by getting the latest DirectX drivers, as 
  266.  
  267. described above.  Alternatively, you should be able to fix this either 
  268.  
  269. by not switching modes or Alt-Tabbing, or by running -wavonly to disable 
  270.  
  271. DirectSound support.
  272.  
  273.  
  274.  
  275.  
  276.  
  277. Gee, I wish I could use a mouse to play QW with when running in a window
  278.  
  279. ------------------------------------------------------------------------
  280.  
  281. You can!  While in a windowed mode, go to the Options menu.  At the 
  282.  
  283. bottom, you'll find a new selection that lets you choose to have the 
  284.  
  285. mouse active when you're in a window.  Of course, if you do this, you'll 
  286.  
  287. have to use the keyboard (Alt-Tab, the Windows key, or Ctrl-Esc) to 
  288.  
  289. switch away from QW.
  290.  
  291.  
  292.  
  293.  
  294.  
  295. The maximize box on the QW window doesnÆt work
  296.  
  297. ----------------------------------------------
  298.  
  299. ItÆs not supposed to; itÆs grayed out.  You donÆt want to run a 
  300.  
  301. fullscreen window at your desktop resolution; itÆd be really slow.  
  302.  
  303. ThatÆs why we have all those nifty lower-resolution fullscreen modes in 
  304.  
  305. the Video menu.
  306.  
  307.  
  308.  
  309.  
  310.  
  311. QW sometimes runs pretty slowly fullscreen
  312.  
  313. ------------------------------------------
  314.  
  315. There are several possible reasons for this, starting with ôYou have a 
  316.  
  317. slow computer.ö  Assuming that's not the case, if you don't have either 
  318.  
  319. DirectDraw or Scitech Display Doctor installed (see the ôA bit about 
  320.  
  321. how QW video worksö section), it would probably be a good thing to 
  322.  
  323. install one or the other, because slow operation can be a result of slow 
  324.  
  325. copying or stretching of pixels to the screen by a Windows driver, 
  326.  
  327. something that's eliminated by both DirectDraw and Display Doctor.  The 
  328.  
  329. -noforcevga command-line switch can also help produce a faster 320x200 
  330.  
  331. mode on Win95 (but may not work on some video cards); you can get the 
  332.  
  333. same result by doing vid_describemodes, then using vid_mode to select a 
  334.  
  335. non-VGA 320x200 mode, as described in the ôA bit about how QW video 
  336.  
  337. worksö section.  That's about all you can do to speed up fullscreen QW 
  338.  
  339. on Win95, other than shrinking the active area of the screen.
  340.  
  341.  
  342.  
  343. NT 4.0 comes with DirectX installed, but doesn't have any resolutions 
  344.  
  345. lower than 640x480.  In order to support a lower-resolution 320x240 
  346.  
  347. mode, QW has NT stretch each pixel in both directions to get enough 
  348.  
  349. pixels for 640x480.  The extra stretching costs some performance, the 
  350.  
  351. result being that NT can seem sluggish on all but high-end Pentiums and 
  352.  
  353. Pentium Pros.  (In fact, depending on the quality of your driver's 
  354.  
  355. stretching code, it can sometimes be faster to run QW at 640x480 than 
  356.  
  357. 320x240-stretched on NT.)  One thing that can help is using the Options 
  358.  
  359. menu to shrink the active area of the screen.
  360.  
  361.  
  362.  
  363. A common cause of slowness running in a window is having the desktop run 
  364.  
  365. in 16- or 32-bpp mode.  QW is an 8-bpp application, and it slows things 
  366.  
  367. down if pixels have to be translated from 8-bpp to 16- or 32-bpp.  (Note 
  368.  
  369. that this is generally a problem only when running in a window; 
  370.  
  371. fullscreen apps will almost never suffer from this.)
  372.  
  373.  
  374.  
  375.  
  376.  
  377. Sound is sluggish on NT
  378.  
  379. -----------------------
  380.  
  381. NT doesn't have any real DirectSound drivers yet, so there's no way to 
  382.  
  383. do quick-response sound on NT.  When DirectSound drivers for NT appear, 
  384.  
  385. QW's sound should automatically be snappier.
  386.  
  387.  
  388.  
  389.  
  390.  
  391. Sound breaks up or gets choppy, especially in menus
  392.  
  393. ---------------------------------------------------
  394.  
  395. This is generally a sign that QW's frame rate is too low on your system.  
  396.  
  397. Try reducing resolution or shrinking the active area of the screen 
  398.  
  399. (getting a faster computer is another, more expensive alternative).  In 
  400.  
  401. some circumstances, it may help to set the console variable 
  402.  
  403. _snd_mixahead to a larger value.
  404.  
  405.  
  406.  
  407.  
  408.  
  409. The color black doesn't change with palette flashes sometimes
  410.  
  411. -------------------------------------------------------------
  412.  
  413. DirectDraw lets QW change all 256 colors, so when a palette flash 
  414.  
  415. happens, we can change all the colors, including black.  However, on NT, 
  416.  
  417. DirectDraw doesn't allow changing black; likewise, black can't be 
  418.  
  419. changed in a window, either a normal window or fullscreen.  
  420.  
  421. Consequently, some parts of the QW screen (such as the sigils on the 
  422.  
  423. status bar and the spray where a shotgun blast hits) stay black when the 
  424.  
  425. palette flashes.  There is no workaround.
  426.  
  427.  
  428.  
  429.  
  430.  
  431. Problems can result if Office shortcut bar is running
  432.  
  433. -----------------------------------------------------
  434.  
  435. Various odd behavior, especially with sound, has been reported if the 
  436.  
  437. Office shortcut bar is running while QW is running.  If you experience 
  438.  
  439. odd problems, you might try shutting down the Office shortcut bar and 
  440.  
  441. see if that fixes anything.
  442.  
  443.  
  444.  
  445.  
  446.  
  447. QW has no sound when another app was playing sound in background
  448.  
  449. ------------------------------------------------------------
  450.  
  451. If another app is playing a sound in the background while QW starts, QW 
  452.  
  453. will be unable to gain control of the sound hardware, and will not 
  454.  
  455. output any sound.  If this happens, exit QW, stop the other app from 
  456.  
  457. making sound, and restart QW.
  458.  
  459.  
  460.  
  461.  
  462.  
  463. Win95 crashes when another app was playing sound in background
  464.  
  465. -----------------------------------------------------------
  466.  
  467. There is a report of Win95 crashing when another app starts a sound just 
  468.  
  469. as QW initializes sound during startup.  This is rare even for this 
  470.  
  471. person, but if this becomes a problem for you, shut down the offending 
  472.  
  473. app if possible, or try running -wavonly, which will result in less 
  474.  
  475. snappy sound but shouldnÆt cause a crash.
  476.  
  477.  
  478.  
  479.  
  480.  
  481. QW gets funny colors when itÆs not the active app
  482.  
  483. -------------------------------------------------
  484.  
  485. QW is a palettized app, and needs all 256 colors to look right.  When it 
  486.  
  487. isnÆt the active app, it loses the ability to get more than 236 colors 
  488.  
  489. (and if thereÆs another palettized app running, QW may not be able to 
  490.  
  491. get any of the exact colors it wants), so it does its best (which is 
  492.  
  493. sometimes not very good) to look right using the current colors.  But it 
  494.  
  495. puts everything back again as soon as it is reactivated, and anyway, 
  496.  
  497. when itÆs not active, you canÆt actually do anything in QW, so it 
  498.  
  499. doesnÆt really matter anyway, right?
  500.  
  501.  
  502.  
  503.  
  504.  
  505. Desktop redraws a lot when QW runs windowed
  506.  
  507. -------------------------------------------
  508.  
  509. We're fixing this, but right now when QW runs windowed and the palette 
  510.  
  511. changes, the other stuff on the desktop often redraws, sometimes 
  512.  
  513. flickering as it does so.  Apart from being ugly, the extra redrawing 
  514.  
  515. can cause a noticeable slowdown.  The best fix is to run fullscreen; 
  516.  
  517. otherwise, minimize as much stuff as possible to reduce redrawing.
  518.  
  519.  
  520.  
  521.  
  522.  
  523. Fullscreen QW sometimes drops the connection when switched away from
  524.  
  525. --------------------------------------------------------------------
  526.  
  527. If QW is running in a fullscreen mode thatÆs not a fullscreen window 
  528.  
  529. mode (that is, if itÆs a DirectDraw mode, a VESA mode, or 320x200 VGA 
  530.  
  531. mode 0x13), then if you switch away with Alt-Tab, Ctrl-Esc, or the 
  532.  
  533. Windows key, QW will be suspended.  Not pausedùcompletely suspended, 
  534.  
  535. doing nothing.  After about 30 seconds, your net connection to the 
  536.  
  537. server will be dropped.  WeÆre really sorry about this, but right now we 
  538.  
  539. canÆt change it.  One workaround is to change to a windowed video mode 
  540.  
  541. when you want to switch away; thereÆs no connection dropping if youÆre 
  542.  
  543. running in a normal window.  You could also try running -dibonly, which 
  544.  
  545. uses fullscreen windows for fullscreen modes; QW is not paused when you 
  546.  
  547. switch away from fullscreen in this case.  The downside to -dibonly is 
  548.  
  549. that it can be significantly slower than normal fullscreen modes, 
  550.  
  551. especially at low resolutions. 
  552.  
  553.  
  554.  
  555.  
  556.  
  557. High-resolution modes donÆt work on the Intergraph Reactor
  558.  
  559. ----------------------------------------------------------
  560.  
  561. Sad but true.  Working on it, but for now try -nowindirect and see if 
  562.  
  563. that fixes things.  Or maybe their latest BIOS upgrade fixes the 
  564.  
  565. problem.
  566.  
  567.  
  568.  
  569.  
  570.  
  571. Sometimes Permedia boards crash unless -nowindirect is used
  572.  
  573. -----------------------------------------------------------
  574.  
  575. Still working on this one too; for now, use -nowindirect.
  576.  
  577.  
  578.  
  579.  
  580.  
  581. Keys whacked during mode switches sometimes go to other apps
  582.  
  583. ------------------------------------------------------------
  584.  
  585. During a mode switch, there is a small period when QW doesnÆt have any 
  586.  
  587. window, and if you hit keys then, they will go to the next app on the 
  588.  
  589. desktop, possibly doing things you wonÆt like.  So please donÆt whack 
  590.  
  591. keys during mode sets.
  592.  
  593.  
  594.  
  595.  
  596.  
  597. Problems if an autorun CD is inserted while QW is fullscreen
  598.  
  599. ------------------------------------------------------------
  600.  
  601. If you insert an autorun CD, then exit its window, youÆll switch back to 
  602.  
  603. the QW window, but input wonÆt be going to QW properly for some reason.  
  604.  
  605. Just do an Alt-Tab and youÆll be fine.
  606.  
  607.  
  608.  
  609.  
  610.  
  611. Right-click|close on QW button in system bar to close doesnÆt work
  612.  
  613. ------------------------------------------------------------
  614.  
  615. This specific problem only happens running -dibonly (with fullscreen 
  616.  
  617. windows); right-click doesnÆt work at all when minimized in other 
  618.  
  619. fullscreen modes.  Working on it; for now, donÆt do it.
  620.  
  621.  
  622.  
  623.  
  624.  
  625. Quake turns system sound down to zero
  626.  
  627. -------------------------------------
  628.  
  629. This happens occasionally, although we have no idea why yet.  If it 
  630.  
  631. happens to you and you see any potential causative event, please let us 
  632.  
  633. know.
  634.  
  635.  
  636.  
  637.  
  638.  
  639. Screen saver never kicks in when running fullscreen
  640.  
  641. ---------------------------------------------------
  642.  
  643. Actually, it doesnÆt kick in if youÆre running windowed with the mouse 
  644.  
  645. enabled, either.  The mouse code does stuff that convinces Windows weÆre 
  646.  
  647. never idle.  WeÆll fix this in the future if people think itÆs a 
  648.  
  649. problem.
  650.  
  651.  
  652.  
  653.  
  654.  
  655. QW doesnÆt work in a window in 16-color mode
  656.  
  657. --------------------------------------------
  658.  
  659. ThatÆs 16 *colors*, not 16-bpp.  If youÆre still running 16-color mode, 
  660.  
  661. only run QW fullscreen.
  662.  
  663.  
  664.  
  665.  
  666.  
  667. ThereÆs no joystick support
  668.  
  669. ---------------------------
  670.  
  671. Not yet.  Sorry about that.
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679. ----------------------------------
  680.  
  681. | A bit about how QW video works |
  682.  
  683. ----------------------------------
  684.  
  685.  
  686.  
  687. QW has the built-in ability to draw into windows, both normal, framed 
  688.  
  689. desktop windows and fullscreen, borderless windows.  It also has built-
  690.  
  691. in support for VGA 320x200 graphics, and supports both DirectDraw and 
  692.  
  693. VESA graphics modes if those are available.
  694.  
  695.  
  696.  
  697. In order for DirectDraw modes to be available, you must have DirectDraw 
  698.  
  699. installed; some systems come with it preinstalled, but if it's not on 
  700.  
  701. your system, you can download it from 
  702.  
  703. http://www.microsoft.com/mediadev/download/directx.zip (it is a 6.3 Mb 
  704.  
  705. file), and install it.
  706.  
  707.  
  708.  
  709. In order for VESA modes to be available, a driver must be installed; a 
  710.  
  711. VESA driver can either be built into the BIOS, or loadable software.  
  712.  
  713. The most common VESA driver is Scitech Display Doctor, from Scitech 
  714.  
  715. Software. The latest version of Display Doctor can be obtained from the 
  716.  
  717. following locations:
  718.  
  719. -----------------------------------------------------------------------
  720.  
  721. www: http://www.scitechsoft.com
  722.  
  723. ftp: ftp.scitechsoft.com
  724.  
  725. CIS: GO SCITECH
  726.  
  727. AOL: Keyword SciTech
  728.  
  729.  
  730.  
  731. SciTech can be contacted at:
  732.  
  733.  
  734.  
  735. email: sales@scitechsoft.com
  736.  
  737.  
  738.  
  739. SciTech Software
  740.  
  741. 5 Governors Lane, Suite D
  742.  
  743. Chico, CA  95926-1989
  744.  
  745. -----------------------------------------------------------------------
  746.  
  747.  
  748.  
  749. What all this means is that on Win95, QW will always be able to run in 
  750.  
  751. the following modes:
  752.  
  753.  
  754.  
  755. 1)  in a window
  756.  
  757. 2)  fullscreen 320x200 VGA mode 0x13 (unless -noforcevga is used)
  758.  
  759. 3)  fullscreen high-resolution of some sort
  760.  
  761.  
  762.  
  763. Category #3 can be any of several configurations.  On Win95, if either 
  764.  
  765. DirectDraw or VESA modes are available, then all the DirectDraw and VESA 
  766.  
  767. modes will be presented as high-res choices.  (320x200 will always 
  768.  
  769. default to VGA mode 0x13 unless the -noforcevga command-line switch is 
  770.  
  771. used.)  In the case that a given resolution is supported by both 
  772.  
  773. DirectDraw and VESA, the VESA mode will be used.  (However, the command-
  774.  
  775. line switch -nowindirect can turn off VESA modes entirely.)  If neither 
  776.  
  777. DirectDraw nor VESA modes are available, then high-resolution modes will 
  778.  
  779. be provided by using fullscreen, borderless windows in whatever 
  780.  
  781. resolutions the Windows driver supports, usually starting at 640x480 and 
  782.  
  783. going up.
  784.  
  785.  
  786.  
  787. NT is similar but not identical, because neither VESA modes nor VGA mode 
  788.  
  789. 0x13 are available.  On NT, QW will always be able to run in the 
  790.  
  791. following modes:
  792.  
  793.  
  794.  
  795. 1)  in a window
  796.  
  797. 2)  fullscreen high-resolution of some sort
  798.  
  799.  
  800.  
  801. On NT, category #3 can be one of two configurations.  If DirectDraw 
  802.  
  803. modes are available, then those will be the high-res choices; otherwise, 
  804.  
  805. fullscreen, borderless windows will be used in whatever resolutions the 
  806.  
  807. driver supports, usually starting at 640x480 and going up.  Because 
  808.  
  809. there is normally no low-resolution mode such as 320x200 or 320x240 on 
  810.  
  811. NT, a pseudo low-res mode is created by rendering at 320x240, then 
  812.  
  813. stretching the image by doubling it in each direction while copying it 
  814.  
  815. to a 640x480 screen.  However, stretching performance depends on the 
  816.  
  817. driver, and can be slow, so sometimes 640x480 is actually faster than 
  818.  
  819. 320x240 on NT.
  820.  
  821.  
  822.  
  823. The bottom line here is that you can generally just use the Video menu 
  824.  
  825. and pick one of the modes and be happy.  In some cases, though, you may 
  826.  
  827. need to use command-line switches (described next) to get the types of 
  828.  
  829. modes you want.  One useful tip is to go into the console and do 
  830.  
  831. vid_describemodes, which lists all the modes QW supports on your machine 
  832.  
  833. given the command-line switches you've used.  Each mode is followed by 
  834.  
  835. the name of the internal QW driver that supports it, so you can tell 
  836.  
  837. which modes are DirectDraw, VESA, and so on, as follows:
  838.  
  839.  
  840.  
  841. WINDOWED: QW runs in a normal window
  842.  
  843. FULLSCREEN VGA8.DRV: VGA 320x200 mode
  844.  
  845. FULLSCREEN ACCEL8.DRV: VESA mode
  846.  
  847. FULLSCREEN DDRAW8.DRV: DirectDraw mode
  848.  
  849. FULLSCREEN DIB: fullscreen borderless window
  850.  
  851.  
  852.  
  853. You can use vid_mode from the console to set any of these modes.  So, 
  854.  
  855. for example, if you see that there are two 320x200 modes (such as one 
  856.  
  857. VGA mode 0x13, normally mode 3, and one VESA mode, normally mode 4), you 
  858.  
  859. can choose the VESA mode, which will often be faster, with vid_mode 4.
  860.  
  861.  
  862.  
  863. The windowed modes are more interesting than they seem.  320x240 is just 
  864.  
  865. what youÆd think, but 640x480 is actually rendered at 320x240 and 
  866.  
  867. stretched up to 640x480, because most machines canÆt handle real 640x480 
  868.  
  869. rendering.  Likewise, 800x600 is a stretched 400x300.  Actually, though, 
  870.  
  871. vid_mode 2 (the 800x600 mode) is a user-configurable mode.  By setting 
  872.  
  873. the following console variables, you can change the characteristics of 
  874.  
  875. vid_mode 2:
  876.  
  877.  
  878.  
  879. vid_config_x: width of window
  880.  
  881.  
  882.  
  883. vid_config_y: height of window
  884.  
  885.  
  886.  
  887. vid_stretch_by_2: whether to render at half-resolution in each direction 
  888.  
  889. and stretch up to the specified size, or render at full resolution
  890.  
  891.  
  892.  
  893. After setting these variables in the console, do a vid_forcemode 2, and 
  894.  
  895. youÆll have the window you specified.  Note that after making these 
  896.  
  897. changes, the new resolution will show up as the third windowed mode in 
  898.  
  899. the Video menu.
  900.  
  901.  
  902.  
  903.  
  904.  
  905.  
  906.  
  907. -------------------------------
  908.  
  909. | Video command-line switches |
  910.  
  911. -------------------------------
  912.  
  913.  
  914.  
  915. The full list of video-related command-line switches is:
  916.  
  917.  
  918.  
  919. -dibonly: QW will use only windows (both normal, framed windows on the 
  920.  
  921. desktop and fullscreen, borderless windows), not any direct hardware 
  922.  
  923. access modes such as DirectDraw or VESA modes, or even VGA 320x200 mode.  
  924.  
  925. This is the closest thing to a guaranteed-to-run fullscreen mode QW has.
  926.  
  927.  
  928.  
  929. -nowindirect: QW will not try to use VESA modes.  Note that if there are 
  930.  
  931. both DirectDraw and VESA modes for a given resolution, QW will normally 
  932.  
  933. use the VESA mode; -nowindirect allows DirectDraw modes to be the 
  934.  
  935. preferred choice for all resolutions except 320x200 (see -noforcevga 
  936.  
  937. below).
  938.  
  939.  
  940.  
  941. -nodirectdraw: QW will not try to use DirectDraw modes.
  942.  
  943.  
  944.  
  945. -startwindowed: QW will come up in a windowed mode, without going 
  946.  
  947. fullscreen even during initialization.
  948.  
  949.  
  950.  
  951. -noforcevga: normally, QW uses VGA mode 0x13 for the default 320x200 
  952.  
  953. mode, even if a DirectDraw or VESA 320x200 mode exists.  However, 
  954.  
  955. DirectDraw and VESA modes can be considerably faster than mode 0x13, 
  956.  
  957. because they can set up a linear framebuffer with higher memory 
  958.  
  959. bandwidth.  If you specify -noforcevga, the default 320x200 mode will be 
  960.  
  961. a DirectDraw or VESA mode if one exists.  The downside to this switch is 
  962.  
  963. that DirectDraw and VESA modes can cause problems in some systems, due 
  964.  
  965. to driver bugs or hardware incompatibilities; if you experience problems 
  966.  
  967. with this switch, don't use it.
  968.  
  969.  
  970.  
  971.  
  972.  
  973. ----------------------------------
  974.  
  975. | A bit about how QW sound works |
  976.  
  977. ----------------------------------
  978.  
  979.  
  980.  
  981. QW can use either DirectSound or Windows wave output to generate sound.  
  982.  
  983. If DirectSound is available, it is used; if not, if wave sound is 
  984.  
  985. available it is used; and if neither is available, there is no sound.  
  986.  
  987. DirectSound results in the best sound quality, and also the lowest-
  988.  
  989. latency sound; use it if you can, because you will be happier with the 
  990.  
  991. results.  (Note, though, that no NT sound drivers yet support 
  992.  
  993. DirectSound.)  Wave sound will often have high latency, lagging the 
  994.  
  995. events that generate sound by hundreds of milliseconds on some machines.
  996.  
  997.  
  998.  
  999. Note that QW generates sound only when it is the active app, the one 
  1000.  
  1001. with the input focus.  
  1002.  
  1003.  
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009. -------------------------------
  1010.  
  1011. | Sound command-line switches |
  1012.  
  1013. -------------------------------
  1014.  
  1015.  
  1016.  
  1017. The full list of sound-related command-line switches is:
  1018.  
  1019.  
  1020.  
  1021. -wavonly: donÆt use DirectSound, but use wave sound if available
  1022.  
  1023.  
  1024.  
  1025. -nosound: donÆt output any sound
  1026.  
  1027.  
  1028.  
  1029. ========================================================================
  1030.  
  1031. End of Document 12/10/96
  1032.  
  1033. ========================================================================
  1034.  
  1035.  
  1036.  
  1037.