OSD Per-Window Options


screen (0,1,2,3)
Description With the -screen command you can redirect Mame's display to a specific monitor. It can be used with multiple monitors and/or multiple windows. For example a game like Darius used three monitors in the arcades. If you have three monitors, with this command you can direct each screen to the relevant monitor and re-create the original arcade cabinet screen setup. To get the names of your displays then you can use mame64.exe -v and the first lines which are labelled "Video" will give you your display names (Nomally \\.\DISPLAYn where n is the display number). Using just -screen without a following number will affect all the generated screens.
Full Command -screen <integer> <display>
Alt. Command screen0
screen1
screen2
screen3
Reverse Command none
Example mame64 pacman -screen \\.\DISPLAY2 (Will display the whole screen on a second monitor)
mame64 darius2d -numscreens 2 -screen1 \\.\DISPLAY1 -screen2 \\.\DISPLAY2 -view0 Right -view1 Left -window (Will split the screen and display the correct view on separate monitors)
Mame.ini Command screen
screen0
screen1
screen2
screen3
Command Default auto
Argument Format <integer> <display>

aspect (0,1,2,3)
Description This option can be used in conjunction with the -screen command and allows you to choose the aspect ratio that the screen will be shown in. If you leave it on auto then Mame will try and use the correct ratio for the system. The available aspect ratios are available in "Video Options" on the UI menu. Using just -aspect without a following number will affect all the generated screens.
Full Command -aspect <integer> <ratio>
Alt. Command aspect0
aspect1
aspect2
aspect3
Reverse Command none
Example mame64 darius2d -numscreens 2 -aspect2 40:29 -window (Will show the second window in the original games screen ratio)
Mame.ini Command aspect
aspect0
aspect1
aspect2
aspect3
Command Default auto
Argument Format <integer> <ratio>

resolution (0,1,2,3)
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>

view (0,1,2,3)
Description This option can be used in conjunction with the -screen command or on its own and allows you to choose the default view that the system will be displayed in. The available views are available in "Video Options" on the UI menu. If you dont use the complete view name then Mame will try and pick the closest one to what you have entered. If you leave it on auto then Mame will use the default view set up in the driver. Using just -view without a following number will affect all the generated screens.
Full Command -view <custom>
Alt. Command view0
view1
view2
view3
Reverse Command none
Example mame64 darius2d -view "Dual Side-By-Side (Gapless)" (Will show the game screens side by side without a gap between them)
Mame.ini Command view
view0
view1
view2
view3
Command Default auto
Argument Format <integer> <custom>