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: How to setup correct MAME game resolutions?  (Read 58503 times)

0 Members and 1 Guest are viewing this topic.

krick

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2006
  • Last login:February 08, 2023, 08:30:27 pm
  • Gotta have blue hair.
Re: How to setup correct MAME game resolutions?
« Reply #40 on: June 06, 2011, 12:21:55 am »

...emulated game and audio speed should always be self-adjusting in relation to actual refresh rate, and actual refresh rate should be adjustable in relation to available refresh rate provided by given video card and monitor.


This is kind of what the SoundSync option in CabMAME and GroovyMAME does. 

For example, when running Pac-Man on my cabinet with GroovyMAME, the refresh rate of the video mode chosen is actually a little lower than the actual arcade game, probably due to running a vertical game on a horizontal monitor.  If you sync MAME to the monitor refresh to prevent tearing, Pac-Man runs a little slower, however the sound tries to play at the original speed, which causes sound buffer overflows.  The SoundSync option adjusts the playback rate of the sound buffer to match the emulation speed.  It eliminates the buffer overflow glitching, but has the side-effect of making the pitch of the audio slightly lower.

I run GroovyMAME with the default settings except I turn SoundSync on.  I have yet to find a game that exhibits any tearing at all, and I'm using an ArcadeVGA, which has a much more limited choice of resolutions than running Soft15KHz or CRT_EmuDriver with a "normal" ATI card.
Hantarex Polo 15KHz
Sapphire Radeon HD 7750 2GB (GCN)
GroovyMAME 0.197.017h_d3d9ex
CRT Emudriver & CRT Tools 2.0 beta 13 (Crimson 16.2.1 for GCN cards)
Windows 7 Home Premium 64-bit
Intel Core i7-4790K @ 4.8GHz
ASUS Z87M-PLUS Motherboard