Support more glide resolutions

New ideas and suggestions.
Stiletto
Posts: 49
Joined: Sat Apr 10, 2010 6:55 pm

Re: Support more glide resolutions

Post by Stiletto »

Zeus wrote:What would be the point? Voodoo hardware doesn't support modern widescreen resolutions.
The way VEG seems to be talking, he seems to be separating the Glide API from the idea that there's actual hardware that directly executes it, and more as a middleware API that you use only with different Glide wrappers. :D
User avatar
Zeus
Site Admin
Posts: 1712
Joined: Sun Sep 21, 2008 2:51 pm
Contact:

Re: Support more glide resolutions

Post by Zeus »

Check your email, VEG. I sent you nGlide dev version that supports extended resolutions.

Let us know when your patch for NFS3 is ready so we can do some beta tests.

P.S. Extended resolutions has been added also to glide.dll and glide2x.dll in case you (or somebody else) will decide to patch some other games in the future. grQueryResolutions export has been added to glide.dll/glide2x.dll.
Aspect ratio calculations for forced resolutions via nGlide configurator / nGlide environment variables have been fixed. Aspect ratio = "4:3" in configurator will be renamed to "Preserve original" in the next official release (1.05).
VEG
Posts: 64
Joined: Mon Apr 13, 2015 4:05 pm
Location: Belarus, Minsk
Contact:

Re: Support more glide resolutions

Post by VEG »

Thanks. I think it will be ready soon.
Dolenc
Posts: 5
Joined: Wed May 25, 2022 12:24 pm

Re: Support more glide resolutions

Post by Dolenc »

Zeus wrote: Wed Apr 29, 2015 3:42 pm
VEG wrote:Or maybe someone will decide to add support of extended API to original Glide3x library
What would be the point? Voodoo hardware doesn't support modern widescreen resolutions.
Sure it does :)
https://youtu.be/IESjpYLQT6Y

Anyway I wanted to thank you 2 for keeping the debate in public, was good motivation to get me started.
Im trying to fix the driver, similar to what you did for the wrapper. For now its just extended resolutions(the dumb way of adding more), other parts would have to be re-written too, so I dont dare changing too much before I know everything works.

I do have some questions if you would be so kind to help me a little.

Where do you "decide"(EnumDisplayModes) what resolution to use, since games, if not patched, will try to set max 1600x1200? (I added a control in 3dfx tools and then just override the res when the frame buffer inits, I know I know, not saying Im proud of it :D )
Would it be posible to get the class where you made the changes (guess gsst.c?) so I can take a peak of how you did it?
Dolenc
Posts: 5
Joined: Wed May 25, 2022 12:24 pm

Re: Support more glide resolutions

Post by Dolenc »

(If anything is against the forum rules, censor my post or warm me :) )

Short answer: yes!

Long aswer: Doesnt need an override, since most openGl games either have more resolutions or got patched, just same additional resolutions have to be addedd to the opengl part of the driver too. And I already did it and it works.
And for d3d games, they just need the appropriate resolution definition/timings added, also done.

Ill post here, since this, now dead :P forum, was previously very 3dfx development active.
And here I posted the "preview" files already, you can use them in your current driver (should work for v4,5) if you want to play around a bit.
WhiteMagicRaven
Posts: 187
Joined: Sun Feb 28, 2010 11:10 pm
Contact:

Re: Support more glide resolutions

Post by WhiteMagicRaven »

i mean in theory a game do not accept any resolution change is there a way to force resolution?
Dolenc
Posts: 5
Joined: Wed May 25, 2022 12:24 pm

Re: Support more glide resolutions

Post by Dolenc »

There is, thats what nGlide does too. Problems you can have is if also aspect ratio changes and the game engine doesnt recalculate fov, then you have to do that too. Prob more problems down the line.
WhiteMagicRaven
Posts: 187
Joined: Sun Feb 28, 2010 11:10 pm
Contact:

Re: Support more glide resolutions

Post by WhiteMagicRaven »

well i am sorry, where i can find that program?
to much to read on links and it gors like recursive to other forums =)
Dolenc
Posts: 5
Joined: Wed May 25, 2022 12:24 pm

Re: Support more glide resolutions

Post by Dolenc »

I dont think theres a good opengl wrapper doing this, you did say in theory ;)

What problem are you trying to solve anyway?
Post Reply