VOGONS


First post, by x86++

User metadata
Rank Newbie
Rank
Newbie

Quake2 for Windows has fallbacks if directx is not present. One fallback is the use of DIB instead of the Directdraw render engine; however, DIB is only active in window mode whereas directdraw is active in fullscreen mode. Where there are directx rendering issues, the attached patch allows for a quasi-fullscreen DIB mode by drawing a borderless window. This requires that one of the included display resolutions matches to the monitor screen, but if not, then perhaps another code edit for resolution would accommodate the desired dimensions.

Used Q2Dos (9/29/15) as a base since it is a stable code base and enhances the original Quake2. Also, ported the code so it builds with mingw32/gcc. The attached patch and binary have these changes in addition to the DIB enhancements (software render mode only). Included is gamex86.dll for "baseq2" directory, but the other gamex86 versions must be rebuilt via mingw32. Otherwise, rebuild Quake2-DIB with the recommended MS compiler so the gamex86 rebuilds are not necessary.

If there is any startup issue, first try deleting qdos.cfg and then restart. Also, verify that any official mission pack directory name is either "rogue" or "xatrix". Verified that the mission pack directories should be named either "rogue" or "xatrix" because there is code in q2dos (tested in win32 version) to enhance the multiplayer menu and other options when it finds these specific names; otherwise, the extra mission pack options will not appear in the multiplayer menu, and the ogg music and startup sequence may not work correctly.

Attachments

  • Filename
    Quake2-DIB.zip
    File size
    461.98 KiB
    Downloads
    69 downloads
    File comment
    Quake2-DIB (win32)
    File license
    Fair use/fair dealing exception
  • Filename
    quake2_DIB_mingw.diff
    File size
    20.37 KiB
    Downloads
    82 downloads
    File comment
    Q2Dos patch for Quake2-DIB-mingw (win32)
    File license
    Fair use/fair dealing exception