diff --git a/LSLib/Granny/Model/Vertex.cs b/LSLib/Granny/Model/Vertex.cs index ac7f11a4..4a1046cd 100644 --- a/LSLib/Granny/Model/Vertex.cs +++ b/LSLib/Granny/Model/Vertex.cs @@ -503,6 +503,11 @@ public VertexDescriptor ConstructDescriptor(MemberDefinition memberDefn, StructD { desc.ColorMapType = ColorMapType.Byte4; } + //Some Granny2 model formats report their color maps as UInt8 type instead of NormalUInt8, causing it to fail checks. + else if (member.Type == MemberType.UInt8 && member.ArraySize == 4) + { + desc.ColorMapType = ColorMapType.Byte4; + } else { throw new Exception($"Unsupported color map type: {member.Type}, {member.ArraySize}");