mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 06:27:43 +00:00
ANCS cook fixes; initial Tweak DNA pipeline
This commit is contained in:
@@ -18,6 +18,8 @@
|
||||
#include "DNACommon/CRSC.hpp"
|
||||
#include "DNACommon/DPSC.hpp"
|
||||
#include "DNACommon/DGRP.hpp"
|
||||
#include "DNACommon/Tweaks/TweakWriter.hpp"
|
||||
#include "DNAMP1/Tweaks/CTweakPlayerRes.hpp"
|
||||
|
||||
#include "hecl/ClientProcess.hpp"
|
||||
|
||||
@@ -346,6 +348,8 @@ struct SpecMP1 : SpecBase
|
||||
return true;
|
||||
else if (!strcmp(classType, DNAFont::FONT<UniqueID32>::DNAType()))
|
||||
return true;
|
||||
else if (!strcmp(classType, DNAMP1::CTweakPlayerRes::DNAType()))
|
||||
return true;
|
||||
return false;
|
||||
});
|
||||
}
|
||||
@@ -485,6 +489,12 @@ struct SpecMP1 : SpecBase
|
||||
font.read(reader);
|
||||
DNAFont::WriteFONT(font, out);
|
||||
}
|
||||
else if (!classStr.compare(DNAMP1::CTweakPlayerRes::DNAType()))
|
||||
{
|
||||
DNAMP1::CTweakPlayerRes playerRes;
|
||||
playerRes.read(reader);
|
||||
WriteTweak(playerRes, out);
|
||||
}
|
||||
}
|
||||
progress(_S("Done"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user