Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: mrchrister on November 23, 2021, 01:08:35 pm

Title: H Stretch to match
Post by: mrchrister on November 23, 2021, 01:08:35 pm
Hey guys,

I have a Donkey Kong cab that can switch between original PCB and Groovymame.

My problem is GM is stretched much more horizontally than the original PCB. (Horizontally meaning up/down in this case). I know I can change the Modeline in mame.ini to adjust the Horizontal Stretch. This works well, but other games in 224px res look to squished for my taste.

So I want to use H stretch in Mame slider options specifically for Donkey Kong. I use super resolution so 2560x224 for DK. DK looks best at 0.900. My thinking is using multiples of 256 to scale evenly instead...How would I go about this?
Also will using H Stretch introduce extra lag?
Title: Re: H Stretch to match
Post by: makya on November 23, 2021, 03:41:40 pm
Hello, any reason you don't create an ini file just for donkey kong with the correct modeline?
Title: Re: H Stretch to match
Post by: mrchrister on November 23, 2021, 04:28:26 pm
That's a great suggestion, didn't know I can do that...
Still curious if H stretch does have an impact on performance?
Title: Re: H Stretch to match
Post by: buttersoft on November 23, 2021, 04:59:43 pm
The guide to ArcadeOSD is at post #5 on this link - https://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46

To summarise, changing the timing around the horizontal sync pulse and porches for a mode will move the image on the screen left and right and resize it. Play around and see, knowing that you can hit Esc to go back at any time. You then save any changes you want, for other emulators. While still in ArcadeOSD, go back into the modeline and look at the timings you've set and write them down.

To make these timings stick for (Groovy)MAME you can either redo VMM with updated timings in the monitor.ini, or edit the mame.ini file with the updated horizontal timings (starting with the crt_range0 line, which for the generic_15 monitor preset defaults to crt_range0 15625-15750, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576 - remember that your monitor may want a different preset, and that any specific vertical.ini, machine.ini like neogeo.ini, or game.ini files will override).

Calamity insists redoing VMM works best, but i find that with the spread of modes i'm using (230p at 60Hz all the way up to 600i at 50Hz) on different monitors, i still want to set the mame.ini timings afterward. There's a bit about vertical sizing/timings by Calamity here - http://forum.arcadecontrols.com/index.php/topic,159464.msg1677118.html#msg1677118
Title: Re: H Stretch to match
Post by: mrchrister on November 23, 2021, 05:01:47 pm
Thank you sir! I've actually played around with a Modeline already so I have one that matches my DK PCB output. Just didn't know I can set these per game.

Your response is much appreciated and I have learned a lot about modelines from your prior conversations. Cheers!