Form Descriptor (Tropical Freeze): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
mNo edit summary
>Aruki
 
(7 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.


{{researchminor|reason=Some unknown values.}}
{{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|'''Unknown'''; always 0?}}
| {{unknown}}
| Always 0?
|-
|-
| 0x14
| 0x14
| 4
| {{FourCC}}
| '''Data type''' fourCC
| '''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|'''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|'''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 {{unknown|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]]

Latest revision as of 14:42, 14 November 2016

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.


This file format needs more research
Some unknown values.


Format

Offset Type Name Notes
0x0 FourCC Magic Always RFRM
0x4 u64 Form Size The size does not include the form descriptor itself.
0xC u64 Unknown Always 0?
0x14 FourCC 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 u32 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 u32 Also Data Version? Always matches the previous value, not sure why it's here twice.
0x20 End of Form Descriptor