From adbf94572a8379cb76659829614dc7e1232e380a Mon Sep 17 00:00:00 2001 From: Phillip Stephens Date: Wed, 16 Apr 2025 20:32:11 -0700 Subject: [PATCH] MaterialArchive progress --- MaterialArchive.bt | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/MaterialArchive.bt b/MaterialArchive.bt index d6d7696..90fc43c 100644 --- a/MaterialArchive.bt +++ b/MaterialArchive.bt @@ -1,5 +1,6 @@ #ifndef _MATERIALARCHIVE #define _MATERIALARCHIVE + struct SBufferTOCEntry { uint align; uint size; @@ -60,8 +61,7 @@ struct CShaderDefines { } else { - uint str1Len; - char str1[str1Len]; + CStringFixed str1; } }; @@ -204,8 +204,8 @@ struct CExplicitCompositeFeatureInstance { struct IFeatureInstance { uint type; CStringFixed name; - uint unk1; - uint unk2; + uint dataOrigin; + uint optionCount; switch(type) { case 0: CSimpleFeatureInstance simple ; @@ -240,8 +240,7 @@ struct SMaterialImportDesc { { GUID guid; uint shaderHash; - uint nameLen; - char name[nameLen]; + CStringFixed name; } else {