Binary File
BinaryFile | |
---|---|
aka AlignedBinaryFile | |
Type ID | 0x50 |
Category | Generic |
Memory distribution |
Main Memory only (as part of another resource) |
Editor available? |
No |
The BinaryFile resource type is a base type used in several other resource types, including Splicer, World Painter 2D, and Generic RWAC Wave Content.
Resources using BinaryFile headers are self-contained. Any pointers they may have do not take the header into account, i.e., all pointers are relative to the beginning of the resource data.
Structures
CgsResource::BinaryFileResource
Offset | Length | Type | Name | Description | Comments |
---|---|---|---|---|---|
0x0 | 0x4 | uint32_t | mu32DataSize | The size of the resource data. | Includes only data following the specified offset. |
0x4 | 0x4 | uint32_t | mu32DataOffset | The offset of the resource data. |