2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 09:07:43 +00:00

Full PAK Indexing even for partial extracts

This commit is contained in:
Jack Andersen
2015-09-27 15:13:27 -10:00
parent 3540a3e19a
commit 739c31d87c
10 changed files with 78 additions and 72 deletions

View File

@@ -89,8 +89,7 @@ struct SpecMP1 : SpecBase
}
}
if (good)
m_paks.emplace_back(m_project, child);
m_paks.emplace_back(m_project, child, good);
}
}
@@ -107,6 +106,8 @@ struct SpecMP1 : SpecBase
/* Assemble extract report */
for (const std::pair<std::string, DNAMP1::PAKBridge*>& item : m_orderedPaks)
{
if (!item.second->m_doExtract)
continue;
rep.childOpts.emplace_back();
ExtractReport& childRep = rep.childOpts.back();
HECL::SystemStringView nameView(item.first);
@@ -236,6 +237,9 @@ struct SpecMP1 : SpecBase
for (std::pair<std::string, DNAMP1::PAKBridge*> pair : m_orderedPaks)
{
DNAMP1::PAKBridge& pak = *pair.second;
if (!pak.m_doExtract)
continue;
const std::string& name = pak.getName();
HECL::SystemStringView sysName(name);