diff --git a/DataSpec/DNAMP1/MLVL.cpp b/DataSpec/DNAMP1/MLVL.cpp index 70dc988f8..d1d67de1e 100644 --- a/DataSpec/DNAMP1/MLVL.cpp +++ b/DataSpec/DNAMP1/MLVL.cpp @@ -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++; } diff --git a/DataSpec/SpecMP1.cpp b/DataSpec/SpecMP1.cpp index 57d01e2a4..caa4b3493 100644 --- a/DataSpec/SpecMP1.cpp +++ b/DataSpec/SpecMP1.cpp @@ -1283,14 +1283,6 @@ struct SpecMP1 : SpecBase std::unordered_set addedTags; for (auto& area : mlvl.areas) { - FILE* fp = nullptr; - if (addedTags.empty()) - { - char path[256]; - snprintf(path, 256, "/Users/jacko/Desktop/res/new_%08X.txt", nameEnt.id.toUint32()); - fp = fopen(path, "w"); - } - urde::SObjectTag areaTag(FOURCC('MREA'), originalToNew(area.areaMREAId)); bool dupeRes = false; @@ -1338,23 +1330,6 @@ struct SpecMP1 : SpecBase area.deps = std::move(strippedDeps); area.depLayerCount = strippedDepLayers.size(); area.depLayers = std::move(strippedDepLayers); - - if (fp) - { - //std::unordered_set tmpAddedTags; - for (const auto& dep : area.deps) - { - urde::CAssetId newId = originalToNew(dep.id); - //if (tmpAddedTags.find(newId) == tmpAddedTags.end()) - //{ - urde::SObjectTag tag(dep.type, originalToNew(dep.id)); - hecl::ProjectPath depPath = pathFromTag(tag); - fprintf(fp, "%s\n", depPath.getRelativePathUTF8().data()); - //tmpAddedTags.insert(newId); - //} - } - fclose(fp); - } } urde::SObjectTag nameTag(FOURCC('STRG'), originalToNew(mlvl.worldNameId)); diff --git a/hecl b/hecl index 654d7d398..80278ed02 160000 --- a/hecl +++ b/hecl @@ -1 +1 @@ -Subproject commit 654d7d39802271fc3d33aa134e07285fbc6f943d +Subproject commit 80278ed02e89bb2803bd9a447c9da549332183bb diff --git a/nod b/nod index 274a63bb3..51a15e474 160000 --- a/nod +++ b/nod @@ -1 +1 @@ -Subproject commit 274a63bb306a77cd78527e4fca13d4c69cb5b56e +Subproject commit 51a15e474e64575dc2c92249e01e10965fc70de7