mirror of
https://github.com/PrimeDecomp/PrimeRemasterStructs.git
synced 2026-07-12 18:18:58 -07:00
Fix DKCTF NS messagetable from archive
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ string AssetDirectoryEntryName(AssetDirectoryEntry& entry)
|
||||
{
|
||||
if (isDKCTF) {
|
||||
// Read the chunk ver and subver from form descriptor
|
||||
return Str("%s v%d.%d %s", entry.type, entry.data.form.versionA, entry.data.form.versionB, GUIDToString(entry.id));
|
||||
return Str("%s v%d.%d %s", entry.type, entry.data.form.readerVersion, entry.data.form.writerVersion, GUIDToString(entry.id));
|
||||
} else {
|
||||
return Str("%s v%d.%d %s", entry.type, entry.versionA, entry.versionB, GUIDToString(entry.id));
|
||||
}
|
||||
|
||||
+4
-4
@@ -18,10 +18,6 @@ struct MSBTHeader {
|
||||
ushort unk3;
|
||||
uint fileSize;
|
||||
byte padding[10]<hidden=true>;
|
||||
if (isDKCTF) //Swap back
|
||||
{
|
||||
BigEndian();
|
||||
}
|
||||
};
|
||||
|
||||
struct TableHeader(string expectedMagic) {
|
||||
@@ -135,6 +131,10 @@ struct Language (string expectedLanguage) {
|
||||
LabelsSection labels;
|
||||
AttributesSection attributes;
|
||||
TextsSection texts;
|
||||
if (isDKCTF) //Swap back
|
||||
{
|
||||
BigEndian();
|
||||
}
|
||||
} contents;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user