Created
May 18, 2022 16:28
-
-
Save KleaTech/9266884df7b76e72067edd637e2a8726 to your computer and use it in GitHub Desktop.
Find Beat Saber ranked maps on Quest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
./adb shell find "/mnt/sdcard/ModData/com.beatgames.beatsaber/Mods/SongLoader" -iname "info.dat" | foreach { $dir=$_.split("/")[-2]; ./adb pull $_ "c:/Temp/$dir.dat" } | |
Get-ChildItem | foreach {$_.name.replace("custom_level_", "").replace(".dat", "")} | where { $_.length -eq 40 } | where {$res=(invoke-webrequest -uri "https://scoresaber.com/api/leaderboard/by-hash/$_/info?difficulty=9" -SkipHttpErrorCheck); $res.StatusCode -eq 200 -and ($res.Content -match '"ranked": true')} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment