Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: buttersoft on July 20, 2015, 10:07:40 pm

Title: Groovymame/Cleanstretch/Super Resolutions question (and ideas)
Post by: buttersoft on July 20, 2015, 10:07:40 pm
With a rough understanding of the way a CRT works, i can see why non-integer horizontal scaling would be almost indistinguishable at higher resolutions. However, as i'm running a culled MAME list (150 or so titles) with many duplicate video modes (CPS1/2/NeoGeo/etc) I actually only need about 15 modes.

If i use VMMaker to generate these exact 15 modes, can i have Groovymame select the correct one for each game?  I presume setting Cleanstretch to 1 is the way to do that, but will Groovymame still alter the refresh rate on the fly? And do i need to set a particular resolution in mame.ini to make sure Groovymame/Switchres goes hunting for the right integer-scaled fit?

I'm assuming that if i cannot do the above, I also cannot make my own integer-scaled super resolutions, one or two horizontal sizes for each vertical size, and have Groovymame switch between those...? (Does setting the resolution in mame.ini to 2560 x 0 mean Groovymame will only select from modes with that horizontal resolution, and look to match the vertical resolution to an integer scale? Can i use Resolution 0 x 0? A double wildcard, in other words.)

Any help or confirmation would be much appreciated :)

EDIT: I see the Unevenstretch variable in my Mame.ini, is that the same command as cleanstretch, and what do i set that one to?
Title: Re: Groovymame/Cleanstretch/Super Resolutions question (and ideas)
Post by: haynor666 on July 21, 2015, 05:48:19 am
Unevenstretch doesn't do anything, at least on Windows. Groovymame sets cleanstretch automatically unless You are using super resolutions, then set 2.

Right now groovymame picks the best resolution available changing only frequency.
Title: Re: Groovymame/Cleanstretch/Super Resolutions question (and ideas)
Post by: buttersoft on July 21, 2015, 05:52:01 am
Groovymame sets cleanstretch automatically unless You are using super resolutions, then set 2.

Thanks for the reply :)

So, you're saying setting Cleanstretch to 1 and Resolution to 0x0 will search all available video modes until it finds an integer match for both horizontal and vertical resolutions in the one modeline? For the game i'm loading, of course...
Title: Re: Groovymame/Cleanstretch/Super Resolutions question (and ideas)
Post by: haynor666 on July 21, 2015, 05:55:34 am
If you are using list something like this - http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=254 (http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=254)
then leave cleanstretch as it is (0). Leave resolution also default (auto) and groovymame will find correct resolution in 99% correctly.

If You are using super resolutions use cleanstretch 2 and resolution 2560x0