From 0f12395fd3efdce0b6812c2d6bb0514f0c53cde6 Mon Sep 17 00:00:00 2001 From: Phileas <55714518+phileas0408@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:35:24 +0100 Subject: [PATCH 1/2] Add second rootage datecode --- server/src/lib/constants/ea3id.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/lib/constants/ea3id.ts b/server/src/lib/constants/ea3id.ts index a9a552736..2cc8d8b8e 100644 --- a/server/src/lib/constants/ea3id.ts +++ b/server/src/lib/constants/ea3id.ts @@ -9,7 +9,7 @@ export const REV_OMNIMIX = "X"; export const REV_NORMAL = "A"; export const EXT_CANNON_BALLERS = "2018091900"; -export const EXT_ROOTAGE = "2019090200"; +export const EXT_ROOTAGE = ["2019090200", "2019100700"]; export const EXT_HEROIC_VERSE = "2020092900"; export const EXT_BISTROVER = "2021091500"; export const EXT_CASTHOUR = "2022082400"; From 77f6faa0b43b9b3cd2ed871d3aaa6219e1328637 Mon Sep 17 00:00:00 2001 From: Phileas <55714518+phileas0408@users.noreply.github.com> Date: Thu, 21 Nov 2024 00:35:33 +0100 Subject: [PATCH 2/2] Update parser.ts for rootage array --- server/src/lib/score-import/import-types/ir/fervidex/parser.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/lib/score-import/import-types/ir/fervidex/parser.ts b/server/src/lib/score-import/import-types/ir/fervidex/parser.ts index 8a45266bb..c07e3890b 100644 --- a/server/src/lib/score-import/import-types/ir/fervidex/parser.ts +++ b/server/src/lib/score-import/import-types/ir/fervidex/parser.ts @@ -108,7 +108,7 @@ export function SoftwareIDToVersion( if (data.rev === REV_NORMAL) { return "25"; } - } else if (data.ext === EXT_ROOTAGE) { + } else if (EXT_ROOTAGE.includes(data.ext)) { if (data.rev === REV_OMNIMIX) { return "26-omni"; } else if (data.rev === REV_NORMAL) {