resolution (0,1,2,3)
Option Category #
# OSD PER-WINDOW VIDEO OPTIONS
#
Description This option can be used in conjunction with the -screen command or on its own and allows you to choose the resolution and refresh rate that the screen will be shown in. To change a full screen you need to add the -switchres command. If you leave it on auto then MAME will try and use the default resolution for the monitor. Resolutions are entered as widthxheight@refreshrate (the refresh rate is optional). If you set the resolution to 0x0 and add a refresh rate then MAME will try and apply that refresh rate to your monitor without changing the resolution. You can also use this option to size a window though MAME will try and use the original aspect ratio. You can override this by using the -nokeepaspect option. Using just -resolution without a following number will affect all the generated screens.
Full Command -resolution <integer>x<integer>@<integer>
Alt. Command -r
resolution0
-r0
resolution1
-r1
resolution2
-r2
resolution3
-r3
Reverse Command none
Example mame64 darius2d -resolution 800x600 -switchres -nokeepaspect (Will open a screen at 800x600 with no top or bottom borders)
mame.ini Command resolution
resolution0
resolution1
resolution2
resolution3
Command Default auto
Argument Format <integer> <integer>x<integer>@<integer>