STRG (Metroid Prime Demo): Difference between revisions

From Retro Modding Wiki
Jump to navigation Jump to search
>Aruki
(Created page with "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 la...")
 
>Aruki
No edit summary
 
(3 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'''
| '''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]]

Latest revision as of 06:41, 27 May 2016

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.

Format

There's not much to this format.

Offset Type Count Name Notes
0x0 u32 1 File Size Includes itself.
0x4 u32 1 String Count Number of strings in the file.
0x8 u32 String Count String Offsets Relative to after the File Size value.
string String Count Strings Array These are encoded as UTF-16 Unicode strings.
End of file.