Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Requirements:
- You must have the CLI git client installed https://git-scm.com/
- You must have .NET Core SDK installed https://dotnet.microsoft.com/download
- Helpful Hotkeys:
- insert = paste button
- up/down arrows = cycles through past commands (still save past commands after you close git bash)
- control + c = cancels a command midway
- How to Calculate Profiles
- 1. Open up Git Bash
- 2. Enter the following commands, this will download osu-tools and the rework's osu repository
- git clone https://github.com/ppy/osu-tools
- git clone [the github link of whatever rework you want to check out, ie: https://github.com/emu1337/osu]
- 3. if the rework you want is under a branch, you will also need to enter these commands:
- cd osu
- git pull
- git checkout [name of branch, ie: ppv2-xexxar-round3, can be found under the title of the pull request]
- 3b. You can also switch branches by going back to the osu directory and typing
- git checkout [name of branch]
- 4. To update the rework, return to the osu directory by running the following:
- cd (If you are in another directory)
- cd osu
- git pull
- 5. Open the osu-tools folder on your computer (it will probably be located in the Users/user/ directory)
- 6. Run the file 'UseLocalOsu.sh' (make sure it isn't 'UseLocalOsu.ps1')
- You're all done! If you want to calculate someone's pp, you will need to be in the osu-tools/PerformanceCalculator directory by performing the following:
- cd (If you are in another directory)
- cd osu-tools/PerformanceCalculator/
- Once you've done that, enter this command to calculate anyone's pp in the rework
- dotnet run -- profile [User's ID, ie: 12324616] [API Key, which can be obtained at https://osu.ppy.sh/p/api] -o [filename].txt
- Git Bash will now display the reworked pp values and a text file will now appear in the osu-tools/PerformanceCalculator folder with the results
- How to Simulate Scores
- 1. Open up Git Bash
- 2. Enter the osu-tools/PerformanceCalculator directory by entering
- cd (If you are in another directory)
- cd osu-tools/PerformanceCalculator
- 3. Obtain the map id, it should be the last few digits in the map url (ex: 2596971 for vanguard-1)
- 3b. Obtain the .osu file (can be found in the map's folder) and copy and paste it into the osu-tools/PerformanceCalculator folder (ALTERNATIVE)
- 4. Run the following command
- dotnet run simulate osu mapid
- ie: dotnet run simulate osu 2596971 will simulate an SS on the map
- You can modify it to include accuracy/combo with -G 100s, -M 50s, -X misses, --combo Combo and mods with -m dt -m hd (all case sensitive)
- ie: dotnet run simulate osu 2596971 -G 5 -M 3 -X 1 --combo 700 -m hd -m dt
- Simulates a 700x combo, 5 100, 3 50, 1 miss, HDDT score on Vanguard
- 4b. You can also use 'name of the map' here as an alternative, you must use the ' ' around the name of the file
- ie: dotnet run simulate osu 'II-L - VANGUARD-1 (ktgster) [Challenge].osu'
- Frequent Errors/Questions:
- What should I put for Application URL/name when grabbing my API?: Doesn't matter, can put anything you want
- "Couldn't find a project to run. Ensure a project exists...: You are probably in the wrong directory, you must be in osu-tools/PerformanceCalculator to run the command
- Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range...: The userid is invalid
- ... 'ProcessorWorkingBeatmap' does not implement inherited abstract member 'WorkingBeatmap.GetSkin()': add this line to the bottom of your ProcessorWorkingBeatmap.cs:
- protected override ISkin GetSkin() => null;
- I accidently cloned the wrong github rework link: There's probably a better way to do this but you can just delete the /osu folder then git clone the right link
- Credit: Original guide to setting up the rework calculator was made by Finadoggie, I just updated it, cleared some things up, and
- added requirements, helpful commands, simulating scores, and frequent issues - Pristine
Advertisement
Comments
-
- guys it keeps giving me an error of it saying Access to the path 'C:\Users\myname\.dotnet\6.0.415.toolpath.sentinel' is denied. idk how to fix this pls help
Add Comment
Please, Sign In to add comment