diff --git a/common/src/config/game-support/bms.ts b/common/src/config/game-support/bms.ts index 6bddc9a38..28f0966d8 100644 --- a/common/src/config/game-support/bms.ts +++ b/common/src/config/game-support/bms.ts @@ -17,7 +17,11 @@ export const BMS_CONF = { } as const satisfies INTERNAL_GAME_CONFIG; export function FormatSieglindeBMS(sgl: number): string { - return `sgl${sgl.toFixed(1)}`; + if (sgl < 13) { + return `☆${sgl.toFixed(2)}`; + } + + return `★${(sgl - 12).toFixed(2)}`; } // works for both 7K and 14K. diff --git a/common/src/config/game-support/pms.ts b/common/src/config/game-support/pms.ts index 0df925b9f..616902187 100644 --- a/common/src/config/game-support/pms.ts +++ b/common/src/config/game-support/pms.ts @@ -33,7 +33,11 @@ const PMSDans = [ ]; function FormatSieglindePMS(sgl: number): string { - return `psgl${sgl.toFixed(1)}`; + if (sgl < 13) { + return `○${sgl.toFixed(2)}`; + } + + return `●${(sgl - 12).toFixed(2)}`; } export const PMS_CONTROLLER_CONF = { diff --git a/seeds/scripts/rerunners/bms-pms/apply-sieglinde.js b/seeds/scripts/rerunners/bms-pms/apply-sieglinde.js index fbc4a3fcb..2de5ed94b 100644 --- a/seeds/scripts/rerunners/bms-pms/apply-sieglinde.js +++ b/seeds/scripts/rerunners/bms-pms/apply-sieglinde.js @@ -26,7 +26,11 @@ const APPLICATION_ORDER = [ ]; function fmtSgl(sgl) { - return `sgl${(sgl - 12).toFixed(1)}`; + if (sgl < 13) { + return `☆${sgl.toFixed(2)}`; + } + + return `★${(sgl - 12).toFixed(2)}`; } function sl12Fix(x) { diff --git a/sieglinde/src/calc/util/format-sgl.ts b/sieglinde/src/calc/util/format-sgl.ts index 825da609c..c5817a65c 100644 --- a/sieglinde/src/calc/util/format-sgl.ts +++ b/sieglinde/src/calc/util/format-sgl.ts @@ -1,3 +1,7 @@ export function fmtSgl(sgl: number): string { - return `sgl${sgl.toFixed(1)}`; + if (sgl < 13) { + return `☆${sgl.toFixed(2)}`; + } + + return `★${(sgl - 12).toFixed(2)}`; }