Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: twistedsymphony on September 12, 2014, 09:21:11 am
-
I've got a FiF cab with a vertical arcade monitor. I'm running WinXP and a Radeon HD4350. and I'm using a HyperSpin front end.
The graphics card option to rotate the desktop are disabled because I'm using CRT_EmuDriver... it strips those options out.
The hyperspin front end doesn't support vertical orientation natively so in order to use it I have to have the desktop rotated to portrait mode... and because CRT_EmuDriver doesn't support rotation I have to use iRotate to do it.
however when I have the desktop in portrait mode then GroovyMAME and SwitchRes can't find the proper game resolutions because it's expecting the screen to be in landscape mode (probably why CRT_EmuDriver disables rotation).
------------------
SO... to solve my problems I'd like to have an AHK script that rotates windows to landscape mode before mame is launched, and rotates it back after mame is closed. Defaulting windows to portrait mode is ideal because I have several PC games that are already setup to run this way. Not to mention it's easier to muck around in windows when I need to if the screen is the right way around.
I'm sure I can muddle my way through creating the script myself but I'm wondering if someone's already got one built that works well.
-
Send, {CTRLDOWN}{ALTDOWN}{Left}{ALTUP}{CTRLUP}
from
http://forum.arcadecontrols.com/index.php/topic,106477.msg1128194.html#msg1128194 (http://forum.arcadecontrols.com/index.php/topic,106477.msg1128194.html#msg1128194)
-
That method doesn't seem to work. Entering the shortcut keys manually isn't working for me either.
-
How are you getting irotate to rotate the screen then?
-
via command line:
irotate.exe /1:rotate=270
irotate.exe /1:rotate=0
or via the system tray menu
the trick is to automatically rotate back when mame quits
-
I made a .bat script that rotates mame properly but it causes problems with hyperspin.
@echo off
c:/progra~1/irotate/irotate.exe /rotate=0
start /wait c:/hyperspin/Emulators/mame/mame.exe %*
c:/progra~1/irotate/irotate.exe /rotate=270
exit
when hyperspin launches this instead of mame directly the sounds from hyperspin continue playing in the background. then when I quit out of mame back to the ui hyperspin doesn't return to focus.
-
so I found this: http://www.hyperspin-fe.com/forum/showthread.php?32170-Vertical-HS-theme-that-looks-just-like-the-Horizontal-one&p=303455&viewfull=1#post303455 (http://www.hyperspin-fe.com/forum/showthread.php?32170-Vertical-HS-theme-that-looks-just-like-the-Horizontal-one&p=303455&viewfull=1#post303455)
basically the same exact setup as me, he solved it by using hyperlaunch and modifying the ahk script for mame within hyperlaunch to include commands for iRotate.
I'm not using hyperlaunch right now because I don't like how much overhead it adds but I might end up utilizing it just to make use of that solution myself.
-
How about something like this....
Run, "C:\Program Files (x86)\iRotate\iRotate.exe" /rotate=90
Process, Wait,Mame.exe
Process, WaitClose,Mame.exe
Run, "C:\Program Files (x86)\iRotate\iRotate.exe" /rotate=0
ExitApp
-
that might work, I'll need to add command line parameters though so mame launches the correct rom with the correct switches.