Skip to main content

Screenshot-driven autoclicker for My Singing Monsters on Linux/Wayland and Windows

Project description

yambot

Yet Another My Singing Monsters Bot

Because my son loves singing monsters and I hate mindlessly clicking on stuff! (While still appreciating the musing in the game!)

Or "Screenshot-driven autoclicker for My Singing Monsters on Linux/Wayland and Windows"

Workflows:

  • Collect resources
  • Light all friends fires!!!

And yes, hell, it is slow!

LINUX. System setup (one time)

Tested on Arch + KDE setups

Input and output both go through evdev. The only setup is granting your user access to /dev/uinput and /dev/input/event*, which the input group below covers.

# load the uinput module now and on every boot
sudo modprobe uinput
echo uinput | sudo tee /etc/modules-load.d/uinput.conf

# grant the 'input' group access to /dev/uinput
echo 'KERNEL=="uinput", MODE="0660", GROUP="input", OPTIONS+="static_node=uinput"' \
  | sudo tee /etc/udev/rules.d/99-uinput.rules
sudo udevadm control --reload-rules
sudo udevadm trigger

# add yourself to the input group
sudo usermod -aG input $USER

The group change doesn't apply to your running session. Log out and back in. To test in the current terminal without relogging, start a subshell that has the group:

newgrp input

Verify both are right:

ls -l /dev/uinput      # should show: crw-rw---- ... root input
id | grep -o input     # should print: input

The input group also covers reading /dev/input/event*, so the same setup gives you key listening later if you want it.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

yambot-0.2.0.tar.gz (3.3 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

yambot-0.2.0-py3-none-any.whl (3.3 MB view details)

Uploaded Python 3

File details

Details for the file yambot-0.2.0.tar.gz.

File metadata

  • Download URL: yambot-0.2.0.tar.gz
  • Upload date:
  • Size: 3.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for yambot-0.2.0.tar.gz
Algorithm Hash digest
SHA256 54704bdf59c5cf81f7fadb8129d719a7bcd936ebea27b882120ee2eb50082903
MD5 7e3cc58a75956cd2f0954eb026410397
BLAKE2b-256 2c8a0ef1f2c68b37749cc5045a57cbf36c18c1dece356c29f9811d31f1ff2504

See more details on using hashes here.

File details

Details for the file yambot-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: yambot-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"CachyOS Linux","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for yambot-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c3763a1d98176a44a957655baf0e38ac83fba587411bc25491cb000bd7686610
MD5 c7012a6fa054587bf8e32925702a009f
BLAKE2b-256 40a21a2af0c28b2cb87bab74958fd95f505cf33e928a0ff0814b4a9cf09f45fe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page