1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 21:07:33 +08:00
osu-lazer/osu.Game/Scoring/Legacy
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
..
DatabasedLegacyScoreDecoder.cs Rename decoder 2020-03-24 13:07:50 +09:00
LegacyScoreDecoder.cs Update all actual usages of RulesetInfo.ID to use OnlineID instead 2021-11-24 15:50:26 +09:00
LegacyScoreEncoder.cs Fix score encoder being dependent on current culture 2021-12-04 17:13:43 +01:00
ScoreInfoExtensions.cs Apply batch fixing of built-in types using var 2021-10-27 13:04:41 +09:00