Mentz said:
I'm analysing the file structure...
4 byte: zero filled
4 byte: ascii "text"
4 byte: ???
4 byte: file length or end dialog
4:byte: end table pointer or start dialogs
someone knows how is used the "???" part ?
Maybe it's important on repointing the whole msg file...
The ??? part points to another text. Just try changing it to 0000 then 0100 for the tutorial, etc and you'll see.
Also this affects the lower screen.
So:
4 byte: Zero Filled
4 byte: TEXT
4 byte: text entry that bottom screen starts with
4 byte: File length
Then:
4 byte: Offset to delimiter of first entry
4 byte: Offset to beginning of text for first entry (the text entry ends when the delimiter is arrived at)
4 byte: Offset to delimiter of second entry
4 byte: Offset to beginning of text for second entry (the text entry ends when the delimiter is arrived at)
4 byte: Offset to delimiter of third entry
4 byte: Offset to beginning of text for third entry (the text entry ends when the delimiter is arrived at)
....
1 byte: Delimiter for first text entry
Variable bytes: First text entry
....