From 80ad6d63b6446f3db81b8c08b0e81b5a2d383d6e Mon Sep 17 00:00:00 2001 From: jplusc Date: Tue, 30 Jan 2018 00:18:22 -0500 Subject: [PATCH] minor ahk fixes to automate current version of app fixes "Steam must be running to play this game" issue, fixes the DLC popup taking too long to draw and undraw, so need to wait a tad longer. fixes selected the right game (it's 3 up now, not 4) included EXE needs recompiled. -- or perhaps a new exe with these changes called like "runme-2018.exe" or something --- RUNME.ahk | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/RUNME.ahk b/RUNME.ahk index c82a3a1..6f13441 100644 --- a/RUNME.ahk +++ b/RUNME.ahk @@ -7,17 +7,24 @@ FileDelete skip_save_popup ; mute sound during boot Send {Volume_Mute} -Run, PACMuseum.exe, %A_WorkingDir% +; running the exe directly results in "Steam must be running to play this game" we must launch thru steam url now +; also noted in shaolindrunkard's issue from Feb2017 -- http://forum.arcadecontrols.com/index.php?topic=147402.0 +; Run, PACMuseum.exe, %A_WorkingDir% +Run, steam://rungameid/236470, %A_WorkingDir% ; skip intro, select and launch Pacman Battleroyale -Sleep 3000 -Send {z}{w} -Sleep 5500 -Send {z}{w} -Sleep 250 -Send {Right} +; timings have changed just a bit +Sleep 3000 ; wait for game load +Send {z}{w} ; skip bandi screen +Sleep 5500 ; wait for intro animation +Send {z}{w} ; ok at title screen +Sleep 1000 ; wait for dlc popup to draw +Send {z}{w} ; mrs pacman dlc skip +Sleep 1000 ; wait for dlc popup to undraw +Send {Right} ; move into games and pick battle-royle Sleep 200 -Loop, 4 { +; only 3 up, not 4. the game order may have changed in latest version +Loop, 3 { Send {Up} Sleep 100 }