STRG (Metroid Prime Demo): Difference between revisions

no edit summary
>Aruki
>Aruki
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
''See [[STRG (File Format)]] for the other revisions of this format.''
The '''STRG format''' that appears in the Metroid Prime kiosk demo is an extremely basic initial version of the format. It's a very simplistic format that only supports one language per file and doesn't even have a magic value or a version number.
The '''STRG format''' that appears in the Metroid Prime kiosk demo is an extremely basic initial version of the format. It's a very simplistic format that only supports one language per file and doesn't even have a magic value or a version number.


Line 10: Line 12:
! Offset
! Offset
! Type
! Type
! Size
! Count
! Description
! Name
! Notes
|-
|-
| 0x0
| 0x0
| u32
| u32
| 4
| 1
| '''File size''' (includes itself)
| '''File Size'''
| Includes itself.
|-
|-
| 0x4
| 0x4
| u32
| u32
| 4
| 1
| '''String count'''
| '''String Count'''
| Number of strings in the file.
|-
|-
| 0x8
| 0x8
| u32[]
| u32
| -
| ''String Count''
| '''String offsets''' (relative to after size value)
| '''String Offsets'''
| Relative to after the ''File Size'' value.
|-
| {{none}}
| string
| ''String Count''
| '''Strings Array'''
| These are encoded as UTF-16 Unicode strings.
|-
|-
| -
| colspan=5 {{unknown|End of file.}}
| string[]
| -
| '''Strings''' - these are encoded as UTF-16 Unicode strings
|}
|}


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