VOGONS


First post, by skaarj

User metadata
Rank Newbie
Rank
Newbie

Latest openglide with several modifications specifically tested for UT99 in Windows. Attached source code and binaries.

Vsync set by wglSwapInterval=1 (given video card supports this extension). If InitFullScreen=1, then press F11 in UT99 to reacquire the in-game brightness level. Also, the wrapper's gamma function has been disabled since it depends on compatibility between win32 api and video driver. Instead it is ideal, if necessary, to use driver settings for gamma level.

To build in mingw32/gcc:
./bootstrap
./configure --disable-sdl
make
[manual step: rename libglide2x.dll to glide2x.dll]

Glide2x.dll binary dependent on two mingw32 c/c++ runtime libraries. Edit settings in OpenGLid.ini. These four files may be copied to game directory (UT99's /System/) after backing up any installed copy of glide2x.dll.

This package is for experienced users only. User is responsible for installation and any issues that may arise.

Attachments

  • Filename
    openglide-ut-1.zip
    File size
    408.76 KiB
    Downloads
    681 downloads
    File comment
    win32 openglide for ut99 (ver 1)
    File license
    Fair use/fair dealing exception

Reply 1 of 5, by skaarj

User metadata
Rank Newbie
Rank
Newbie

Attached source code below.

Attachments

  • Filename
    openglide-ut-1-src.zip
    File size
    219.52 KiB
    Downloads
    650 downloads
    File comment
    openglide-ut-1 source code
    File license
    Fair use/fair dealing exception

Reply 4 of 5, by skaarj

User metadata
Rank Newbie
Rank
Newbie

Added two previously posted patches and reverted borderless window mode.

Resolution: set a value of 0 to turn off scaling or 1 through 16 to specify a scaling factor. May test with fractional values. For example, where Resolution=2 and InitFullScreen=0, then window size is scaled by two times.

Attachments

  • Filename
    openglide-ut-2.zip
    File size
    408.98 KiB
    Downloads
    547 downloads
    File comment
    win32 openglide for ut99 (ver 2)
    File license
    Fair use/fair dealing exception
  • Filename
    openglide-ut-2.diff
    File size
    5.46 KiB
    Downloads
    567 downloads
    File comment
    Apply this patch (ver 2) to source code in first post of thread
    File license
    Fair use/fair dealing exception

Reply 5 of 5, by skaarj

User metadata
Rank Newbie
Rank
Newbie

I am unable to incorporate or test the attached code since it is for Tomb Raider, but it contains a change which was previously suggested as a fix for the appearance of "triangular shadows" near the game start. The "SmoothShading" setting is off by default, but set SmoothShading=1 to activate the fix.

Attachments

  • Filename
    smooth_shading.diff
    File size
    2.59 KiB
    Downloads
    565 downloads
    File comment
    openglide patch for tomb raider (code untested)
    File license
    Fair use/fair dealing exception