osu! bot

Check the code on GitHub!

osu🤖!

Osu is a game where you have to move your mouse around and click or hold on circles at the rhythm of the music. I started playing it years ago and I wanted to see how far could I go with a bot done by myself. The game can reach to really insane levels of speed where it can even become hard to know what's going on for non-osu players.

The bot does not read directly from the game memory nor does read pixels from the screen. Osu stores the songs locally in plain text, so all I had to do was reverse engineer what all these stored bunch of numbers meant and parse them properly.

The hardest part was having to deal with the sliders (holding notes), as they can be complex bezier curves that you need to travel at a uniform speed, independently of how weird the curves can be.

All the tests were done in offline mode as my plan is not to cheat in any way. Here's a video of the results: