- [Core] fix parsing issues [ExA]

This commit is contained in:
Razmoth
2024-02-29 16:02:08 +04:00
parent 8a3517f894
commit 6c64b41e9e
3 changed files with 49 additions and 18 deletions

View File

@@ -155,7 +155,7 @@ namespace AssetStudio
m_Streams = new List<StreamInfo>();
for (int i = 0; i < numStreams; i++)
{
m_Streams[i] = new StreamInfo(reader);
m_Streams.Add(new StreamInfo(reader));
}
if (version[0] < 4) //4.0 down
@@ -706,6 +706,11 @@ namespace AssetStudio
int m_CollisionVertexCount = reader.ReadInt32();
}
if (reader.Game.Type.IsExAstris())
{
var m_ColliderType = reader.ReadInt32();
}
int m_MeshUsageFlags = reader.ReadInt32();
if (version[0] > 2022 || (version[0] == 2022 && version[1] >= 1)) //2022.1 and up