mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-03 04:18:16 +03:00
feat: support iidx omnimix 1.30.1 (#971)
Co-authored-by: zkldi <20380519+zkldi@users.noreply.github.com>
This commit is contained in:
@@ -259,6 +259,7 @@ export const IIDX_SP_CONF = {
|
||||
"27-omni": "HEROIC VERSE Omnimix",
|
||||
"28-omni": "BISTROVER Omnimix",
|
||||
"29-omni": "CastHour Omnimix",
|
||||
"30-omni": "Resident Omnimix",
|
||||
"27-2dxtra": "HEROIC VERSE 2dxtra",
|
||||
"28-2dxtra": "BISTROVER 2dxtra",
|
||||
bmus: "BEATMANIA US",
|
||||
|
||||
+26091
-12937
File diff suppressed because it is too large
Load Diff
@@ -136,6 +136,7 @@ The default rating algorithm is `ktLampRating`.
|
||||
| `27-omni` | HEROIC VERSE Omnimix |
|
||||
| `28-omni` | BISTROVER Omnimix |
|
||||
| `29-omni` | CastHour Omnimix |
|
||||
| `30-omni` | Resident Omnimix |
|
||||
| `27-2dxtra` | HEROIC VERSE 2dxtra |
|
||||
| `28-2dxtra` | BISTROVER 2dxtra |
|
||||
| `bmus` | BEATMANIA US |
|
||||
|
||||
@@ -136,6 +136,7 @@ The default rating algorithm is `ktLampRating`.
|
||||
| `27-omni` | HEROIC VERSE Omnimix |
|
||||
| `28-omni` | BISTROVER Omnimix |
|
||||
| `29-omni` | CastHour Omnimix |
|
||||
| `30-omni` | Resident Omnimix |
|
||||
| `27-2dxtra` | HEROIC VERSE 2dxtra |
|
||||
| `28-2dxtra` | BISTROVER 2dxtra |
|
||||
| `bmus` | BEATMANIA US |
|
||||
|
||||
@@ -13,7 +13,17 @@ export const ConverterIRFervidexStatic: ConverterFunction<
|
||||
FervidexStaticScore,
|
||||
FervidexStaticContext
|
||||
> = async (data, context, importType, logger) => {
|
||||
const { difficulty, playtype } = SplitFervidexChartRef(data.chart);
|
||||
// eslint-disable-next-line prefer-const
|
||||
let { difficulty, playtype } = SplitFervidexChartRef(data.chart);
|
||||
|
||||
// Scripted Long used to be an ANOTHER with id 21201
|
||||
//
|
||||
// now it has an id of 12250 and is a legg.
|
||||
// Versions of omnimix prior to oct 2023 depend on this behaviour.
|
||||
if (data.song_id === 21201 && difficulty === "ANOTHER") {
|
||||
data.song_id = 12250;
|
||||
difficulty = "LEGGENDARIA";
|
||||
}
|
||||
|
||||
const chart = await FindChartOnInGameIDVersion(
|
||||
"iidx",
|
||||
|
||||
@@ -145,7 +145,16 @@ export const ConverterIRFervidex: ConverterFunction<FervidexScore, FervidexConte
|
||||
importType,
|
||||
logger
|
||||
) => {
|
||||
const { difficulty, playtype } = SplitFervidexChartRef(data.chart);
|
||||
let { difficulty, playtype } = SplitFervidexChartRef(data.chart);
|
||||
|
||||
// Scripted Long used to be an ANOTHER with id 21201
|
||||
//
|
||||
// now it has an id of 12250 and is a legg.
|
||||
// Versions of omnimix prior to oct 2023 depend on this behaviour.
|
||||
if (data.entry_id === 21201 && difficulty === "ANOTHER") {
|
||||
data.entry_id = 12250;
|
||||
difficulty = "LEGGENDARIA";
|
||||
}
|
||||
|
||||
let chart;
|
||||
|
||||
|
||||
@@ -114,6 +114,8 @@ export function SoftwareIDToVersion(
|
||||
} else if (EXT_RESIDENT.includes(data.ext)) {
|
||||
if (data.rev === REV_NORMAL) {
|
||||
return "30";
|
||||
} else if (data.rev === REV_OMNIMIX) {
|
||||
return "30-omni";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user