Request: 512x448 Fullscreen in Windows

Found a bug? Please report it, but remember to follow the bug reporting guidelines.
Missing a sane feature? Let us know!
But please do NOT request ports to other systems.

Moderator: ZSNES Mods

Post Reply
Zilog Jones
New Member
Posts: 3
Joined: Thu Jan 20, 2005 10:00 pm
Location: Ireland

Request: 512x448 Fullscreen in Windows

Post by Zilog Jones »

Would it be possible to add this resolution to the Windows port? With the modern nvidia drivers (well, for my GF2 Ti anyway), you can add custom resolutions (well ones your monitor/card can handle) and I've successfully used 512x448 at 120Hz with other emulators (MAME, FCE Ultra, VirtuaNES, etc.). It won't let me add 256x224 (at 60 or 120Hz), and anyway that won't support the high-res modes. I think there's some program around for adding custom resolutions with ATI cards too.

Would this be possible? Or could it be made so the resolution is just registered in the config file by dimensions, so anything can be entered (as long as your PC can support it of course)? This worked for me with other emulators when they just had the height and width in the config file, but no listing of my custom res in the GUI.
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

I've added it to my 1.41 sources, but I'm going to test it before I go grab the needed files from CVS.

[EDIT: It would appear that my video card does not, in fact, support 512x448 fullscreen...]
Dead
Lurker
Posts: 118
Joined: Sat Sep 25, 2004 10:59 am
Location: I don't know where I am

Post by Dead »

Vareni Stargazer wrote:I've added it to my 1.41 sources, but I'm going to test it before I go grab the needed files from CVS.

[EDIT: It would appear that my video card does not, in fact, support 512x448 fullscreen...]
You wouldn't mind sharing your code with us, would you? We could let you know how it well it works for us.

To the original poster: Change your desktop to 512 x 448 x 16bit x 60Hz, then use 512 x 448 DR win in ZSNES. If you use 32-bit color and the HQ2x filter, you get slightly better color gradients than in 16-bit color.

If there WAS a 512 x 448 full screen mode in ZSNES, it would perform quite a bit better than in the equivalent windowed mode, in part because of the available option to use triple buffering. So, that's why it would be cool to be able to use custom resolutions with ZSNES.

Also, if you want to try using your custom resolution trick with SNES9x, you should create a 512 x 480 x 16bit x 60Hz mode, and tell SNES9x to stretch the image. For some reason SNES9x uses 512 x 480 as the native image resolution. As a result, certain games, such as Dragon Quest I & II, will display correctly.
Last edited by Dead on Sat Jan 29, 2005 5:50 am, edited 1 time in total.
pagefault
ZSNES Developer
ZSNES Developer
Posts: 812
Joined: Tue Aug 17, 2004 5:24 am
Location: In your garden

Post by pagefault »

You need to hack an inf file to add the resolution, so you will have to reinstall your drivers. At least thats the only way I think you can do it. StretchMAME used to have instructions on adding custom resolutions.
Zilog Jones
New Member
Posts: 3
Joined: Thu Jan 20, 2005 10:00 pm
Location: Ireland

Post by Zilog Jones »

With nvidia drivers, if you go to Display Properties -> Settings -> Advanced -> GeForce (whatever) -> Screen Resolutions & Refresh Rates, you can just add them. There's some sort of program for ATI cards for tweaking and overclocking and stuff (can't remember the name though) which will let you do the same thing.

There used to be a way of editing the registry to add resolutions, but it only works with much older cards/drivers, and possibly only in Win95/98.
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

well, it's in the 1.42 sources I have on file, but I still can't test it because DirectX wants to be an ass.
jm9843
New Member
Posts: 3
Joined: Sat Jan 29, 2005 1:29 am

Support ALL custom resolutions?

Post by jm9843 »

Vareni Stargazer:

Do you think that it would be possible for ZSNESW to support all custom resolutions? And by that I mean all resolutions listed in the display adapter's driver..

This is a common need in the HTPC world where users need to compensate for overscan on their HDTVs. This is usually accomplished by adding a custom resolution via the Windows registry with a tool like PowerStrip (http://www.entechtaiwan.net/index.shtm).

I have the slightest bit of overscan w/ 640x480 but a perfect 856x480 for my widescreen HDTV.


Thanks for looking into this and let me know if you need help testing anything.
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

All right, here's the problem.

There is no way in hell I'm going to be adding more than one or two resolutions just for the HTPC crowd. you want your own resolutions, you go figure out how to add them yourself without breaking anything. The *sole* reason I was willing to add 512x448 Full at all was because this guy didn't say anything about how it might be 'easy' to implement. Capiche?
jm9843
New Member
Posts: 3
Joined: Sat Jan 29, 2005 1:29 am

Post by jm9843 »

Vareni Stargazer wrote:All right, here's the problem.

There is no way in hell I'm going to be adding more than one or two resolutions just for the HTPC crowd. you want your own resolutions, you go figure out how to add them yourself without breaking anything. The *sole* reason I was willing to add 512x448 Full at all was because this guy didn't say anything about how it might be 'easy' to implement. Capiche?
There is some kind of a problem? News to me. This forum is called "Bug Reports/Feature Requests", isn't it?

A simple, "no, I won't be implementing that" would have sufficed. Life will go on regardless of the display modes supported by ZSNES.
Joe Camacho
Devil's Advocate
Posts: 2293
Joined: Mon Aug 02, 2004 7:51 pm
Location: Hmo. Son.

Post by Joe Camacho »

jm9843 wrote:
Vareni Stargazer wrote:All right, here's the problem.

There is no way in hell I'm going to be adding more than one or two resolutions just for the HTPC crowd. you want your own resolutions, you go figure out how to add them yourself without breaking anything. The *sole* reason I was willing to add 512x448 Full at all was because this guy didn't say anything about how it might be 'easy' to implement. Capiche?
There is some kind of a problem? News to me. This forum is called "Bug Reports/Feature Requests", isn't it?

A simple, "no, I won't be implementing that" would have sufficed. Life will go on regardless of the display modes supported by ZSNES.
Do you see a "developer" tag on VS? That'll should answer your question. Also, he is known to be quite rude, don't worry about it.
*Sometimes I edit my posts just to correct mistakes.
jm9843
New Member
Posts: 3
Joined: Sat Jan 29, 2005 1:29 am

Post by jm9843 »

Joe Camacho wrote: Do you see a "developer" tag on VS? That'll should answer your question. Also, he is known to be quite rude, don't worry about it.
Yeah, I noticed after the fact that he wasn't listed under the "People" section of the main page, as a either a "Main Coder" or a "Contributor".

Thanks for the heads up.
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

One does not need to be a developer or a 'main coder' to contribute to ZSNES.

From the ZSNES 1.41 changelog, under SDL:
- Updated video selection menu. (Thanks, Aerdan!) [ipher, Nach]

Aerdan == me.
Joe Camacho
Devil's Advocate
Posts: 2293
Joined: Mon Aug 02, 2004 7:51 pm
Location: Hmo. Son.

Post by Joe Camacho »

Vareni Stargazer wrote:One does not need to be a developer or a 'main coder' to contribute to ZSNES.

From the ZSNES 1.41 changelog, under SDL:
- Updated video selection menu. (Thanks, Aerdan!) [ipher, Nach]

Aerdan == me.
Yeah, I know, but he acted like if you were, making you somehow "part responsible" of listening to every request made on the board, I hope I made myself clear.
*Sometimes I edit my posts just to correct mistakes.
Aerdan
Winter Knight
Posts: 467
Joined: Mon Aug 16, 2004 10:16 pm
Contact:

Post by Aerdan »

Joe Camacho wrote:
Vareni Stargazer wrote:One does not need to be a developer or a 'main coder' to contribute to ZSNES.

From the ZSNES 1.41 changelog, under SDL:
- Updated video selection menu. (Thanks, Aerdan!) [ipher, Nach]

Aerdan == me.
Yeah, I know, but he acted like if you were, making you somehow "part responsible" of listening to every request made on the board, I hope I made myself clear.
I'm aware of that. I was pointing out the fact that one doesn't need to be a dev or main coder to contribute to him. :p
grinvader
ZSNES Shake Shake Prinny
Posts: 5632
Joined: Wed Jul 28, 2004 4:15 pm
Location: PAL50, dood !

Post by grinvader »

Vareni Stargazer wrote:I was pointing out the fact that one doesn't need to be a dev or main coder to contribute to him. :p
And it only requires half a brain to get a murderous urge after seeing the gl code... :roll:
皆黙って俺について来い!!

Code: Select all

<jmr> bsnes has the most accurate wiki page but it takes forever to load (or something)
Pantheon: Gideon Zhi | CaitSith2 | Nach | kode54
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

I think a better solution than constant requests for video modes would be to let the user enter a video mode they want and let them have it. DirectX allows you to querry modes ahead of time, so you will know if it is valid or not.

I'm not sure about DirectDraw, but D3D allows you to then use all the same drawing dimensions and buffer sizes and just apply it to any resolution.

So essentially, you can use any resolutions and color depth you want and D3D adapts whatever you are doing to it by itself for the most part.

Not to bring up the DD vs. D3D debate again, but the more I use D3D, the more I realize how helpful it can be to 2D applications.
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
m1t0s1s
New Member
Posts: 6
Joined: Sat Oct 30, 2004 2:39 pm

advancemame + advancecab

Post by m1t0s1s »

advancemame + advancecab -- works when you can't use scitech display doctor.

To nightcrawler: Opengl r0ckz j00!!! heh.


Edit:
advancecab works by adding custom display resolutions to the registry, but zsnes still won't support them.
Last edited by m1t0s1s on Tue Feb 01, 2005 8:28 pm, edited 1 time in total.
===============
[img]http://www.danasoft.com/sig/DaveCssign.jpg[/img]
MaxSt
ZSNES Developer
ZSNES Developer
Posts: 113
Joined: Wed Jul 28, 2004 7:07 am
Location: USA
Contact:

Post by MaxSt »

Nightcrawler wrote:DirectX allows you to querry modes ahead of time, so you will know if it is valid or not.
Nightcrawler wrote:So essentially, you can use any resolutions and color depth you want
Two sentences contradict each other.
Nightcrawler
Romhacking God
Posts: 922
Joined: Wed Jul 28, 2004 11:27 pm
Contact:

Post by Nightcrawler »

Ok.. any mode your card supports. Happy now?
[url=http://transcorp.romhacking.net]TransCorp[/url] - Home of the Dual Orb 2, Cho Mahou Tairyku Wozz, and Emerald Dragon SFC/SNES translations.
[url=http://www.romhacking.net]ROMhacking.net[/url] - The central hub of the ROM hacking community.
Post Reply