Difference between revisions of "FF8/Menu mngrp complex strings"

From Final Fantasy Inside
< FF8
Jump to navigation Jump to search
my_wiki>Sebanisu
(String Entry: added link)
m (5 revisions imported)
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
Still working on these strings. The spacing between entries doesn't seem consistent. Maybe should do a -4 instead of a -6 or even a -2. Once I figure it out I'll update this.
+
==Seek Map==
 +
Before the string sections, there is a section with a map of seek data.
 +
===Header===
 +
{| class="wikitable"
 +
|-
 +
! Type
 +
! Size
 +
! Value
 +
! Description
 +
|-
 +
| UInt32
 +
| 4
 +
| Count
 +
| Number of seek locations.
 +
|-
 +
|}
 +
===Seek Struct===
 +
{| class="wikitable"
 +
|-
 +
! Type
 +
! Size
 +
! Value
 +
! Description
 +
|-
 +
| UInt16
 +
| 2
 +
| Seek_Location
 +
| From beginning of section to start of String Entry
 +
|-
 +
| UInt16
 +
| 2
 +
| Section_Number
 +
| 0-5
 +
|}
 
==String Entry==
 
==String Entry==
 
{| class="wikitable"
 
{| class="wikitable"
 
|-
 
|-
! Data
+
! Type
 
! Size
 
! Size
 
! Value
 
! Value
Line 19: Line 52:
 
| Length of entry from start.
 
| Length of entry from start.
 
|-
 
|-
| Byte [Entry_Length-6]
+
| Byte [Entry_Length-8]
| Entry_Length - 6
+
| Entry_Length - 8
 
| [[FF8/String_Encoding|Encoded_Strings]]
 
| [[FF8/String_Encoding|Encoded_Strings]]
 
| Entry might have more than string, each ends with 0x00
 
| Entry might have more than string, each ends with 0x00
|-
 
| Byte[0-3]
 
| 0-3
 
| NULL
 
| 0-3 extra null bytes after the last string making it hard to locate the next Entry_Length
 
 
|}
 
|}

Latest revision as of 01:12, 15 July 2019

Seek Map

Before the string sections, there is a section with a map of seek data.

Header

Type Size Value Description
UInt32 4 Count Number of seek locations.

Seek Struct

Type Size Value Description
UInt16 2 Seek_Location From beginning of section to start of String Entry
UInt16 2 Section_Number 0-5

String Entry

Type Size Value Description
Byte[6] 6 UNK Fist one is

0xFFFFFFFFFFFF

UInt16 2 Entry_Length Length of entry from start.
Byte [Entry_Length-8] Entry_Length - 8 Encoded_Strings Entry might have more than string, each ends with 0x00