Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: kfisher 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
-
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.)