Description
Hello, i tried doing it myself both from Osu.tools and then with this code, but i always get same error
Could not load file or assembly 'osu.Game, Version=2023.123.0.0, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.
But since your one is working as a nugget package and i just need difficulty can you add it.
You need to add 1.5 lines of code
one public property
public DifficultyAttributes Difficulty;
and then replace and rename
var nextAttributes = Ruleset.CreateDifficultyCalculator(PpBeatmap).Calculate(Score.Mods);
with
Difficulty = Ruleset.CreateDifficultyCalculator(PpBeatmap).Calculate(Score.Mods);
or just
Difficulty =nextAttributes;
https://github.com/OsuSync/SimpleOsuPerformanceCalculator/blob/master/SimpleOsuPerformanceCalculator/Calculator/SimplePerformanceCalculator.cs#L145
i have no idea how to use github so sorry :)
Activity