GoodEngine/DIR (File Format)
< GoodEngine(Redirected from DIR (File Format))
DIR files (domainUID.dir
) are directory files used by Heavy Iron Studios in their Havok/GoodEditor games. Its purpose is unknown.
Format
MAPHeader
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | int | numEntry | Amount of entries. |
0x04 | int | mapVersion | Always 2. |
0x08 | int | stringTableStart | Offset to string table. |
0x0C | int | stringTableSize | Total size of string table. |
0x10 | int[4] | reserved | null |
MAPEntry
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | long | domainUID | |
0x08 | int | domainPath | Offset to string (without .ho extension) |
0x0C | int | packFileName | Offset to string (with .ho extension) |
0x10 | long | reserved | null |
String table
Strings are null-terminated + Padding - 0x33 bytes, 4-byte alignment