Arcade Moonlander

Arcade Moonlander

Not enough ratings
Autohotkey script for automated landing
By bpbrother
Autohotkey script for landing achievements.
   
Award
Favorite
Favorited
Unfavorite
Things to know
Since you will need a bunch of landings after you beat the game, I made a script that lands the rocket in Level 1 and starts over. It may not always work perfectly, this is due to CPU timing. So crashes can occur (there's also achievements for that).

Autohotkey installation required (google it).

Copy paste the script into your text editor and save it with extension AHK. Open the Level Select Screen in the game, then run the script.

Script will run 99 times and automatically ends. You can pause it with F3 and end it with Shift+F3.
Yes, these values can be edited to whatever you like. Please refer to Autohotkey documentation for that.

If the script refuses to work on your end, hit F3, then open Level 1 manually and restart the script.
Script
WinGetTitle, wintitle, ahk_class UnityWndClass
WinWait, %wintitle%,
IfWinNotActive, %wintitle%, , WinActivate, %wintitle%,
WinWaitActive, %wintitle%,

gamename = Arcade Moonlander
ResizeWin(1296,759) ;1280x720resolution

IfInString, gamename, %wintitle%
{
loop, 99 {
MouseClick, left, 538, 203 ;start level 1
Sleep, 1500
Send {E}
Sleep, 900
Send {Esc}
Sleep, 900
MouseClick, left, 627, 366 ;resume
Sleep, 900
MouseClick, left, 600, 600
Sleep, 5400
Send {W down}
Sleep, 1200
Send {W up}
Sleep, 4600
Send {E}
Sleep, 500
}
} else {
MsgBox, %gamename% is not running. Exiting...
ExitApp
}

ResizeWin(Width,Height) {
WinGetPos,X,Y,W,H,%wintitle%
if (W != %Width% && H != %Height%) {
WinMove,%wintitle%,,%X%,%Y%,%Width%,%Height%
}
}

F3::Pause
+F3::ExitApp
Last words
You are free to use, edit, share this script. No copyright.
1 Comments
lom 2 May, 2021 @ 4:50am 
I did the same thing for linux:
```
sleep 5; xdotool click 1; while :; do echo i slep && sleep 5.3; echo real shit && xdotool keydown w; sleep 1.2; xdotool keyup w; sleep 1; echo did we survive?; sleep 2.5; xdotool click 1; echo pog; sleep 1; xdotool mousemove 1040 122; xdotool click 1; echo we back in game; sleep 2; xdotool key w; sleep 2; xdotool click 1; done;
```
you gotta have the first level open, with the tutorial. and modify the mousemove value so that it points to level one

In action:
https://0x0.st/-aWQ.webm