Attract-Mode Support Forum
Attract-Mode Support => General => Topic started by: JayLie on May 19, 2021, 05:48:06 AM
-
Hi, another useful feature that i cant find anywhere to implement in my build, "Auto exit game when on idle for x amount of time"
Cant someone please help me and perhaps alooot of others
-
external software, scripts:
Here (http://forum.attractmode.org/index.php?topic=1803.0)
threads, themes:
Here (http://forum.attractmode.org/index.php?topic=1826.0)
Workaround:
use screensaver of AM + Blank Screen Start Command (start taskkill command of OS to close running emulator).
Similar here (https://forum.attractmode.org/index.php?topic=3958.msg27657#msg27657)
-
threads, themes:
Here (http://forum.attractmode.org/index.php?topic=1826.0)
I've just tested that timer.nut file, it does a good job, but it only takes you back to the display menu after x amount of idle time when you in another menu...and when you in game, it doesnt exit mame on idle....
-
Workaround:
use screensaver of AM + Blank Screen Start Command (start taskkill command of OS to close running emulator).
Similar here (https://forum.attractmode.org/index.php?topic=3958.msg27657#msg27657)
Okay, I've got my bat script working, it kills mame when I click on it and when a game is running so that part works, but ive got nooooo idea how to implement it in Attract mode, ive tried everything.....
-
workaround : external script that starts belong with your emulator.
Script that counts how long no entry has been made and kill the current emulator (pressing the escape-button or make a taskkill)
Since you are not happy about such solutions ("horrible methods", "dodgy 3rd party software", "buggy aswell", "not even working") (http://forum.attractmode.org/index.php?topic=2324.msg27822#msg27822):
AM is opensource & the stage is yours (https://github.com/mickelson/attract/wiki)
-
The reason I'm asking for these things are that 10yr old kids will be playing on an arcade machine in public running attract mode and mame on 2 cabinets.
-
with this plugin (http://forum.attractmode.org/index.php?topic=3918.0), you are able to start external scripts before emulator launch. and after emulator launch.
with this autoit-script (http://forum.attractmode.org/index.php?topic=1803.msg12710#msg12710), you are able to close a list of windows processes after reaching a specific idle time.
after closing the processes, you are back to AM game list.
-
thank you, the script is awesome!