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.

Reply 1 of 5, by skaarj

User metadata
Rank Newbie
Rank
Newbie

Attached source code below.

Reply 2 of 5, by Stiletto

User metadata
Rank l33t++
Rank
l33t++

Interesting! thank you.

"I see a little silhouette-o of a man, Scaramouche, Scaramouche, will you
do the Fandango!" - Queen

Stiletto

Reply 3 of 5, by skaarj

User metadata
Rank Newbie
Rank
Newbie

😀

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.

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.