And, using the identifier “lang” we can find text files. These text files always use the “ATELY” header, and I’ve mapped the file structure in the following image:
*In black -> ATELY constant header
*In grey -> Absolute pointer to the text event script file
*In pink -> Text event script size
-Then, the text data always start at 0x20
*In green -> number of text interventions
*In blue -> Entire text block size
-Then, for each intervention:
*In red -> Intervention index
*In purple -> Intervention size
*In light blue -> intervention text using a custom 16 bit encoding
-Then the next intervention following the same scheme…
In order to decode the custom 16 bit encoding, both the font and Japanese knowledge are needed, as I’m able to extract images, I have full access to the font, shown here: