| Crates.io | rosu-pattern-detector |
| lib.rs | rosu-pattern-detector |
| version | 0.2.1 |
| created_at | 2025-02-22 09:58:57.865067+00 |
| updated_at | 2025-08-11 23:06:43.801558+00 |
| description | Pattern detector for osu! |
| homepage | |
| repository | https://github.com/OsuChecker/rosu-pattern-detector |
| max_upload_size | |
| id | 1565269 |
| size | 321,041 |
rosu-pattern-detector is a Rust-based library designed to analyze patterns in osu! beatmaps.
It currently supports osu!mania mode exclusively,
focusing on detecting specific secondary patterns such as Jack, Jumpstream, Singlestream, and *
Handstream*,
and tertiary patterns see mania::struct for more info.
While osu!mania is the only mode supported right now, the project intends to evolve into a universal tool for analyzing
all osu! game modes.
Current Game Mode Support: osu!mania only.
Secondary Pattern Analysis:
Jack
Jumpstream
Singlestream
Handstream
Tertiary Pattern Analysis:
Extensible Design:
- Although limited to osu!mania for now, the library is structured for future extension to other osu! game modes (osu!standard, taiko, catch) and more advanced patterns.
Add the library and its dependencies to your Cargo.toml file:
[dependencies]
rosu-map = "0.2.0"
serde = { version = "1.0.217", features = ["derive"] }
serde_json = "1.0.137"
eyre = "0.6.12"
Example JSON Output:
{
"jack": 14.5,
"jumpstream": 8.3,
"singlestream": 12.0,
"handstream": 5.4
}
osu!mania-only:
Secondary Patterns Only:
Support for Other Game Modes:
Advanced Patterns:
Performance Optimizations:
Contributions are more than welcome! Whether it's adding support for a new game mode, detecting more advanced patterns, or optimizing the existing logic, feel free to open a pull request or submit an issue on GitHub.
Before contributing, ensure that your code adheres to the Rust standard practices, and provide relevant test cases to validate your changes.
This project is licensed under the MIT License. You are free to use, modify, and distribute this library in compliance with the terms of the license.
If you have any feedback or questions, feel free to contribute or contact the project maintainers. Enjoy building your osu! map analysis tools with pdetector! 😊