Binary File: Difference between revisions
Content added Content deleted
(Added infobox.) |
m (Normalization) |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
The BinaryFile [[Resource Types|resource type]] is a base type used in several other resource types, including [[Splicer]], [[World Painter 2D]], and [[Generic RWAC Wave Content]]. |
The BinaryFile [[Resource Types|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 = |
= Structures = |
||
=== CgsResource::BinaryFileResource === |
=== CgsResource::BinaryFileResource === |
||
{| class="wikitable" |
{| class="wikitable" |
||
|- |
|||
! Offset !! Length !! Type !! Name !! Description !! Comments |
! Offset !! Length !! Type !! Name !! Description !! Comments |
||
|- |
|- |
Latest revision as of 08:40, 3 October 2023
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. |