rushiiMachine / osu-patcher

osu!stable patcher for adding extra features
GNU General Public License v3.0
17 stars 7 forks source link
harmony osu osugame

osu! logo

osu! patcher

Apply several fixes to osu! make playing Relax more enjoyable.

This is for use in offline play or private servers that allow modifications only. Use at your own risk! Modifications are disallowed on most servers, even though this project this does not provide an unfair advantage.

Using this on official Bancho servers WILL get you banned.

Features

Relax

Note: Relax refers to Relax or Autopilot

PP

Mods

UI

Usage

Until I have a release ready, then go to the latest actions build for the master branch and download the attached artifact to extract. No automatic updater is included.

Your antivirus may detect it as malware, however this is completely expected as it contains code to inject into processes. If you aren't convinced it isn't a false positive, feel free to build from source code.

Compiling

  1. Install the .NET SDK 8, the .NET Framework 4.5.2 developer pack, and Rust (rustup/cargo).
  2. Run dotnet build Osu.Patcher.Injector -c Release
  3. Output will be located in ./Osu.Patcher.Injector/bin/Release/net8.0/

How

This uses ManagedInjector to inject a .NET DLL into an osu! process, which uses Harmony to hook methods/ rewrite IL instructions. To find obfuscated methods, "signatures" based on a portion of the IL instructions from the target method are used to locate it, and then patch it. Since this method doesn't rely on neither the Eazfuscator obfuscation key nor the obfuscated names, it should work on any version with matching IL even if the method names change.

is this okay?

This was initially made after the Akatsuki private server's patcher broke for multiple months and no alternative existed to fix the issues listed above. This project does not and never intends to bypass the anti-cheat built into osu! (to allow modifications), and for that reason this project is only usable when osu! is launched with a custom -devserver (for offline play, something like -devserver example.com).

I like improving the games I like (having submitted multiple PRs to osu!lazer as well), and given stable is essentially dead in terms of bug-fixes and features I decided to write a utility to make the game I like better. This is not a cheat, I don't make cheats.