ppy / osu-tools

command line tools to get stuff done
MIT License
105 stars 78 forks source link

Add command to simulate score V1 total #184

Closed bdach closed 1 year ago

bdach commented 1 year ago

I wrote this to do some testing of the aforementioned pull. I'm not entirely sure it helped, but it's done, so might as well PR...

A lot of copy paste from DifficultyCommand, but the two differ enough that I think it's fine. Sample output:


$ dotnet run -- legacy-score 75 -m hd -m hr -m dt -m fl

ruleset: osu

╔═════════════════════════════════════════════════╤══════════════╤══════════════╤═══════════╤═════════════════╤══════════════╗
║Beatmap                                          │Mods          │Accuracy score│Combo score│Bonus score ratio│Mod multiplier║
╟─────────────────────────────────────────────────┼──────────────┼──────────────┼───────────┼─────────────────┼──────────────╢
║-1 - Kenji Ninuma - DISCO★PRINCE (peppy) [Normal]│DT, FL, HR, HD│        61,200│  1,416,576│         0.051148│        1.4094║
╚═════════════════════════════════════════════════╧══════════════╧══════════════╧═══════════╧═════════════════╧══════════════╝