Difference between pages "PSP/GMO Format" and "FF8/Menu mngrp strings locations"
< PSP(Difference between pages)
Jump to navigation
Jump to search
m (5 revisions imported) |
my_wiki>Sebanisu (→String: going to make a page about the string encoding) |
||
Line 1: | Line 1: | ||
− | + | Many strings. | |
− | + | ===Header String Offsets=== | |
− | = | + | {| class="wikitable" |
− | + | ! Type | |
− | + | ! Size | |
− | + | ! Value | |
− | + | ! Description | |
− | + | |- | |
− | = | + | | UInt16 |
− | + | | 2 | |
− | + | | Offset_Count | |
− | + | | Number of offsets before strings start | |
− | + | |- | |
− | + | | UInt16[Offset_Count] | |
− | + | | 2 * Offset_count | |
− | + | | Offsets | |
− | + | | The offset value points to start of a string | |
− | + | Can be '''0x00''' ignore those | |
− | = | + | |} |
− | + | ===String=== | |
− | + | Strings end with '''0x00'''. [[FF8/String_Encoding|Strings are encoded]].<br/> | |
− | + | '''[Start of string location]''' = '''[Start of file]''' + '''[String offset value]''' | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | === | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | <br /> | ||
− | |||
− | = | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Revision as of 15:02, 22 April 2019
Many strings.
Header String Offsets
Type | Size | Value | Description |
---|---|---|---|
UInt16 | 2 | Offset_Count | Number of offsets before strings start |
UInt16[Offset_Count] | 2 * Offset_count | Offsets | The offset value points to start of a string
Can be 0x00 ignore those |
String
Strings end with 0x00. Strings are encoded.
[Start of string location] = [Start of file] + [String offset value]