Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: H Stretch to match  (Read 3634 times)

0 Members and 1 Guest are viewing this topic.

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 111
  • Last login:April 15, 2024, 10:39:26 am
H Stretch to match
« 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?
« Last Edit: November 23, 2021, 03:15:46 pm by mrchrister »

makya

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 76
  • Last login:December 24, 2023, 06:58:12 pm
  • I want to build my own arcade controls!
Re: H Stretch to match
« Reply #1 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?

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 111
  • Last login:April 15, 2024, 10:39:26 am
Re: H Stretch to match
« Reply #2 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?

buttersoft

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1758
  • Last login:March 22, 2024, 12:55:20 am
  • Is running at 15kHz
Re: H Stretch to match
« Reply #3 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

mrchrister

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 111
  • Last login:April 15, 2024, 10:39:26 am
Re: H Stretch to match
« Reply #4 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!