STRG (Metroid Prime Demo): Difference between revisions
Jump to navigation
Jump to search
>Aruki No edit summary |
>Aruki No edit summary |
||
(One intermediate revision 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 | ||
! | ! Count | ||
! | ! Name | ||
! Notes | |||
|- | |- | ||
| 0x0 | | 0x0 | ||
| u32 | | u32 | ||
| | | 1 | ||
| '''File | | '''File Size''' | ||
| Includes itself. | |||
|- | |- | ||
| 0x4 | | 0x4 | ||
| u32 | | u32 | ||
| | | 1 | ||
| '''String | | '''String Count''' | ||
| Number of strings in the file. | |||
|- | |- | ||
| 0x8 | | 0x8 | ||
| u32 | | u32 | ||
| | | ''String Count'' | ||
| '''String | | '''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.}} | ||
| | |||
|} | |} | ||
[[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. |