1
0
Fork 0
mirror of https://github.com/coko7/cornerpond-afk.git synced 2026-07-20 20:54:56 +00:00
🎣 Simple Linux autoclicker for Cornerpond idle game on Steam
Find a file
2025-04-26 10:07:02 +02:00
cornerpond-afk.sh fix: exit if window not found + include time in log messages 2025-04-26 10:07:02 +02:00
LICENSE Initial commit 2025-04-24 19:29:23 +00:00
README.md docs: update README 2025-04-24 21:49:40 +02:00
screenshot.png docs: update README 2025-04-24 21:49:40 +02:00

🎣 cornerpond-afk

Simple Linux autoclicker for Cornerpond idle game on Steam.

screenshot

Dependencies

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:

  • figlet: convert text to ASCII art banner
  • lolcat: apply rainbow colors to text

Usage

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

Running Cornerpond on Linux?

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.