M
Micky
Guest
Just a few words about the text sections in kernel.bin:
- The sections are
Code: [Select]
- each section starts with a table of offsets to each string
- the strings have a extra compression: after the escape code 0xF9 is an offset: Code: [Select]
into the previous string.
- there is another escape code 0xF8, but I'm not sure what it is used for.
- The sections are
Code: [Select]
Code:
"Attack descriptions", "Spell descriptions", "Item descriptions", "Weapon descriptions?", "Accessory (arm) descriptions", "Accessory (hand) descriptions", "Materia descriptions", "Special Item descriptions", "Attacks (Menu items)", "Spells", "Items", "Weapons", "Accessories (arm)", "Accessories (hand)", "Materia", "Special Items", "Generic Messages", "Summons?"
- the strings have a extra compression: after the escape code 0xF9 is an offset: Code: [Select]
Code:
int dist = ((*ptr) & 0x3F)+2; int count = ((*ptr) >> 6)*2+4;
- there is another escape code 0xF8, but I'm not sure what it is used for.