mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-05 13:28:08 +03:00
fix: seeds corrections for iidx 32 and 33 (#1365)
* fix: pc fixes * fix: ss fixes * fix: advance * fix: iidx-mdb-parse: prefer -p0 files if they exist * fix: advance version
This commit is contained in:
+3448
-1680
File diff suppressed because it is too large
Load Diff
@@ -162,11 +162,13 @@ export async function ParseIIDXData(
|
||||
|
||||
const extractedIFSLeggLoc = path.join(ifsOUT, `${iSongID}-p0_ifs/${iSongID}/${iSongID}.1`);
|
||||
|
||||
if (fs.existsSync(ifsLeggPath)) {
|
||||
if (!fs.existsSync(extractedIFSLeggLoc)) {
|
||||
if (fs.existsSync(ifsLeggPath) || fs.existsSync(extractedIFSLeggLoc)) {
|
||||
if (!fs.existsSync(extractedIFSLeggLoc) || alwaysExtract) {
|
||||
ifsExtract(ifsLeggPath);
|
||||
}
|
||||
|
||||
dotOnePath = extractedIFSLeggLoc;
|
||||
|
||||
const charts = await ParseDotOneFile(extractedIFSLeggLoc, {
|
||||
genre,
|
||||
marquee,
|
||||
@@ -177,15 +179,15 @@ export async function ParseIIDXData(
|
||||
for (const chart of charts) {
|
||||
notecounts[`${chart.playtype}-${chart.difficulty}`] = chart.notecount;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
// if we've already extracted this, and --always-extract isn't set
|
||||
if (fs.existsSync(extractedIFSLoc) && !alwaysExtract) {
|
||||
dotOnePath = extractedIFSLoc;
|
||||
} else if (fs.existsSync(ifsPath)) {
|
||||
ifsExtract(ifsPath);
|
||||
|
||||
// if we've already extracted this, and --always-extract isn't set
|
||||
if (fs.existsSync(extractedIFSLoc) && !alwaysExtract) {
|
||||
dotOnePath = extractedIFSLoc;
|
||||
} else if (fs.existsSync(ifsPath)) {
|
||||
ifsExtract(ifsPath);
|
||||
|
||||
dotOnePath = extractedIFSLoc;
|
||||
dotOnePath = extractedIFSLoc;
|
||||
}
|
||||
}
|
||||
|
||||
if (!fs.existsSync(dotOnePath)) {
|
||||
|
||||
Reference in New Issue
Block a user