Last active
June 9, 2022 09:07
-
-
Save wamphlett/d21a6b64f275dd5402bc0ce80e469fe8 to your computer and use it in GitHub Desktop.
A basic AHK script to load Dragon Ball FigherZ from BigBox without Anti-Cheat causing an issue.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Script to load Dragon Ball FighterZ. | |
; | |
; This game has multiple executables and first loads anti cheat before running the main executable. | |
; BigBox loses track of the game as the initial executable exits, this mean you get taken back to | |
; BigBox and the game continues to load in the backgroud. | |
; Start the game | |
Run, steam://rungameid/678950 | |
; Wait for the anti cheat to exit. | |
Sleep, 10000 | |
; The next window to load will be the main game, if the window doesn't show up | |
; after 45 seconds, exit. | |
WinWait, DRAGON BALL FighterZ,, 45 | |
if ErrorLevel | |
{ | |
return | |
} | |
; Wait briefly before trying to activate the window. For some reason, if | |
; we try to activate the window too soon, it does not work. | |
Sleep, 4000 | |
; Activate the window to bring it into focus. | |
WinActivate | |
; Click the screen. This is not totally necessary but without it, reWASD does | |
; not activate the auto profiles. | |
MouseClick, left, 55, 23 | |
; Now just wait until the game is closed before exiting. | |
WinWaitClose | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment