OpenGlide for UT99 in Windows

Developer's Forum, for discussion of bugs, code, and other developmental aspects of OpenGLide.

OpenGlide for UT99 in Windows

Postby skaarj » 2016-8-01 @ 05:55

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
openglide-ut-1.zip
win32 openglide for ut99 (ver 1)
(408.76 KiB) Downloaded 99 times
skaarj
Newbie
 
Posts: 7
Joined: 2016-6-15 @ 14:26

Re: OpenGlide for UT99 in Windows

Postby skaarj » 2016-8-01 @ 05:58

Attached source code below.
Attachments
openglide-ut-1-src.zip
openglide-ut-1 source code
(219.52 KiB) Downloaded 99 times
skaarj
Newbie
 
Posts: 7
Joined: 2016-6-15 @ 14:26

Re: OpenGlide for UT99 in Windows

Postby Stiletto » 2016-8-01 @ 12:31

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

Stiletto
User avatar
Stiletto
l33t
 
Posts: 3575
Joined: 2002-7-01 @ 21:57

Re: OpenGlide for UT99 in Windows

Postby skaarj » 2016-8-01 @ 17:52

:)
skaarj
Newbie
 
Posts: 7
Joined: 2016-6-15 @ 14:26

Re: OpenGlide for UT99 in Windows

Postby skaarj » 2016-8-03 @ 05:20

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
openglide-ut-2.zip
win32 openglide for ut99 (ver 2)
(408.98 KiB) Downloaded 97 times
openglide-ut-2.diff
Apply this patch (ver 2) to source code in first post of thread
(5.46 KiB) Downloaded 91 times
skaarj
Newbie
 
Posts: 7
Joined: 2016-6-15 @ 14:26

Re: OpenGlide for UT99 in Windows

Postby skaarj » 2016-8-03 @ 20:02

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
smooth_shading.diff
openglide patch for tomb raider (code untested)
(2.59 KiB) Downloaded 88 times
skaarj
Newbie
 
Posts: 7
Joined: 2016-6-15 @ 14:26


Return to OpenGLide Development

Who is online

Users browsing this forum: No registered users and 1 guest