The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: springman on January 19, 2022, 11:18:18 am

Title: Scaling & Stretching
Post by: springman on January 19, 2022, 11:18:18 am
Hi and thank you all for this great scene!

I've been working on my project:

Windows 10
PVM 14L
i5-4000 series
AMD HD 8490 (non-GCN)

Please excuse my noob questions:

For my setup, I suppose I'm on super resolution. Do I need to do -resolution 2560x0 in my mame.ini? Or is it okay to just leave it as auto?

I've been using GM with my G-sync monitor with great smoothness for years turning off all the sync functions and also all uneven stretches with only -keepaspect 1 and -autostretchxy 1 in order to make sure 1:1 pixel and ratio. I don't mind black bars up down left right at all. But I really wish to learn the concept behind scaling and stretching in GM / MAME. I have searched and read everything with "scaling" & "stretching" as the keywords but I just don't know what configuration is best in terms of authenticity. And now with my PVM / CRT Emudriver, should I leave all the scaling and stretching settings back to default?

I've also read through Calamity's sample cases of SFC, Neo Geo, and 320 x 256 games in the 2019 guide and I'm not sure if after all it's all just based on the games / machines or personal preferences. Or is it true that as long as I do -keepaspect 1 no matter it's uneven (fractional?) or integer scaling the games just look and feel the same as the original hardware?

I'm so confused. Please help. Thanks.

springman
Title: Re: Scaling & Stretching
Post by: buttersoft on January 19, 2022, 05:48:20 pm
For my setup, I suppose I'm on super resolution. Do I need to do -resolution 2560x0 in my mame.ini? Or is it okay to just leave it as auto?
Set it to 2560x0

Quote
Or is it true that as long as I do -keepaspect 1 no matter it's uneven (fractional?) or integer scaling the games just look and feel the same as the original hardware?
Have a read of sections c) and d), and possibly e) if you're interested, of this thread - https://www.aussiearcade.com/topic/76809-a-guide-to-connecting-your-windows-pc-to-an-sd-crt-tv-pvm-or-arcade-monitor/

That should at least help you understand what you're trying to do, if not the precise options to set in mame.ini, which i'm not sure of for newer builds of GM. There used to be options called -unevenstrechx and -unevenstrechy, but i don't know what -autostretch does :/
Title: Re: Scaling & Stretching
Post by: Recapnation on January 19, 2022, 07:41:13 pm
-autostretchxy should be set back to 0 when you're using a CRT.

I believe your card has at least an analog output? If so, you don't really need to use super-resolutions -- that just helps to have it all working faster and keep the installed video modes in lower quantities and the per-game horizontal amplitude more uniform. Using the native resolution modes will be more authentic since you may find some minor artifacts with super-resolutions and non-integer horizontal scaling, but you'll lose the seamless resolution switching for the games that do it, as explained in the guide. In practice, many consider this splitting hairs, and you can always set a general super-resolution and later make a per-game configuration for the cases you prefer for whatever reason.