SCAN (Metroid Prime): Difference between revisions

Jump to navigation Jump to search
formatting + grammar
imported>Antidote
(→‎Entry: Remove size column, it's redundant)
>Aruki
(formatting + grammar)
Line 1: Line 1:
The '''.SCAN file format''' describes SCAN POI data, and has references to several resources, it is a relatively simple format and has a static size.
The '''.SCAN file format''' describes scannable objects, and has references to several resources. It is a relatively simple format and has a static size.


{{researchmajor|reason=Too many unknowns.}}
{{researchmajor|reason=Too many unknowns.}}
Line 5: Line 5:
__TOC__
__TOC__


=Header=
== Header ==
 
The header is rather simple, and consists of the following:
The header is rather simple, and consists of the following:
{|class="wikitable"
 
!Offset
{| class="wikitable"
!Size
! Offset
!Description
! Size
! Description
|-
|-
|0x0
| 0x0
|4
| 4
|'''Version'''
| '''Version'''
|-
|-
|0x4
| 0x4
|4
| 4
|'''Magic'''; 0x0BADBEEF
| '''Magic'''; always 0x0BADBEEF
|-
|-
|0x8
| 0x8
|4
| 4
|'''[[FRME (File Format)|FRME]] ID'''
| '''[[FRME (File Format)|FRME]] ID'''
|-
|-
|0xC
| 0xC
|4
| 4
|'''[[STRG (File Format)|STRG]] ID'''
| '''[[STRG (File Format)|STRG]] ID'''
|-
|-
|0x10
| 0x10
|4
| 4
|{{unknown|Unknown usually 0}}
| {{unknown|'''Unknown'''; usually 0}}
|-
|-
|0x14
| 0x14
|4
| 4
|{{unknown|Looks like a count, but there are always 4 entries}}
| {{unknown|'''Unknown'''; looks like a count, but there are always 4 entries}}
|-
|-
|0x18
| 0x18
|1
| 1
|{{unknown|Unknown, might just be padding}}
| {{unknown|'''Unknown'''; might just be padding}}
|-
| 0x19
| colspan=2 {{unknown|End of header}}
|}
|}




=Entry=
== Entry ==
 
Following the header is an array of 4 structs which follow this format:
Following the header is an array of 4 structs which follow this format:


{|class=wikitable
{| class="wikitable"
!Offset
! Offset
!Description
! Size
! Description
|-
| 0x0
| 4
| '''[[TXTR (Metroid Prime)|TXTR]] ID'''
|-
|-
|0x0
| 0x4
|'''[[TXTR (Metroid Prime)|TXTR]] ID'''
| 4
| {{unknown|'''Unknown''' - float}}
|-
|-
|0x4
| 0x8
|{{unknown|float}}
| 4
| {{unknown|'''Unknown''' - long}}
|-
|-
|0x8
| 0xC
|{{unknown|long}}
| 4
| {{unknown|'''Unknown''' - long}}
|-
|-
|0xC
| 0x10
|{{unknown|long}}
| 4
| {{unknown|'''Unknown''' - long}}
|-
|-
|0x10
| 0x14
|{{unknown|long}}
| 4
| {{unknown|'''Unknown''' - long}}
|-
|-
|0x14
| 0x18
|{{unknown|long}}
| 4
| {{unknown|'''Unknown''' - float}}
|-
|-
|0x18
| 0x1C
|{{unknown|float}}
| colspan=2 {{unknown|End of entry}}
|}
|}


Line 74: Line 91:
[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime]]
[[Category:Major research needed]]
Anonymous user

Navigation menu