SCAN (Metroid Prime): Difference between revisions
Jump to navigation
Jump to search
no edit summary
>Sdmr m (grammar correction and minor improvements in readability) |
>Darkeye No edit summary |
||
Line 75: | Line 75: | ||
=== Scan Images === | === Scan Images === | ||
Following the header is an array of four structs that contain settings for up to four scan images. Although there can be anywhere from 0 to 4 scan images attached to a scan, there are always four scan image entries here. Entries that aren't used have their TXTR ID set to 0xFFFFFFFF, with the rest of the settings mostly left at defaults. They follow this format: | Following the header is an array of four structs that contain settings for up to four scan images. Although there can be anywhere from 0 to 4 scan images attached to a scan, there are always four scan image entries here. Entries that aren't used have their TXTR ID set to 0xFFFFFFFF, with the rest of the settings mostly left at defaults. They follow this format: | ||
Line 98: | Line 96: | ||
| 4 | | 4 | ||
| long | | long | ||
| '''Image Position'''; See below. | |||
|- | |- | ||
| 0xC | | 0xC | ||
Line 122: | Line 120: | ||
| 0x1C | | 0x1C | ||
| colspan=3 {{unknown|End of entry}} | | colspan=3 {{unknown|End of entry}} | ||
|} | |||
==== Image Position ==== | |||
[[File:Scan_offsets_1.png|thumb|300px|Image positions 0x00, 0x01, and 0x02]] | |||
[[File:Scan_offsets_3.png|thumb|300px|Image positions for 0x04, 0x06, 0x0E, and 0x10]] | |||
There are 20 possible values for the scan image's position; there are ten for the left side, and ten for the right: | |||
{| class="wikitable" | |||
! Value | |||
! Size | |||
! Position | |||
|- | |||
| 0x00 | |||
| 1/4 | |||
| Top-left corner | |||
|- | |||
| 0x01 | |||
| 1/4 | |||
| Upper-middle-left | |||
|- | |||
| 0x02 | |||
| 1/4 | |||
| Lower-middle-left | |||
|- | |||
| 0x03 | |||
| 1/4 | |||
| Bottom-left corner | |||
|- | |||
| 0x04 | |||
| 1/2 | |||
| Top-left corner | |||
|- | |||
| 0x05 | |||
| 1/2 | |||
| Middle-left | |||
|- | |||
| 0x06 | |||
| 1/2 | |||
| Bottom-left corner | |||
|- | |||
| 0x07 | |||
| 3/4 | |||
| Top-left corner | |||
|- | |||
| 0x08 | |||
| 3/4 | |||
| Bottom-left corner | |||
|- | |||
| 0x09 | |||
| 1 | |||
| Left side | |||
|- | |||
| 0x0A | |||
| 1/4 | |||
| Top-right corner | |||
|- | |||
| 0x0B | |||
| 1/4 | |||
| Upper-middle-right | |||
|- | |||
| 0x0C | |||
| 1/4 | |||
| Lower-middle-right | |||
|- | |||
| 0x0D | |||
| 1/4 | |||
| Bottom-right corner | |||
|- | |||
| 0x0E | |||
| 1/2 | |||
| Top-right corner | |||
|- | |||
| 0x0F | |||
| 1/2 | |||
| Middle-right | |||
|- | |||
| 0x10 | |||
| 1/2 | |||
| Bottom-right corner | |||
|- | |||
| 0x11 | |||
| 3/4 | |||
| Top-right corner | |||
|- | |||
| 0x12 | |||
| 3/4 | |||
| Bottom-right corner | |||
|- | |||
| 0x13 | |||
| 1 | |||
| Right side | |||
|- | |||
|} | |} | ||
[[Category:File Formats]] | [[Category:File Formats]] | ||
[[Category:Metroid Prime]] | [[Category:Metroid Prime]] |