I've been wanting to work on this for a while.
Makaron T12-5 build added the ability to resize the Naomi PVR window.
I thought this could be useful for vertical shmups:
http://forum.arcadecontrols.com/index.php?topic=105109.0(see that thread for info on sizing the window)
Anyways, finally got around to writing a script to rotate the screen and launch the game (and rotate back on exit).
irotate must be installed.
Credit for making the background black and covering up the emulator window as it launches should go to TAG,
as I lifted that part from this thread:
http://forum.arcadecontrols.com/index.php?topic=105956.0On my test computer which runs vista, I unchecked "Keep Taskbar on Top Other Windows" under properties.
I haven't tried it on my arcade setup yet (it runs XP)
The way I did it requires a script for each game, but there aren't many.
I was having trouble getting the game to launch when I tried to run the script seperate,
so for the sake of getting it done, I made launching the game part of the script.
There is probably a better way, but it depends on which front end you are using.
This way, it shouldn't matter, just point the front end at the ahk script.
Anyways, here 'tis if anyone else wants to play around with it.
(MButton is my exit key, the sleep is so long because blacking out the window frame wouldn't work consistently without it being that long, moving the mouse seemed easier than hiding the cursor)
EDIT: I should also add that since the options in the service menu have to be set correctly for the game to launch, I have multiple copies of Makaron installed..i.e. 2P Horizontal, 1P Vertical, 2P Vertical. In this case my Makaron4 folder is a copy of Makaron with the settings for 2P Vertical. Again, there may be an easier way, but it's a tangled web we weave, when of multiple emulators we conceive.
Send, {CTRLDOWN}{ALTDOWN}{Left}{ALTUP}{CTRLUP}
Gui -Caption +ToolWindow
Gui, Color, 0
Gui, Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
Gui, 2: +AlwaysOnTop -Caption +ToolWindow
Gui, 2: Color, 0
Gui, 2: Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
MouseMove, 1439, 100
Run, C:\Emulators\Programs\Makaron4\NAOMI.exe ikaruga.dat
sleep, 1200
WinSet, Style, ^0xC00000, NAOMI - PVR
WinActivate, NAOMI - PVR
Gui, 2:Destroy
MButton::
Process, Close, NAOMI.exe
Gui, Destroy
Send, {CTRLDOWN}{ALTDOWN}{Up}{ALTUP}{CTRLUP}
ExitAPP
return
The transition is really clean, makes me want to go back and refine some other emulators.
Here is the result (there's a cluttered desktop behind there)
EDIT:The script worked on my arcade setup, but not as smooth. It would draw the black screen before rotating,
so the window ended up not being wide enough to cover everything. You could see the toolbar and 1/4 of the Naomi window while it was starting.
Changing: Gui, Show, x0 y0 h%A_ScreenHeight% w%A_ScreenWidth%, HSHIDE
To: Gui, Show, x0 y0 h%
A_ScreenWidth% w%A_ScreenWidth%, HSHIDE
made it so it's covered either way. I could probably have put another sleep in there to give it time to rotate first,
but it already seems to launch slower on that computer.
Funny how the same script will run differently on a different computer.
EDIT AGAIN!:
Here's a breakdown by service menu settings:
Vertical/1P Games:
Psyvar2
Karous
Radirgy
Monomoro
Triggerheart Exelica
Vertical/2P Games:
Trizeal
Ikaruga
Shikigam No Shiro
Under Defeat
Shooting Love 2007 (Exzeal)
Horizontal/1P Games:
Chaos Field
Horizontal/2P Games:
Radirgy Noa
GigaWing 2
Border Down