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: cmdline Mame, specify game res in *gamename*.cfg?  (Read 863 times)

0 Members and 1 Guest are viewing this topic.

kfisher

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:December 17, 2012, 08:34:04 am
cmdline Mame, specify game res in *gamename*.cfg?
« on: November 11, 2006, 09:56:18 am »
Is it possible to customise a said game's .cfg for the commandline MAME to ensure that this particular game gets run at a said resolution and config?

Can the gamename.cfg supercede and override ALL mame.cfg settings?

If anyone has specified a custom resolution for a particular game, could they provide an example bit of the XML?

I have an ArcadeVGA and JPAC. Most games seem to be doing the proper shift to their res and refresh rate. However, pigskin doesn't work. It looks like it's an odd refresh rate. So, ideally, I'd like to force it to a functional approximate resolution.

Sorry if this has already been answered, but I couldn't come up with a proper search query and didn't see it in the mame documentation.... In the meantime, I'll be playing around with a specific cfg to try and fix my problem.

Thanks!
Kevin
« Last Edit: November 11, 2006, 10:00:41 am by kfisher »

NickG

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 586
  • Last login:September 26, 2022, 05:25:23 am
  • Dig.
    • My Projects Page
Re: cmdline Mame, specify game res in *gamename*.cfg?
« Reply #1 on: November 11, 2006, 03:20:30 pm »
It is the [gamename].ini files that have resolution and refresh rate information.   For example, if I set resolution and refresh in my frontend for Pigskin, pigskin.ini is created in my mame\ini folder.  Create or edit the existing .ini with:

resolution0                512x400x0@30
switchres                  1

If you can't run the screen at 30Hz refresh, running at 60Hz would be double so ideally it will just draw every frame twice, but you will still have the proper resolution dimensions with:

resolution0                512x400x0@60
switchres                  1

I tried to set the color with resolution0 settings, but my vidcard or something choke on the 512x400x8@30 and the 512x400x8@60, so I left it at 0(which my frontend set for me when I chose auto bit depth.)