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

Linux cook fixes

This commit is contained in:
Jack Andersen
2018-05-05 15:32:53 -10:00
parent 570a6ca57a
commit cc28dc7f0d
4 changed files with 2 additions and 40 deletions

View File

@@ -54,19 +54,6 @@ bool MLVL::Extract(const SpecBase& dataSpec, PAKEntryReadStream& rs, const hecl:
if (pakRouter.mreaHasDupeResources(area.areaMREAId))
athena::io::FileWriter(hecl::ProjectPath(areaDir, _S("!duperes")).getAbsolutePath());
if (areaIdx == 0)
{
char path[256];
snprintf(path, 256, "/Users/jacko/Desktop/res/orig_%08X.txt", entry.id.toUint32());
FILE* fp = fopen(path, "w");
for (const auto& dep : area.deps)
{
hecl::ProjectPath depPath = pakRouter.getWorking(dep.id);
fprintf(fp, "%s\n", depPath.getRelativePathUTF8().data());
}
fclose(fp);
}
areaIdx++;
}