SaberFactory icon indicating copy to clipboard operation
SaberFactory copied to clipboard

[BUG] Adding Custom Saber to already installed Map breaks Scoring / Playlists

Open vlntnwbr opened this issue 2 years ago • 2 comments

When adding a _customSaber: "Plasma Katana" property to the Info.dat file of an already installed BeatMap it is no longer recognized as a part of a playlist. Previously achieved scores are also no longer detected. I assume this happens because the Map data was changed which is handled by considering it to be a new map.

Proposed Solution

Add an optional json file, e.g. LevelSaberMapping.json to the CustomSabers folder in order to assign custom sabers to already installed levels. The json key could be the BeatSaver Hash or Key of the desired level, the value would be the name of the desired Saber (identical to the expected value of the already implemented _customSaber property of a Map.

This would make it possible to assign custom sabers to levels without modifying the level data which in turn should fix the issues with detecting the level for scoring and playlist purposes.

vlntnwbr avatar Mar 09 '22 11:03 vlntnwbr

I will implement the proposed solution in the next version

ToniMacaroni avatar Mar 17 '22 01:03 ToniMacaroni

Thank you. I will report back once I'm able to test it. As I said, I don't really know whether my proposed solution actually fixes the problem.

vlntnwbr avatar Mar 17 '22 11:03 vlntnwbr