forum

Calculating PP Value of a Score/Star Rating of a map with mods.

posted
Total Posts
2
Topic Starter
hapless
This was probably asked an infinite amount of times but I can't find a library/API which is up to date.
I am developing a Discord bot using Node.js and osu's api v2.
What's on my mind is that every project that calculates PP of a score/star rating of a map with mods just replicates almost everything in osu's RuleSet folder, from hit objects to sliders.

My questions are:
1. Will there be a better solution in the future like an officially maintained library by the osu! team that provides the most up to date API to calculate PP/star rating or simply exporting it using the current apiv2?
2. Is there currently a quality library/api that provides this functionality?

My current partial solution is:
1. Using star-rating-calculator npm package for star rating calculations since I see it is still getting updated.

I am still looking for a PP calculation solution.

Stupid me found: https://github.com/ppy/osu-tools
Couldn't ask for a better solution.
PercyDan
Of course you need to copy every hit object because pp calc need to get their properties (slider velocity etc.)
I don't think there's a better solution
Check this
Please sign in to reply.

New reply