2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-06-06 08:42:35 +00:00

feat: properly parse data from xenon ipaks

This commit is contained in:
Jan Laupetin
2026-05-12 22:02:52 +02:00
parent e1bb8ae4d2
commit 71ca182524
12 changed files with 261 additions and 129 deletions
+8 -3
View File
@@ -74,10 +74,15 @@ union IPakDataBlockCountAndOffset
static_assert(sizeof(IPakDataBlockCountAndOffset) == 4);
struct IPakDataBlockCommand
union IPakDataBlockCommand
{
uint32_t size : 24;
uint32_t compressed : 8;
struct
{
uint32_t size : 24;
uint32_t compressed : 8;
};
uint32_t raw;
};
static_assert(sizeof(IPakDataBlockCommand) == 4);