Kylemc1413 / SongCore

A plugin for handling custom song additions in Beat Saber.
MIT License
86 stars 47 forks source link

Custom level Party Mode scores deleted because of change in format #140

Open 5h4m4nEdu opened 8 months ago

5h4m4nEdu commented 8 months ago

Hi, I've noticed that Beat Saber saves the Party Mode scores for custom levels in LocalLeaderboards.dat using the folder name but once you install the SongCore mod this changes to a hash. This makes all your previous scores dissapear and any new high score be stored in parallel. There should be an easy way to convert and integrate all local scores or make SongCore not change the highscore format for local highscores so that the people (like me) that use Beat Saber mostly to compete among household members don't get lost if playing with or without SongCore installed. Please let me know how I can solve this or help implement this in SongCore.

Thanks for agreat mod!!

Meivyn commented 7 months ago

While technically possible, it would be a bit of a pain to implement, and it is also incompatible with the hashing concept of SongCore. Base game saves scores based on the beatmap location, and SongCore saves scores based on the content of it.

5h4m4nEdu commented 7 months ago

Ok I understand. Then what about a function that, uppon installation or first run of SongCore, scans for all the local custom song scores in LocalLeaderboards.dat and copies them to new identical entries using the content hashing format so that you can keep the scores you had with the base game once SongCore is installed and being used. If there's a base game update and you make a new highscore running the base game, it will get imported again once the SongCore for the new base game version comes and you intall it....