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: Question, mame horizontal stretch.  (Read 2130 times)

0 Members and 1 Guest are viewing this topic.

josete2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 62
  • Last login:February 16, 2024, 10:54:41 pm
Question, mame horizontal stretch.
« on: February 11, 2018, 07:07:44 am »
Hi, I'm using a CRT TV in my arcade cabinet.

As I have another systems attached on it I've adjusted the screen from Service but now mame stretchs the image so much.

As I see if I set the horizontal stretch to 0.956 games fit perfect...

Is there any way to set horizontal stretch value for all games?

Thanks in advance.

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7411
  • Last login:March 14, 2024, 05:26:05 am
  • Quote me with care
Re: Question, mame horizontal stretch.
« Reply #1 on: February 12, 2018, 11:13:01 am »
Instead of using MAME's stretching sliders, which will break integer scaling, create a custom crt_range adjusting the horizontal porch values, modifyingg these two options in mame.ini:

monitor custom
crt_range0  15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576

Here, the numbers in black are the ones you have to play with until the picture fits the screen. Go increasing both of them by small amounts, then once the picture fits inside the tube, vary their relative size until you center it correctly. This will apply to all resolutions, not only one. Using super resolutions, although not strictly required, will help you get a more consistent centering among modes.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

josete2k

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 62
  • Last login:February 16, 2024, 10:54:41 pm
Re: Question, mame horizontal stretch.
« Reply #2 on: February 12, 2018, 03:45:47 pm »
Gracias maestro. Iré probando.