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

Jump to navigation Jump to search
no edit summary
>Aruki
>Aruki
Line 6: Line 6:


== Format ==
== Format ==
The descriptor is always 0x20 bytes large.


{| class="wikitable"
{| class="wikitable"
! Offset
! Offset
! Size
! Type
! Name
! Name
! Notes
! Notes
|-
|-
| 0x0
| 0x0
| 4
| {{FourCC}}
| '''Magic'''
| '''Magic'''
| Always <code>RFRM</code>
| Always <code>RFRM</code>
|-
|-
| 0x4
| 0x4
| 8
| u64
| '''Form Size'''
| '''Form Size'''
|  
| The size does not include the form descriptor itself.
|-
|-
| 0xC
| 0xC
| 8
| u64
| {{unknown|'''Unknown'''}}
| {{unknown}}
| Always 0?
| 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
| '''Data Version'''
| '''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
| 4
| {{unknown|'''Also Data Version?'''}}
| {{unknown|Also Data Version?}}
| Always matches the previous value, not sure why it's here twice.
| Always matches the previous value, not sure why it's here twice.
|-
|-
| 0x20
| 0x20
| colspan=3 {{unknown|End of descriptor}}
| 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