This is an old revision of the document!
Data is in little-endian.
| Nom | Type | Offset | Size | Notes |
|---|---|---|---|---|
| magic | string | 0 | 4 bytes | “PACK” |
| size | u32 | 4 | 4 bytes | Number of entries |
| ??? | 8 | 32 bytes | Unknown | |
| filelist | File | 40 | size * (12 + name) |
| Nom | Type | Offset | Size | Notes |
|---|---|---|---|---|
| filesize | u32 | 0 | 4 bytes | |
| offset | u32 | 4 | 4 bytes | Offset within the file |
| ??? | u32 | 8 | 4 bytes | |
| name | string | 12 | Null-terminated string |
import std.string; char magic[4] @ 0; u32 size @ 4; struct File { u32 filesize; u32 offset; u32 type; std::string::NullString name; char data[filesize] @ offset; }; File filelist[size] @ 0x28;