From ba808b63c2c7f67bc68157c2a400e33025378fe9 Mon Sep 17 00:00:00 2001 From: LolHacksRule Date: Mon, 20 Feb 2023 12:11:22 -0800 Subject: [PATCH] Fix broken things --- CCharInfo.bt | 2 +- CCollisionTree.bt | 4 ++-- CPakFile.bt | 2 +- CReflectionProbeData.bt | 4 ++-- NGraphicsMaterial.bt | 1 + 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/CCharInfo.bt b/CCharInfo.bt index b20b0b1..16f595e 100644 --- a/CCharInfo.bt +++ b/CCharInfo.bt @@ -66,4 +66,4 @@ struct FCharInf }; -#endif// _CCHARINFO \ No newline at end of file +#endif// _CCHARINFO diff --git a/CCollisionTree.bt b/CCollisionTree.bt index e5f39c0..1d1e0ac 100644 --- a/CCollisionTree.bt +++ b/CCollisionTree.bt @@ -110,7 +110,7 @@ typedef struct CCollisionTree(uint64 size, CollisionPrimitiveType type) { } if (idx == 0) { local int i = 0; - //Hack, do this so DCLN doesn't break the printouts + //Hack, do this so DCLN doesn't break the printouts, seems to work on MP1R DCLN but haven't tested CLSN local int vertChunk = 0; local int triangleChunk = 2; local int materialChunk = 1; @@ -173,4 +173,4 @@ typedef struct CCollisionTree(uint64 size, CollisionPrimitiveType type) { ++idx; } CCollisionTree; -#endif // _CAABOXCOLLISIONTREE \ No newline at end of file +#endif // _CAABOXCOLLISIONTREE diff --git a/CPakFile.bt b/CPakFile.bt index 220af53..a90af0e 100644 --- a/CPakFile.bt +++ b/CPakFile.bt @@ -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.readerVersion, entry.data.form.writerVersion, GUIDToString(entry.id)); + return Str("%s v%d.%d %s", entry.type, entry.data.form.readerVersion, entry.data.form.writerVersion, GUIDToString(entry.id)); //Fix broken DKCTF version display } else { return Str("%s v%d.%d %s", entry.type, entry.versionA, entry.versionB, GUIDToString(entry.id)); } diff --git a/CReflectionProbeData.bt b/CReflectionProbeData.bt index a84a090..b4f6f05 100644 --- a/CReflectionProbeData.bt +++ b/CReflectionProbeData.bt @@ -5,9 +5,9 @@ typedef struct CReflectionProbeData { ChunkDescriptor chunkHeader; - uint unk1; + uint unused; GUID textureId; - float unk2; + float intensity; } CReflectionProbeData; #endif// _CREFLECTIONPROBE diff --git a/NGraphicsMaterial.bt b/NGraphicsMaterial.bt index 548f7d6..43a8ed1 100644 --- a/NGraphicsMaterial.bt +++ b/NGraphicsMaterial.bt @@ -127,6 +127,7 @@ enum EMaterialDataId { DATA_ID_RAIN = 113, DATA_ID_XCH0 = 114, DATA_ID_XCH1 = 115, + DATA_ID_BLND = 116, //Maybe move this idk }; // NMaterialFeatures::is_debug_material_data_id