- This topic has 12 replies, 1 voice, and was last updated 4 years, 4 months ago by Johnny844.
-
AuthorPosts
-
May 2, 2019 at 1:01 pm #126884
Hi
does anyone have an exit script i can use with irotate
im trying to get mame to rotate the screen 90 when i start a game and rotate back to 0 when i exit
now iv managed to rotate to 90 on start of the game thats all working , its just when i exit mame crashes and affects pinup popper menu
cheers
yin
TIA
You need to login in order to like this post: click here
May 2, 2019 at 1:07 pm #126885I used i rotate for android in cab but never needed to for mame. Did you try just mame commandline options instead?
Core Rotation Options
-[no]rotateRotate the system to match its normal state (horizontal/vertical). This ensures that both vertically and horizontally oriented systems show up correctly without the need to rotate your monitor. If you want to keep the system displaying ‘raw’ on the screen the way it would have in the arcade, turn this option OFF.
The default is ON (-rotate).
-[no]ror-[no]rol
Rotate the system screen to the right (clockwise) or left (counter-clockwise) relative to either its normal state (if -rotate is specified) or its native state (if -norotate is specified).
The default for both of these options is OFF (-noror -norol).
-[no]autoror-[no]autorol
These options are designed for use with pivoting screens that only pivot in a single direction. If your screen only pivots clockwise, use -autorol to ensure that the system will fill the screen either horizontally or vertically in one of the directions you can handle. If your screen only pivots counter-clockwise, use -autoror.
-[no]flipx-[no]flipy
Flip (mirror) the system screen either horizontally (-flipx) or vertically (-flipy). The flips are applied after the -rotate and -ror/-rol options are applied.
The default for both of these options is OFF (-noflipx -noflipy).
********************************************************
Messing with the VPinball app and push notifications.
So if you haven't downloaded app yet what are you waiting for!?
for IOS and Android********************************************************
You need to login in order to like this post: click here
May 2, 2019 at 2:34 pm #126890thanks for the reply
this is what im trying to do – iv got a 3 screen vpinball machine with integrated joysticks
im running pinuppopper front end and using mame i want to run the games on the main screen and on my backglass screen , iv got a marquee and other image on my topper screen.
the problem is the all the screens are in landscape mode so when mame runs the main screen is obviously on its side but with the startup script in pinup i can rotate it 90 and everything works fine until i want to escape the game, thats where it starts going pear shaped . so on exit of the game i ask irotate in the pinup end script to rotate back to zero and mame goes into meltdown and crashes everything
does mame let you run landscape and portrait on 2 different screens at the same time from command line options ???
thanks
You need to login in order to like this post: click here
May 2, 2019 at 2:56 pm #126897in v1.4 try some of these things:Â (i don’t use irotate so not sure)
for your mame emulator there’s a checkbox ‘safe return’. try settings that.
then in your mame emulator close script. (assume mame32 is exe?)
taskkill /IM mame32.exe
irotate 0
timeout 2
"[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Visual Pinball" 1 1
 also, if your menu is working but some things are out of position, press game-menu button as that will recheck all positions of windows. let me knowYou need to login in order to like this post: click here
May 2, 2019 at 3:51 pm #126905in v1.4 try some of these things:Â (i don’t use irotate so not sure)
for your mame emulator there’s a checkbox ‘safe return’. try settings that.
then in your mame emulator close script. (assume mame32 is exe?)
taskkill /IM mame32.exe
irotate 0
timeout 2
"[STARTDIR]LAUNCH\PUPCLOSER.EXE" WINTIT "Visual Pinball" 1 1
 also, if your menu is working but some things are out of position, press game-menu button as that will recheck all positions of windows. let me knowthats great – thats got the exit script working good
thanks again
You need to login in order to like this post: click here
May 2, 2019 at 3:55 pm #126906@yinyan : good to know it works. I’m updating the wiki and wanted to know if the sample i gave worked 100%? did all windows come back in popper ok?
maybe you can copy/paste your launch/close script and i can use as example in wiki… thanks
You need to login in order to like this post: click here
May 2, 2019 at 4:06 pm #126909Hi
yes all the windows came back on correctly
i didnt copy it like for like just used the taskkill and another line
but ill post my scripts tomorrow after work as iv shut my table down now
im sure there not perfect as im only just learning all this
thanks again
You need to login in order to like this post: click here
May 3, 2019 at 10:42 am #126967ok heres my scripts – prob not correct but they are working for me
START “” “[STARTDIR]Launch\VPXSTARTER.exe” “Multiple Arcade Machine Emulator” 2 2 10
START “” “[DIREMU]\irotate.exe” “/rotate=90”
f:
cd “f:\downs\mame”
START “” “[diremu]\mameuifx64.exe” “[GAMEFULLNAME]”
taskkill /im mameuifx64.exe
START “” “[DIREMU]\irotate.exe” “/rotate=0”
timeout 2
“[STARTDIR]LAUNCH\PUPCLOSER.EXE” PROC “mameuifx64” 4 4this also assumes that irotate is in your mame folder but i suppose you
can change that for anywhere you like
You need to login in order to like this post: click here
May 3, 2019 at 6:05 pm #127087I myself use MAME without needing to rotate my screen with Popper. I just have MAME itself set to rotate in it’s own settings (like randr mentioned). So it’s literally just as simple as launching MAME….no extra programs needed.
You need to login in order to like this post: click here
May 4, 2019 at 7:42 am #127128I myself use MAME without needing to rotate my screen with Popper. I just have MAME itself set to rotate in it’s own settings (like randr mentioned). So it’s literally just as simple as launching MAME….no extra programs needed.
hi
yeah but then it would rotate both screens wouldnt it ??? my backglass screen wants to be landscape and playfield portrait
ill try it later
thanks
You need to login in order to like this post: click here
May 4, 2019 at 7:55 am #127131It will only rotate display 1 but with cammand line you can setup multiple screens too If you wanted. Â Mame has all that built in for emulation :)
********************************************************
Messing with the VPinball app and push notifications.
So if you haven't downloaded app yet what are you waiting for!?
for IOS and Android********************************************************
You need to login in order to like this post: click here
May 4, 2019 at 8:03 am #127132no just tried it and it rotated both screens
ill leave it as it is – its working how i want it at the minute
You need to login in order to like this post: click here
December 22, 2019 at 8:50 pm #155388Hi, im having problems with closing script for my MAME64. I tried the “taskkill” and it closed the MAME. However, after closing it, i cant seem to launch any game at all.
I can still navigate through the menu and select games, just cant launch the game… any idea why??
THanks
Jko
You need to login in order to like this post: click here
-
AuthorPosts
Forums are currently locked.