Difference between revisions of "Form Descriptor (Tropical Freeze)"
From Retro Modding Wiki
m ({{research}}) |
m (→Format) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | 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 6: | Line 6: | ||
== Format == | == Format == | ||
− | |||
− | |||
{| class="wikitable" | {| class="wikitable" | ||
! Offset | ! Offset | ||
− | ! | + | ! Type |
− | ! | + | ! Name |
+ | ! Notes | ||
|- | |- | ||
| 0x0 | | 0x0 | ||
− | | | + | | {{FourCC}} |
− | | ''' | + | | '''Magic''' |
+ | | Always <code>RFRM</code> | ||
|- | |- | ||
| 0x4 | | 0x4 | ||
− | | | + | | u64 |
− | | ''' | + | | '''Form Size''' |
+ | | The size does not include the form descriptor itself. | ||
|- | |- | ||
| 0xC | | 0xC | ||
− | | | + | | u64 |
− | | {{unknown| | + | | {{unknown}} |
+ | | Always 0? | ||
|- | |- | ||
| 0x14 | | 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 | | 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 | | 0x1C | ||
− | | | + | | u32 |
− | | {{unknown| | + | | {{unknown|Also Data Version?}} |
+ | | Always matches the previous value, not sure why it's here twice. | ||
|- | |- | ||
| 0x20 | | 0x20 | ||
− | | colspan= | + | | 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 08: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. |
Contents
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 |