dummy highvoltage support(not work)

This commit is contained in:
DitFranXX 2021-04-26 19:51:44 +09:00
parent 79311d686c
commit 75b6cd9464
4 changed files with 9 additions and 3 deletions

View File

@ -1,7 +1,9 @@
mdb_ex.xml
mdb_mt.xml
mdb_nt.xml
mdb_hv.xml
mdb_ex.json
mdb_mt.json
mdb_nt.json
mdb_hv.json
custom_mdb.xml

View File

@ -13,9 +13,10 @@ export interface CommonMusicData {
}
export enum DATAVersion {
NEXTAGE = "nt",
EXCHAIN = "ex",
MATTIX = "mt"
HIGHVOLTAGE = "hv",
NEXTAGE = "nt",
EXCHAIN = "ex",
MATTIX = "mt"
}
type processRawDataHandler = (path: string) => Promise<CommonMusicData>
@ -50,6 +51,8 @@ export async function readB64JSON(b64path: string) {
export function gameVerToDataVer(ver: string): DATAVersion {
switch(ver) {
case 'highvoltage':
return DATAVersion.HIGHVOLTAGE
case 'nextage':
return DATAVersion.NEXTAGE
case 'excahin':

View File

@ -31,6 +31,7 @@ export function register() {
R.Route(`exchain_${method}`, handler);
R.Route(`matixx_${method}`, handler);
R.Route(`nextage_${method}`, handler)
R.Route(`highvoltage_${method}`, handler) // Prediction
// TODO: TB, TBRE and more older version?
};