You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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);
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 :)
The text was updated successfully, but these errors were encountered: