Guest User

Untitled

a guest
Oct 14th, 2023
6,206
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.86 KB | None | 0 0
  1. Requirements:
  2. You must have the CLI git client installed https://git-scm.com/
  3. You must have .NET Core SDK installed https://dotnet.microsoft.com/download
  4. Helpful Hotkeys:
  5. insert = paste button
  6. up/down arrows = cycles through past commands (still save past commands after you close git bash)
  7. control + c = cancels a command midway
  8.  
  9. How to Calculate Profiles
  10. 1. Open up Git Bash
  11. 2. Enter the following commands, this will download osu-tools and the rework's osu repository
  12. git clone https://github.com/ppy/osu-tools
  13. git clone [the github link of whatever rework you want to check out, ie: https://github.com/emu1337/osu]
  14. 3. if the rework you want is under a branch, you will also need to enter these commands:
  15. cd osu
  16. git pull
  17. git checkout [name of branch, ie: ppv2-xexxar-round3, can be found under the title of the pull request]
  18. 3b. You can also switch branches by going back to the osu directory and typing
  19. git checkout [name of branch]
  20. 4. To update the rework, return to the osu directory by running the following:
  21. cd (If you are in another directory)
  22. cd osu
  23. git pull
  24. 5. Open the osu-tools folder on your computer (it will probably be located in the Users/user/ directory)
  25. 6. Run the file 'UseLocalOsu.sh' (make sure it isn't 'UseLocalOsu.ps1')
  26.  
  27. 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:
  28. cd (If you are in another directory)
  29. cd osu-tools/PerformanceCalculator/
  30. Once you've done that, enter this command to calculate anyone's pp in the rework
  31. dotnet run -- profile [User's ID, ie: 12324616] [API Key, which can be obtained at https://osu.ppy.sh/p/api] -o [filename].txt
  32. 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
  33.  
  34.  
  35. How to Simulate Scores
  36. 1. Open up Git Bash
  37. 2. Enter the osu-tools/PerformanceCalculator directory by entering
  38. cd (If you are in another directory)
  39. cd osu-tools/PerformanceCalculator
  40. 3. Obtain the map id, it should be the last few digits in the map url (ex: 2596971 for vanguard-1)
  41. 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)
  42. 4. Run the following command
  43. dotnet run simulate osu mapid
  44. ie: dotnet run simulate osu 2596971 will simulate an SS on the map
  45. 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)
  46. ie: dotnet run simulate osu 2596971 -G 5 -M 3 -X 1 --combo 700 -m hd -m dt
  47. Simulates a 700x combo, 5 100, 3 50, 1 miss, HDDT score on Vanguard
  48. 4b. You can also use 'name of the map' here as an alternative, you must use the ' ' around the name of the file
  49. ie: dotnet run simulate osu 'II-L - VANGUARD-1 (ktgster) [Challenge].osu'
  50.  
  51.  
  52. Frequent Errors/Questions:
  53.  
  54. What should I put for Application URL/name when grabbing my API?: Doesn't matter, can put anything you want
  55.  
  56. "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
  57.  
  58. Unhandled exception. System.ArgumentOutOfRangeException: Index was out of range...: The userid is invalid
  59.  
  60. ... 'ProcessorWorkingBeatmap' does not implement inherited abstract member 'WorkingBeatmap.GetSkin()': add this line to the bottom of your ProcessorWorkingBeatmap.cs:
  61. protected override ISkin GetSkin() => null;
  62.  
  63. 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
  64.  
  65.  
  66. Credit: Original guide to setting up the rework calculator was made by Finadoggie, I just updated it, cleared some things up, and
  67. added requirements, helpful commands, simulating scores, and frequent issues - Pristine
  68.  
Advertisement
Comments
  • Lync
    1 year
    # text 0.15 KB | 0 0
    1. 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