add support for v1 rare item tables

This commit is contained in:
Martin Michelsen
2023-11-13 16:18:20 -08:00
parent 08fbbd50ad
commit 33a6e307e9
9 changed files with 5931 additions and 18 deletions
+1 -1
View File
@@ -1551,7 +1551,7 @@ int main(int argc, char** argv) {
} else if (ends_with(input_filename, ".gslb")) {
rs.reset(new RareItemSet(GSLArchive(data, true), true));
} else if (ends_with(input_filename, ".afs")) {
rs.reset(new RareItemSet(AFSArchive(data)));
rs.reset(new RareItemSet(AFSArchive(data), (cli_quest_version == QuestScriptVersion::DC_V1)));
} else if (ends_with(input_filename, ".rel")) {
rs.reset(new RareItemSet(*data, true));
} else {