My orunners.ini looks like this:
I think you can ignore that resolution line and put your own as i'm running on a real old CRT monitor. But you're saying that method is not going to work for you? In which case you might try loading both windows and then automating the process of selecting the correct screen and making it borderless fullscreen. Autohotkey will do this, using something like the below ahk textfile snippets, compiled into an exe if you like:
I'm using the ini file, and the first four lines of the above AHK script to load the game, then select the particular instance i want to bring to the top (screen 0 vs screen 1, here). You may need to run the game windowed (in two windows, here) and then use the full AHK script to select which window you want to bring to the front and then maximise into borderless fullscreen. Setting the resolution in MAME ini to be your desired screen res is probably still a good idea.
If you haven't used autohotkey before, it looks daunting. But it's pretty easy to learn and you can find lots of examples to copy or crib from. Running everything on the lists above really requires you to learn something like this
I'm also probably not going to be able to troubleshoot this for you. I use the second part of that script to grab several other windowed games (each of which is at the time already in front/selected) and then maximise to borderless fullscreen.
Quote
#
# Individual game CONFIGURATION OPTIONS
#
#
# OSD VIDEO OPTIONS
#
video auto
numscreens 2
window 0
maximize 1
waitvsync 0
syncrefresh 0
monitorprovider auto
#
# OSD PER-WINDOW VIDEO OPTIONS
#
screen auto
aspect auto
resolution 320x240
view auto
screen0 auto
aspect0 auto
resolution0 auto
view0 auto
screen1 auto
aspect1 auto
resolution1 auto
view1 auto
I think you can ignore that resolution line and put your own as i'm running on a real old CRT monitor. But you're saying that method is not going to work for you? In which case you might try loading both windows and then automating the process of selecting the correct screen and making it borderless fullscreen. Autohotkey will do this, using something like the below ahk textfile snippets, compiled into an exe if you like:
Quote
Run "C:\games\mame\outrunners.bat" ; i use a batfile but try however you want
sleep 6000
SetTitleMatchMode, 2
Winactivate, screen 0
sleep 1000
WinGet, WindowID, ID, A
WinSet, Style, -0xC40000, ahk_id %WindowID%
WinMove, ahk_id %WindowID%, , 0, 0
I'm using the ini file, and the first four lines of the above AHK script to load the game, then select the particular instance i want to bring to the top (screen 0 vs screen 1, here). You may need to run the game windowed (in two windows, here) and then use the full AHK script to select which window you want to bring to the front and then maximise into borderless fullscreen. Setting the resolution in MAME ini to be your desired screen res is probably still a good idea.
If you haven't used autohotkey before, it looks daunting. But it's pretty easy to learn and you can find lots of examples to copy or crib from. Running everything on the lists above really requires you to learn something like this
