The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: ratsflif on December 31, 2023, 06:32:30 pm

Title: Shift image horizontally
Post by: ratsflif on December 31, 2023, 06:32:30 pm
Is there a way to shift the image horizontally when using the dynamically generated super resolutions?

I am have issues with the image being shifted to the right too much on my standard res arcade monitor even when the horizontal adjustment is maxed out.  It does this on two different monitors as well.

I've opened arcadeOSD and I can change the horizontal center on the 13 or so super resolutions that are listed and it works great while in arcadeOSD but when I launch a game from mame and it generates the modeline it will be shifted to the right again.


Thanks, hope that makes sense.
Title: Re: Shift image horizontally
Post by: psakhis on January 01, 2024, 06:33:23 am
Are you changing mame.ini with new values?
Title: Re: Shift image horizontally
Post by: ratsflif on January 01, 2024, 08:19:14 am
Are you changing mame.ini with new values?

No, not sure what to change in the mame.ini
Title: Re: Shift image horizontally
Post by: buttersoft on January 01, 2024, 04:47:23 pm
there is a guide to VMM and ArcadeOSD - http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46

VMM sets up modelines and installs them. ArcadeOSD adjusts them. And you can save the adjustments. But the switchres utility in GroovyMAME, which is where the magic happens, uses the timings in the mame.ini file. When playing with ArcadeOSD, remember that Esc will back out of any changes.

To make adjusted timings stick for GM you can either redo VMM with updated timings in the monitor.ini, or instead you can just 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.
Title: Re: Shift image horizontally
Post by: ratsflif on January 02, 2024, 10:05:41 am
there is a guide to VMM and ArcadeOSD - http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46

VMM sets up modelines and installs them. ArcadeOSD adjusts them. And you can save the adjustments. But the switchres utility in GroovyMAME, which is where the magic happens, uses the timings in the mame.ini file. When playing with ArcadeOSD, remember that Esc will back out of any changes.

To make adjusted timings stick for GM 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.

Thank you for the detailed response, I will give it a shot tonight.
Title: Re: Shift image horizontally
Post by: ratsflif on January 03, 2024, 06:29:05 pm
Thanks so much. After all these years using groovymame and I never knew about adjusting the modeline, I always just used the default.

It's adjusted perfectly now.