Difference between revisions of "Form Descriptor (Tropical Freeze)"

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
>Aruki
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.}}
{{research|2|Some unknown values.}}
Line 7: Line 7:
== Format ==
== Format ==


The RFRM header is always 0x20 bytes large.
The descriptor is always 0x20 bytes large.


{| class="wikitable"
{| class="wikitable"
! Offset
! Offset
! Size
! Size
! Description
! Name
! Notes
|-
|-
| 0x0
| 0x0
| 4
| 4
| '''"RFRM" tag'''
| '''Magic'''
| Always <code>RFRM</code>
|-
|-
| 0x4
| 0x4
| 8
| 8
| '''Data size'''
| '''Form Size'''
|
|-
|-
| 0xC
| 0xC
| 8
| 8
| {{unknown|'''Unknown'''; always 0?}}
| {{unknown|'''Unknown'''}}
| Always 0?
|-
|-
| 0x14
| 0x14
| 4
| 4
| '''Data type''' fourCC
| '''Data Type FourCC'''
|
|-
|-
| 0x18
| 0x18
| 4
| 4
| {{unknown|'''Unknown'''}}
| {{unknown|'''Unknown'''}}
|
|-
|-
| 0x1C
| 0x1C
| 4
| 4
| {{unknown|'''Unknown'''; always matches the previous value}}
| {{unknown|'''Unknown'''}}
| Always matches the previous value}}
|-
|-
| 0x20
| 0x20
| colspan=2 {{unknown|End of header}}
| colspan=3 {{unknown|End of descriptor}}
|}
|}


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

Revision as of 13:06, 9 May 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.


Morphball wirerender.png This file format needs more research
Some unknown values.


Format

The descriptor is always 0x20 bytes large.

Offset Size Name Notes
0x0 4 Magic Always RFRM
0x4 8 Form Size
0xC 8 Unknown Always 0?
0x14 4 Data Type FourCC
0x18 4 Unknown
0x1C 4 Unknown Always matches the previous value}}
0x20 End of descriptor