Simple Linux autoclicker for Cornerpond idle game on Steam.
This was made for my very specific use case so you might need to modify it a bit.
Required:
- hyprctl (Hyprland WM): finding game window, position and size
- ydotool: programmatically move mouse and trigger clicks
- jq: easy-to-use JSON processor
- GNU bc: for maths because it seems
bash
cannot do floating point multiplications
Optional:
Simplify run the script with -o
for running once or -l
for looping forever.
In forever mode, you can simply abort the script with CTRL+C
.
coko7@example:~$ ./cornerpond-afk.sh -h
Usage: cornerpond-afk.sh OPTION
-h, --help display this help text and exit
-l, --loop launch in forever loop mode
-o, --once launch only once
As I write this, Cornerpond is not officially supported on Linux but using Steam Proton, it runs alright.
The only tweak I've had to do on my side was to launch it with --rendering-method mobile
to force the game screen to clear previously drawn sprites.