mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 02:27:43 +00:00
Working MP1 extract with tags replaced with paths
This commit is contained in:
@@ -209,6 +209,11 @@ struct SpecMP2 : SpecBase
|
||||
{
|
||||
NOD::ExtractionContext ctx = {true, force, nullptr};
|
||||
|
||||
m_workPath.makeDir();
|
||||
const HECL::ProjectPath& cookPath = m_project.getProjectCookedPath(SpecEntMP2);
|
||||
cookPath.makeDir();
|
||||
m_cookPath.makeDir();
|
||||
|
||||
progress(_S("Indexing PAKs"), _S(""), 2, 0.0);
|
||||
m_pakRouter.build(m_paks, [&progress](float factor)
|
||||
{
|
||||
@@ -216,7 +221,6 @@ struct SpecMP2 : SpecBase
|
||||
});
|
||||
progress(_S("Indexing PAKs"), _S(""), 2, 1.0);
|
||||
|
||||
m_workPath.makeDir();
|
||||
HECL::ProjectPath outPath(m_project.getProjectWorkingPath(), _S("out"));
|
||||
outPath.makeDir();
|
||||
HECL::ProjectPath mp2OutPath(outPath, _S("MP2"));
|
||||
@@ -234,10 +238,6 @@ struct SpecMP2 : SpecBase
|
||||
}
|
||||
progress(_S("MP2 Root"), _S(""), 3, 1.0);
|
||||
|
||||
const HECL::ProjectPath& cookPath = m_project.getProjectCookedPath(SpecEntMP2);
|
||||
cookPath.makeDir();
|
||||
m_cookPath.makeDir();
|
||||
|
||||
int compIdx = 4;
|
||||
prog = 0;
|
||||
for (std::pair<std::string, DNAMP2::PAKBridge*> pair : m_orderedPaks)
|
||||
|
||||
Reference in New Issue
Block a user