Form Descriptor (Tropical Freeze): Difference between revisions

Jump to navigation Jump to search
m
>Aruki
m (Parax0 moved page RFRM (File Format) to RFRM Header without leaving a redirect)
>Aruki
 
(9 intermediate revisions by 2 users not shown)
Line 1: Line 1:
RFRM is a common header located in most Donkey Kong Country: Tropical Freeze formats, and serves as a container for most data in the game.
The '''form descriptor''' is a common header located in most Donkey Kong Country: Tropical Freeze formats, and serves as a container for most data in the game.
 
{{research|2|Some unknown values.}}


__TOC__
__TOC__


== Format ==
== Format ==
The RFRM header is always 0x20 bytes large.


{| class="wikitable"
{| class="wikitable"
! Offset
! Offset
! Size
! Type
! Description
! Name
! Notes
|-
|-
| 0x0
| 0x0
| 4
| {{FourCC}}
| '''"RFRM" tag'''
| '''Magic'''
| Always <code>RFRM</code>
|-
|-
| 0x4
| 0x4
| 8
| u64
| '''Data size'''
| '''Form Size'''
| The size does not include the form descriptor itself.
|-
|-
| 0xC
| 0xC
| 8
| u64
| Unknown; always 0?
| {{unknown}}
| Always 0?
|-
|-
| 0x14
| 0x14
| 4
| {{FourCC}}
| Four-character '''data type''' identifier
| '''Form ID'''
| Identifier for the data contained in the form. For forms that appear at the beginning of a file, this usually matches the file extension.
|-
|-
| 0x18
| 0x18
| 4
| u32
| Unknown
| '''Form Version'''
| Version number for the form data. For forms that appear at the beginning of a file, this will match the file's asset header (if it has one).
|-
|-
| 0x1C
| 0x1C
| 4
| u32
| Unknown; always matches the previous value
| {{unknown|Also Data Version?}}
| Always matches the previous value, not sure why it's here twice.
|-
|-
| 0x20
| 0x20
| colspan=2 | End of header
| colspan=3 {{unknown|End of Form Descriptor}}
|}
|}


[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Donkey Kong Country: Tropical Freeze]]
[[Category:Donkey Kong Country: Tropical Freeze]]
Anonymous user

Navigation menu