diff --git a/server/src/lib/constants/ea3id.ts b/server/src/lib/constants/ea3id.ts index f5b1c148f..f47252dac 100644 --- a/server/src/lib/constants/ea3id.ts +++ b/server/src/lib/constants/ea3id.ts @@ -14,4 +14,6 @@ export const EXT_CASTHOUR = "2022082400"; export const EXT_RESIDENT = ["2022103100", "2022120800", "2023022000", "2023040400", "2023090500"]; +export const EXT_EPOLIS = ["2023101800", "2023103000", "2023121800", "2024021300"]; + export const MODEL_SDVX3_KONASTE = "QCV"; diff --git a/server/src/lib/score-import/import-types/common/api-kai/iidx/converter.ts b/server/src/lib/score-import/import-types/common/api-kai/iidx/converter.ts index f8f2c5ffa..346bae59f 100644 --- a/server/src/lib/score-import/import-types/common/api-kai/iidx/converter.ts +++ b/server/src/lib/score-import/import-types/common/api-kai/iidx/converter.ts @@ -299,6 +299,8 @@ function ConvertVersion(version: integer): Versions["iidx:DP" | "iidx:SP"] { return "29"; case 30: return "30"; + case 31: + return "31"; } throw new InvalidScoreFailure(`Unsupported version ${version}.`); 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 be2c4f503..9e69be59c 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 @@ -4,6 +4,7 @@ import { EXT_CASTHOUR, EXT_HEROIC_VERSE, EXT_RESIDENT, + EXT_EPOLIS, MODEL_IIDX, MODEL_IIDX_LIGHTNING, MODEL_INFINITAS_2, @@ -119,6 +120,10 @@ export function SoftwareIDToVersion( } else if (data.rev === REV_2DXTRA) { return "30-2dxtra"; } + } else if (EXT_EPOLIS.includes(data.ext)) { + if (data.rev === REV_NORMAL) { + return "31"; + } } }