1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-14 07:33:20 +08:00
osu-lazer/osu.Game/Scoring
Bartłomiej Dach f051720fa1
Fix score encoder being dependent on current culture
As it turns out, on some cultures, the "negative integer" sign is not
encoded using the U+002D HYPHEN-MINUS codepoint. For instance, Swedish
uses U+2212 MINUS SIGN instead. This was confusing the legacy decoder,
since it is correctly depending on the serialisation being
culture-independent.

To fix, ensure that the special "end replay" frame, as well as the
replay MD5 hash, are generated in a culture-invariant manner.

Thankfully the replay MD5 hash is currently being discarded in
`LegacyScoreDecoder`, so it changing in future scores should not have
any negative effect on lazer operation.
2021-12-04 17:13:43 +01:00
..
Legacy Fix score encoder being dependent on current culture 2021-12-04 17:13:43 +01:00
HitResultDisplayStatistic.cs Extract tuple into class 2020-10-07 15:34:03 +09:00
IScoreInfo.cs Update all models to implement IHasNamedFiles 2021-11-25 16:41:12 +09:00
LegacyDatabasedScore.cs Move StoragePath implementation to an extension method 2021-11-19 16:08:38 +09:00
Score.cs Add deep cloning support to Score/ScoreInfo/Replay 2021-07-19 14:14:28 +09:00
ScoreFileInfo.cs Update all models to implement IHasNamedFiles 2021-11-25 16:41:12 +09:00
ScoreInfo.cs Update all models to implement IHasNamedFiles 2021-11-25 16:41:12 +09:00
ScoreInfoExtensions.cs Move ScoreInfo string representation to extension method 2021-11-09 13:23:57 +01:00
ScoreManager.cs Merge pull request #15795 from peppy/realm-integration/separate-download-flow 2021-11-25 20:59:23 +09:00
ScoreModelDownloader.cs Remove unnecessary GameHost parameter 2021-11-25 17:42:41 +09:00
ScoreModelManager.cs Split out legacy model export logic into LegacyModelExporter classes 2021-11-25 16:41:12 +09:00
ScorePerformanceCache.cs Change difficulty cache storage type to nullable 2021-11-20 17:00:50 +01:00
ScoreRank.cs Update mapper usages with LocalisableDescription 2021-07-31 01:47:14 +03:00
ScoreStore.cs Rename last remaining BeatmapInfo Beatmap usage 2021-10-04 17:35:53 +09:00