Changes

Jump to navigation Jump to search

FF8/String Encoding

653 bytes added, 15:29, 22 April 2019
Started stream encoding entry. still more to do but wanted to start special characters.
[https://sourceforge.net/p/ifrit/code-0/HEAD/tree/trunk%20ifrit-code-0/Resources/textformat.ifr source for some of text codes]===String Encoding =Seek Map==Before FF8 takes strings of text and converts them down to byte arrays. Some of which aligns to the string sections, there is a section with a map grid of seek datatext in the texture. Some bytes = two characters.===Header=Special Bytes==These bytes are points where things are inserted or a change in formatting. Some just say to ignore this string unless the player unlocked something.
{| class="wikitable"
|-! TypeStarting Byte
! Size
! ValueName
! Description
|-
| UInt320x00| 41| CountNULL| Number End of seek locations.string
|-
|}0x03===Seek Struct===| 2| Name{| class="wikitable"When see 0x03??, in a string, it's usually a characters name.
|-
! Type| 0x05! Size| 2! Value| Icon! Description| 0x05?? used to draw a symbol from icons.tex, like controller buttons.On PC it draws the letter of keyboard keys assigned to the controls.
|-
| UInt160x06
| 2
| Seek_LocationColor| From beginning of section 0x06?? used to start of String Entryshow a change in formatting like color
|-
| UInt160x0A
| 2
| Section_NumberSpecial_Value| 0-50x0A?? can be a string or number value.|}==String Entry=={| class="wikitable"Depending on which string you are reading it can be a different value.
|-
! Type| 0x0B! Size| 2 or 3! Value| Cursor_Locations! Description| Might be number of possible return values that determine whether this is 3 or 2 bytes.Like YES or NO questions will only be 2 bytes<br/>but screens with a list of multiple selections will will use 3 bytes.
|-
| Byte[6http://forums.qhimm.com/index.php?topic=17120.msg243579#msg243579 0x0C]| 6| UNK| Fist one is'''0xFFFFFFFFFFFF'''|-| UInt16
| 2
| Entry_LengthSpellID| Length Used to place a name of entry from starta spell.|-| Byte [Entry_Length-8]| Entry_Length - 8| [[FF8/String_Encoding|Encoded_Strings]]| Entry might have more than string, each ends with 0x00
|}
Anonymous user

Navigation menu