SCAN (Metroid Prime): Difference between revisions

Jump to navigation Jump to search
>Darkeye
No edit summary
>Aruki
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
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 article is for the SCAN format from Metroid Prime. For other revisions of this format, see [[SCAN (File Format)]].''


{{researchmoderate|reason=Too many unknowns.}}
The '''SCAN file format''' describes scannable objects. It is a relatively simple format and has a static size.


__TOC__
__TOC__
Line 52: Line 52:
==== Logbook Category ====
==== Logbook Category ====


There are five possible values:
There are six possible values:


{| class="wikitable"
{| class="wikitable"
Line 72: Line 72:
| 4
| 4
| Research
| Research
|-
| 5
| Artifacts
|}
|}


Line 101: Line 104:
| 4
| 4
| long
| long
| {{unknown|'''Unknown'''}}
| '''Width'''; 0 = no animation
|-
|-
| 0x10
| 0x10
| 4
| 4
| long
| long
| {{unknown|'''Unknown'''}}
| '''Height'''; 0 = no animation
|-
|-
| 0x14
| 0x14
| 4
| 4
| long
| float
| {{unknown|'''Unknown'''}}
| '''Interval'''; 0.0 = no animation
|-
|-
| 0x18
| 0x18
| 4
| 4
| float
| float
| {{unknown|'''Unknown'''}}
| '''Fade Duration'''; 0.0 = no fade
|-
|-
| 0x1C
| 0x1C
Line 123: Line 126:


==== Image Position ====
==== 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:
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"
{| class="wikitable"
Line 130: Line 132:
! Size
! Size
! Position
! Position
! FRME_ScanHud Widget
|-
|-
| 0x00
| 0x00
| 1/4
| 1/4
| Top-left corner
| Top-left corner
| imagepane_pane0
|-
|-
| 0x01
| 0x01
| 1/4
| 1/4
| Upper-middle-left
| Upper-middle-left
| imagepane_pane1
|-
|-
| 0x02
| 0x02
| 1/4
| 1/4
| Lower-middle-left
| Lower-middle-left
| imagepane_pane2
|-
|-
| 0x03
| 0x03
| 1/4
| 1/4
| Bottom-left corner
| Bottom-left corner
| imagepane_pane3
|-
|-
| 0x04
| 0x04
| 1/2
| 1/2
| Top-left corner
| Top-left corner
| imagepane_pane01
|-
|-
| 0x05
| 0x05
| 1/2
| 1/2
| Middle-left
| Middle-left
| imagepane_pane12
|-
|-
| 0x06
| 0x06
| 1/2
| 1/2
| Bottom-left corner
| Bottom-left corner
| imagepane_pane23
|-
|-
| 0x07
| 0x07
| 3/4
| 3/4
| Top-left corner
| Top-left corner
| imagepane_pane012
|-
|-
| 0x08
| 0x08
| 3/4
| 3/4
| Bottom-left corner
| Bottom-left corner
| imagepane_pane123
|-
|-
| 0x09
| 0x09
| 1
| 1
| Left side
| Left side
| imagepane_pane0123
|-
|-
| 0x0A
| 0x0A
| 1/4
| 1/4
| Top-right corner
| Top-right corner
| imagepane_pane4
|-
|-
| 0x0B
| 0x0B
| 1/4
| 1/4
| Upper-middle-right
| Upper-middle-right
| imagepane_pane5
|-
|-
| 0x0C
| 0x0C
| 1/4
| 1/4
| Lower-middle-right
| Lower-middle-right
| imagepane_pane6
|-
|-
| 0x0D
| 0x0D
| 1/4
| 1/4
| Bottom-right corner
| Bottom-right corner
| imagepane_pane7
|-
|-
| 0x0E
| 0x0E
| 1/2
| 1/2
| Top-right corner
| Top-right corner
| imagepane_pane45
|-
|-
| 0x0F
| 0x0F
| 1/2
| 1/2
| Middle-right
| Middle-right
| imagepane_pane56
|-
|-
| 0x10
| 0x10
| 1/2
| 1/2
| Bottom-right corner
| Bottom-right corner
| imagepane_pane67
|-
|-
| 0x11
| 0x11
| 3/4
| 3/4
| Top-right corner
| Top-right corner
| imagepane_pane456
|-
|-
| 0x12
| 0x12
| 3/4
| 3/4
| Bottom-right corner
| Bottom-right corner
| imagepane_pane567
|-
|-
| 0x13
| 0x13
| 1
| 1
| Right side
| Right side
| imagepane_pane4567
|-
|-
|}
|}
<gallery mode=packed heights=200px>
File:Scan_offsets_1.png|Image positions 0x00, 0x01, and 0x02
File:Scan_offsets_3.png|Image positions for 0x04, 0x06, 0x0E, and 0x10
File:Scan_offset_101.png|Image positions for 0x03, 0x05, and 0x0F. Note that 0x03 appears only for this scan (Omega Pirate's projectiles) and no others.
File:Scan_offsets_10.png|Image positions for 0x09 and 0x13
File:Scan_position_10000.png|This unused Chozo Elder scan (hacked onto Parasite Queen) shows image positions 0x0A and 0x0D. This scan is the only one where these positions are used.
File:Scan_position_99.png|Image positions for 0x0B and 0x0C (unused)
File:Scan_offset_11.png|Image positions for 0x07 and 0x11 (unused)
File:Scan_offset_12.png|Image positions for 0x08 and 0x12 (unused)
</gallery>
==== Fly In Behavior ====
The first scan image to appear (based on the appearance percent value) will "fly in" from the side of the screen toward the center. The remaining images will "fade in" without moving. The only exception to this is when the first image to appear is a "blank" image with no associated [[TXTR (Metroid Prime)|TXTR]]. In this case, no image will fly in (i.e., all images will fade in).
==== Scan Animations ====
[[Image:AnimatedscanFinal.gif|thumb|The terminal with an animated scan image in the Map Facility.]]
An extremely small number of scans display animated images in Metroid Prime. In the final version of the game, only a terminal in the Map Facility displays an animated image. In the demo version of the game, the aforementioned terminal scan and the Parasite Queen scan both display animated images. For most SCAN files, the last 32 bits of the scan image entry are zeroed out, but for the animated scans, these 32 bits have actual values in them. Strangely, the terminal directly to the left of the animated terminal in the Map Facility also has non-zero values for these 32 bits, even though it does not display any animated images.


[[Category:File Formats]]
[[Category:File Formats]]
[[Category:Metroid Prime]]
[[Category:Metroid Prime]]
Anonymous user

Navigation menu