Binary File: Difference between revisions
Content added Content deleted
(Created page.) |
m (Normalization) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ParadiseResourceTypeInfobox |
|||
⚫ | |||
| name = BinaryFile |
|||
| othernames = AlignedBinaryFile |
|||
| id = 0x50 |
|||
| category = Generic |
|||
| memdist = Main Memory only<br />(as part of another resource) |
|||
}} |
|||
⚫ | |||
== Layout == |
|||
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 === |
|||
{| 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. |