[DOSBox-only version] Hq2x / Hardware OpenGL-HQ scaling

Here you can discuss the development of patches.

[DOSBox-only version] Hq2x / Hardware OpenGL-HQ scaling

Postby `Moe` » 2005-4-16 @ 03:47

Hi guys (and ladies),

I just wanted to let you know that I've uploaded the latest Hq2x/OpenGL-HQ patch today. It now compiles nicely on windows, and I've even added a win32 binary build. That build is totally, utterly, completely unsupported, will blow up your girlfriend and sleep with your house (or was it the other way round?), but I had it lying around and I guess some may want to see how OpenGL-HQ looks like.

Try surface=openglhq and fullfixed=true (using your desktop resolution), then go fullscreen and drool ;)

You need a Geforce 5600/Radeon 9500 class video card, or newer. If your hardware isn't sufficient, you'll automatically get regular opengl output, sorry.

As for configuring trigger values and the like, look for older posts to get an idea what's possible. However, I've tweaked the algorithm with great success, so it will usually pick best settings automatically.

The binary contains all my patches and a really recent CVS, nothing else. I do not plan to make regular binary releases - others do a great job with that. You can find the files in the sourceforge patches section.

Please, any nvidia users tell me if/how it works. It doesn't use any ATI-specific stuff, but you never know, and I have no modern nvidia equipment for testing.
User avatar
`Moe`
Oldbie
 
Posts: 1169
Joined: 2004-4-29 @ 01:06
Location: Oldenburg, Germany

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby gulikoza » 2005-4-16 @ 08:54

`Moe`...I'm not sure how to tell you this...but your build crashes as soon as I set it to openglhq :s-face:. Just unpacked, config -writeconf...
dunno it might be my windows (since it's acting somewhat strange lately, but I don't have that many problems). I'll try compiling my own version...

edit: nope, my compile crashes as well :sad:. Also...I can't figure out why applying your patch dosbox now plays videos in Tomb Raider...although the colors are really messed up.

edit2: turned off triple buffering in control panel and it doesn't crash now. I'll do more tests...
User avatar
gulikoza
Oldbie
 
Posts: 1705
Joined: 2004-6-25 @ 14:53

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby CraigG » 2005-4-16 @ 12:55

Got a URL, Moe.
I wouldn't mind playing around with that. :wink:
Athlon 64 3000+ stock
MSI NForce 4 K8N Neo Platinum
2Gb RAM
nVidia Geforce 6800GT stock clocks
SBLive! Platinum + Audigy ZS2 Drivers
WinXP Pro SP2
User avatar
CraigG
Member
 
Posts: 207
Joined: 2002-9-01 @ 16:13

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby HunterZ » 2005-4-16 @ 20:17

What good is OpenGL without triple buffering?

Would like to see some screenshots before I get off my ass and check it out for myself ;)
You're perfect, yes it's true...but without me, you're only you.
User avatar
HunterZ
l33t++
 
Posts: 6075
Joined: 2003-1-31 @ 19:04
Location: Seattle

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby Jiri » 2005-4-16 @ 21:14

Since I have Radeon 9200, I cannot test OpenGL-HQ. But 16-bit VESA, which is part of this patch, should work anyway (at least I think so). But I have messed colors with a greenish look in the games that need 16-bit color mode - I tested Zork Nemesis and "D".
You do not have the required permissions to view the files attached to this post.
Jiri
Member
 
Posts: 293
Joined: 2003-7-21 @ 20:19

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby `Moe` » 2005-4-17 @ 19:26

Yeah, triple buffering crashers for me as well. No idea why, or what ATI expects developers to do - the OpenGL API only talks about double buffering, and that's used and works.

HunterZ, just get the EXE and see for yourself. My screenshot was 350k (as png!), so I decided not to attach it.

Jiri, I'll try and see what's wrong, I already have an idea (thanks to wd's observant eyes). Expect another patch soon.
User avatar
`Moe`
Oldbie
 
Posts: 1169
Joined: 2004-4-29 @ 01:06
Location: Oldenburg, Germany

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby CraigG » 2005-4-17 @ 21:00

Thanks for the URL, Moe.

I guess I'll have to read your mind, next time. :pppt:

Why is this place full of Fucking assholes.
Athlon 64 3000+ stock
MSI NForce 4 K8N Neo Platinum
2Gb RAM
nVidia Geforce 6800GT stock clocks
SBLive! Platinum + Audigy ZS2 Drivers
WinXP Pro SP2
User avatar
CraigG
Member
 
Posts: 207
Joined: 2002-9-01 @ 16:13

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby HunterZ » 2005-4-17 @ 21:21

We're old and bitter, but mostly I blame Snover...
You're perfect, yes it's true...but without me, you're only you.
User avatar
HunterZ
l33t++
 
Posts: 6075
Joined: 2003-1-31 @ 19:04
Location: Seattle

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby `Moe` » 2005-4-18 @ 09:01

What are you referring to? I still don't get what you mean. Everything's on sourceforge, just as I've written before, and as it has always been.
User avatar
`Moe`
Oldbie
 
Posts: 1169
Joined: 2004-4-29 @ 01:06
Location: Oldenburg, Germany

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby Snover » 2005-4-18 @ 19:42

Methinks Craiggey's had a bad day :)
Snover
l33t++
 
Posts: 5209
Joined: 2002-6-30 @ 04:47

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby `Moe` » 2005-4-19 @ 08:55

Well, just as long as he watches his wording next time - I'd like to see him sitting for hours every day all week long to get that darn thing working on windows. SDL and OpenGL are cool and cross-platform, but I managed to step on every little remaining incompatibility between linux and win ;)

Jiri, I updated the patches to address your problem. There's no updated binary yet.

gulikoza, did it compile for you? I'd like to stop making win32 builds and leave that to you, since I wasn't able to get cross-compiling working.

Lastly, can anyone with a little compiler knowledge please help out with MSVC? There are some casts and pointer arithmetics that MSVC doesn't like, but I don't have the compiler.
User avatar
`Moe`
Oldbie
 
Posts: 1169
Joined: 2004-4-29 @ 01:06
Location: Oldenburg, Germany

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby gulikoza » 2005-4-19 @ 08:57

16bit mode seems to work now...it's interesting, I didn't know tomb raider plays videos in 16 bit :happyhappy: Haven't had the time to check openglhq yet...

edit: didn't have any problems compiling...so yes, I can do that...though I still have to change my d3d patch so that applies to your changes :happy:. I'll see what happens in msvc...
User avatar
gulikoza
Oldbie
 
Posts: 1705
Joined: 2004-6-25 @ 14:53

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby CraigG » 2005-4-19 @ 12:18

Methinks Craiggey's had a bad day


You hit the nail, firmly on the head.

Moe, I appologise. Bad week, would be more fitting.

All I'm asking, Moe, is this. Do you please have a url for a Binary ?
I honestly don't have any links to sourceforge. I formatted, and started again, only this time sticking to SP1.
I forgot to backup all my old Firefox links, so I'm trying to get them all back, including some useful Dosbox ones.
Athlon 64 3000+ stock
MSI NForce 4 K8N Neo Platinum
2Gb RAM
nVidia Geforce 6800GT stock clocks
SBLive! Platinum + Audigy ZS2 Drivers
WinXP Pro SP2
User avatar
CraigG
Member
 
Posts: 207
Joined: 2002-9-01 @ 16:13

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby Jiri » 2005-4-19 @ 14:37

`Moe` wrote:Jiri, I updated the patches to address your problem.


Thanks `Moe`, I will test it and post results.

CraigG: The patches are here: http://sourceforge.net/tracker/?atid=46 ... unc=browse But, as `Moe` said, there is no binary for last version. So you must compile DOSBox yourself or wait for Moe´s or gulikoza´s ( http://home.amis.net/lkslavi/ ) build.
Jiri
Member
 
Posts: 293
Joined: 2003-7-21 @ 20:19

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby CraigG » 2005-4-19 @ 14:46

Thanks for the links.

Just as another favour, does anyone have the links to "something (forget) compile" ?
or was it "CVS compile" ?
Just so I can get some of these links back,
Thanks.
Athlon 64 3000+ stock
MSI NForce 4 K8N Neo Platinum
2Gb RAM
nVidia Geforce 6800GT stock clocks
SBLive! Platinum + Audigy ZS2 Drivers
WinXP Pro SP2
User avatar
CraigG
Member
 
Posts: 207
Joined: 2002-9-01 @ 16:13

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby Jiri » 2005-4-19 @ 14:50

CraigG wrote:Thanks for the links. Just as another favour, does anyone have the links to "something (forget) compile" ?
or was it "CVS compile" ?


Do you mean this?
http://cvscompile.aep-emu.de/index.php? ... &id=dosbox
Jiri
Member
 
Posts: 293
Joined: 2003-7-21 @ 20:19

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby CraigG » 2005-4-19 @ 15:12

Thats the one, thanks. And it looks like they an even newer build than when I last went there, about a week ago.
Marvelous. :happyhappy:
Athlon 64 3000+ stock
MSI NForce 4 K8N Neo Platinum
2Gb RAM
nVidia Geforce 6800GT stock clocks
SBLive! Platinum + Audigy ZS2 Drivers
WinXP Pro SP2
User avatar
CraigG
Member
 
Posts: 207
Joined: 2002-9-01 @ 16:13

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby `Moe` » 2005-4-19 @ 17:20

I've finally got my cross-compilation environment working, so expect regular win32 test binaries alongside my source patches:

http://garni.ch/Software/dosbox/

These will be latest-CVS all-features-enabled all-my-patches-applied no-foreign-patches-applied binaries, so probably nice for daily work unless you like to use other experimental things not written by me.

Today's build is as small as 937k zipped, including all DLLs needed (more than usual, since everything is dynamically linked).
User avatar
`Moe`
Oldbie
 
Posts: 1169
Joined: 2004-4-29 @ 01:06
Location: Oldenburg, Germany

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby Qbix » 2005-4-19 @ 17:58

error 403 (forbidden)
Water flows down the stream
How to ask questions the smart way!
User avatar
Qbix
DOSBox Author
 
Posts: 10652
Joined: 2002-11-27 @ 14:50
Location: Fryslan

Re: Hq2x / Hardware OpenGL-HQ scaling

Postby kekko » 2005-4-19 @ 18:29

just tried 16bit patch with screamer rally: green image appears
only when overlay output is selected, no problems with surface
and opengl modes.
User avatar
kekko
Member
 
Posts: 480
Joined: 2004-3-24 @ 18:56

Next

Return to DOSBox Patches

Who is online

Users browsing this forum: No registered users and 1 guest