· 6 years ago · Oct 26, 2019, 07:10 PM
1; open cmd and check if you have .net core sdk installed (if the command returns a number, it's installed)
2dotnet --version
3
4; if you don't have .net core sdk installed, download it here
5[didn't work, it asked for v2.0.0 so i downloaded the x64 binary zip, extracted, and placed it alongside 3.0.0 in the folder specified, C:\Program Files\dotnet\shared\Microsoft.NETCore.App] [i wouldn't have known where to put it if i didn't install 3.0.0 first]
6https://dotnet.microsoft.com/download
7
8; download latest osu-tools source code and extract it
9https://github.com/ppy/osu-tools/archive/master.zip
10
11; download latest osu source code (with pp changes) and extract it into the osu-tools/osu/ folder
12https://github.com/HeBuwei/osu/archive/master.zip
13
14; open cmd and cd into the osu-tools/PerformanceCalculator folder
15cd osu-tools/PerformanceCalculator/
16
17; open this file in notepad
18notepad Difficulty/DifficultyCommand.cs
19
20; remove lines 108 and 109 which look like:
21; ("aim rating", osu.AimStrain.ToString("N2")),
22; ("speed rating", osu.SpeedStrain.ToString("N2"))
23
24; build the project
25dotnet build --configuration Release
26[i think you can skip this, at least upon updating source code with pp changes i didn't do it again]
27
28; run the project (get your api key at https://osu.ppy.sh/p/api)
29dotnet run --no-build --configuration Release -- profile <user_id> <api_key> --output output.txt
30[instead of that i put this instead: dotnet run profile <user_id> <api_key> --output output.txt]