SCAN (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
>Aruki (formatting + grammar) |
>MrSinistar (Thanks to Antidote for helping crack this format even further! I confirmed hex edits in Dolphin and found the red symbol flag.) |
||
Line 36: | Line 36: | ||
| 0x14 | | 0x14 | ||
| 4 | | 4 | ||
| '''Scan Type'''; 0 = No message, 1 = Pirate Data, 2 = Chozo Lore, 3 = Creatures, 4 = Research | |||
|- | |- | ||
| 0x18 | | 0x18 | ||
| 1 | | 1 | ||
| '''Red Scan Symbol Flag'''; 0 = Orange symbol, 1 = Red symbol | |||
|- | |- | ||
| 0x19 | | 0x19 |
Revision as of 08:01, 27 January 2015
The .SCAN file format describes scannable objects, and has references to several resources. It is a relatively simple format and has a static size.
This file format needs a lot of research Too many unknowns. |
Header
The header is rather simple, and consists of the following:
Offset | Size | Description |
---|---|---|
0x0 | 4 | Version |
0x4 | 4 | Magic; always 0x0BADBEEF |
0x8 | 4 | FRME ID |
0xC | 4 | STRG ID |
0x10 | 4 | Unknown; usually 0 |
0x14 | 4 | Scan Type; 0 = No message, 1 = Pirate Data, 2 = Chozo Lore, 3 = Creatures, 4 = Research |
0x18 | 1 | Red Scan Symbol Flag; 0 = Orange symbol, 1 = Red symbol |
0x19 | End of header |
Entry
Following the header is an array of 4 structs which follow this format:
Offset | Size | Description |
---|---|---|
0x0 | 4 | TXTR ID |
0x4 | 4 | Unknown - float |
0x8 | 4 | Unknown - long |
0xC | 4 | Unknown - long |
0x10 | 4 | Unknown - long |
0x14 | 4 | Unknown - long |
0x18 | 4 | Unknown - float |
0x1C | End of entry |