Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add inGameID matching support for maimai DX and support nullable inGameIDs in general #1114

Merged
merged 12 commits into from
Jul 4, 2024
6 changes: 4 additions & 2 deletions common/src/config/game-support/maimai-dx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,12 @@ export const MAIMAI_DX_SINGLE_CONF = {
buddiesplus: "BUDDiES PLUS",
},

chartData: z.strictObject({}),
chartData: z.strictObject({
inGameID: z.number().int().nonnegative().nullable(),
}),

preferences: z.strictObject({}),
scoreMeta: z.strictObject({}),

supportedMatchTypes: ["songTitle", "tachiSongID"],
supportedMatchTypes: ["songTitle", "tachiSongID", "inGameID"],
} as const satisfies INTERNAL_GAME_PT_CONFIG;
4 changes: 2 additions & 2 deletions database-seeds/collections/charts-iidx.json
Original file line number Diff line number Diff line change
Expand Up @@ -162258,7 +162258,7 @@
"difficulty": "HYPER",
"isPrimary": true,
"level": "8",
"levelNum": 9,
"levelNum": 8,
"playtype": "SP",
"songID": 761,
"versions": [
Expand Down Expand Up @@ -1406404,4 +1406404,4 @@
"30-2dxtra"
]
}
]
]
Loading
Loading