VOGONS

Common searches


Glide patch

Topic actions

Reply 202 of 246, by Sheriff Hobbes

User metadata
Rank Newbie
Rank
Newbie

You're my man. F3 did the trick! 😀
I experimented with midmapping because this is available in the options menu, but antialiasing is a hidden feature.

Marriage is a three ring circus:
-engagement ring
-wedding ring
-suffering

H. L. Mencken

Reply 207 of 246, by robertmo

User metadata
Rank l33t++
Rank
l33t++

I was about the game loading screen that is very slowly drawn (line by line) with nglide's default configuration. If you disable vsync in nglide's configuration it is fast. (disabling in my geforce's control panel helps too)

Reply 208 of 246, by MastaG

User metadata
Rank Newbie
Rank
Newbie

Thanks for the awesome work you put into this Gulikoza!

I'm using the pre-patched version of dosbox by robertmo a few posts back with openglide.

I also applied two patches to openglide:
1. carmageddon fix:
Carmageddon fix
2. high resolution patch by gulikoza:
Highres rendering patch

Everything was compiled for 32bit i686 with -m32 gcc and linker flags.

It's working great but I'm having two minor issues:

1. The blood tracks on the road are black instead of red.
(see screenshot)
2. When using output=opengl in dosbox-SVN.conf, exiting glide enabled games will cause the dosbox window to be black (I can still type).
This doesn't happen when using output=surface.

Any thoughts on this?

OpenGlid.ini:

Version=0.09rc9
[Options]
WrapperPriority=2
CreateWindow=0
InitFullScreen=0
Resolution=0.0
EnableMipMaps=1
IgnorePaletteChange=0
Wrap565to5551=1
EnablePrecisionFix=1
EnableMultiTextureEXT=1
EnablePaletteEXT=1
EnableVertexArrayEXT=0
TextureMemorySize=16
FrameBufferMemorySize=8
NoSplash=0

My system:
Fedora 16 x86_64
nVidia GeForce 9200M GS
2.2Ghz Core2Duo
4GB RAM.

glxinfo:

direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
OpenGL vendor string: nouveau
OpenGL renderer string: Gallium 0.4 on NV98
OpenGL version string: 2.1 Mesa 7.11.2
OpenGL shading language version string: 1.20

Attachments

  • Filename
    carma.png
    File size
    699.78 KiB
    Downloads
    439 downloads
    File license
    Fair use/fair dealing exception

Reply 209 of 246, by robertmo

User metadata
Rank l33t++
Rank
l33t++
MastaG wrote:

1. The blood tracks on the road are black instead of red.
(see screenshot)

Blood tracks are red using nglide.

MastaG wrote:

2. When using output=opengl in dosbox-SVN.conf, exiting glide enabled games will cause the dosbox window to be black (I can still type).
This doesn't happen when using output=surface.

doesn't happen in nglide too

But there is a problem that happens with both: nglide and real voodoo1 and voodoo2 cards with your patch: messed up textures in Pył (doesn't happen in wd/kekko's emu (and it's opengl version)).

Attachments

  • pyl_broken_textures.JPG
    Filename
    pyl_broken_textures.JPG
    File size
    41.8 KiB
    Views
    10101 views
    File license
    Fair use/fair dealing exception

Reply 210 of 246, by MastaG

User metadata
Rank Newbie
Rank
Newbie

MastaG wrote:
1. The blood tracks on the road are black instead of red.
(see screenshot)

Blood tracks are red using nglide

So the black blood tracks are related to OpenGlide?
I've looked into nGlide, but I believe it's a Winodws-only wrapper.
And I'm using Linux.
If there's anyone who got the blood tracks red using OpenGlide then please provide a patch 😀

MastaG wrote:
2. When using output=opengl in dosbox-SVN.conf, exiting glide enabled games will cause the dosbox window to be black (I can still type).
This doesn't happen when using output=surface.

doesn't happen in nglide too

I see, but then again, I didn't notice a difference in performance when using OpenGL instead of surface.
I guess it doesn't really matter since the rendering is done using the wrapper instead.

But there is a problem that happens with both: nglide and real voodoo1 and voodoo2 cards with your patch: messed up textures in Pył (doesn't happen in wd/kekko's emu (and it's opengl version)).

I'll try this game as soon as I have some spare time and report back my results using OpenGlide 😀

Reply 211 of 246, by robertmo

User metadata
Rank l33t++
Rank
l33t++
MastaG wrote:

But there is a problem that happens with both: nglide and real voodoo1 and voodoo2 cards with your patch: messed up textures in Pył (doesn't happen in wd/kekko's emu (and it's opengl version)).

I'll try this game as soon as I have some spare time and report back my results using OpenGlide 😀

It happens with OpenGlide too.

Reply 212 of 246, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

@MastaG: do you use the SDL version of OpenGlide (can be set when compiling)? It should work with OpenGL output...but as you've said it does not matter for Glide output as that is rendered by OpenGL anyway.

http://www.si-gamer.net/gulikoza

Reply 214 of 246, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Good one, find "case _grTexClampMode12" in glide.cpp and change

FP.grFunction3i(param[1], param[3], param[3]);

to

FP.grFunction3i(param[1], param[2], param[3]);

😉

http://www.si-gamer.net/gulikoza

Reply 217 of 246, by robertmo

User metadata
Rank l33t++
Rank
l33t++

Tie Break Tennis 98
doesn't work with your patch
game quits to dos with:
"video mode not supported"

Glide:LFB access: read-write
Glide:GLIDE_PageHandler installed at 0x60000000 (384 pages)
Glide:Activated
Glide:Resolution set to:640x480, LFB at 0x60000000 (linear: 0x60000000)
Glide:grSstWinOpen called when glide is active!

With wd/kekko patch (both opengl and softemu)
everything is ok at the beginning, but after the ball touches the ground you got this:
1 frame for a few seconds and flooding console with:
lfbw fpp mselect alpha 3
blend alpha a_local

Reply 218 of 246, by gulikoza

User metadata
Rank Oldbie
Rank
Oldbie

Inspired by dgVoodoo2 testing I've updated the patch in the first post. This is quite an extensive update so I might have broken somethings but I have tried to test it all.

The changes include:

- configurable splash screen
- support multiple buffer locks (eg: back + depth) (Extreme Assault)
- increase available LFB memory
- fix Tie Break Tennis init
- fix Unreal GPF
- updated to apply to current svn (r3821)

There are some conf changes: the port selection is gone (defaults to 0x600, not really needed for end-users), splash option has been added to allow disabling splash screen. LFB Access option has been extended to allow disabling AUX (depth) buffer locks which are not supported by OpenGlide.

You NEED to use the updated OVL (and/or dll inside booted Windows) for Glide to be detected (also attached in the first post)!

There is a quickly compiled Windows test version available here

http://www.si-gamer.net/gulikoza

Reply 219 of 246, by kjliew

User metadata
Rank Oldbie
Rank
Oldbie

It works with Tomb Raider from DOSBox or booted Win95 MS-DOS prompt in DOSBox. This is the only DOS Glide game that I can check. However, none of the WIN32 Glide apps/games work from within Win95. I tried Glide demos/tests from 3Dfx SDK and NFS2SE demo. All of them end up in protection fault within Win95 and terminated.

The patch was applied to clean DOSBox SVN r3846, and I was using dgVoodoo 1.50Beta and dgVoodoo 2.15 as the wrapper. OS is Windows 7 32-bit and DOSBox was built with MSYS/MinGW gcc.