Hello everyone,
I'm back asking for your help, for the last time I think (and hope). I need your input on this file format, magic word KSEQ, I've included some examples of different size attached to this post. They contains all the in-games dialogues, inner thoughts, etc. cf. my post with "Tatsuya" above (link).
Because of the way they are stored in the game, I'm pretty those files are self-sufficient, meaning they contains there own table of content. But I can't figure out how they work, and especially how the strings are reference in the file. As you can see on my screenshot above, by remplacing "龍也" by "Tatsuya", we can deduce that only the beginning of the string is referenced, and the game reads it until a null character. So the name "Tatsuya" appears complete, but because it's longer than 2 kanjis, it moved all the following strings, and the text in the box starts in the middle of Tatsuya, up to the next null char.
Here's what I guessed of the structure by comparing multiple files (this is 01_xxx.kseq) :
The legend :
red : magic word; orange: file size; green: id?; blue : null
purple : number of 12 bytes entries; pink : number of 8 bytes entries in pink; red : always 0x28000000; green : number of 8 bytes entries in orange
orange : offset of the 8 bytes entries in orange; red : always 0x6a610000;
pink 8 bytes entries
orange 8 bytes entries
purple 12 bytes entries
????? I don't know, but it contains strings at the end (in unicode);
Thanks for your help!
I'm back asking for your help, for the last time I think (and hope). I need your input on this file format, magic word KSEQ, I've included some examples of different size attached to this post. They contains all the in-games dialogues, inner thoughts, etc. cf. my post with "Tatsuya" above (link).
Because of the way they are stored in the game, I'm pretty those files are self-sufficient, meaning they contains there own table of content. But I can't figure out how they work, and especially how the strings are reference in the file. As you can see on my screenshot above, by remplacing "龍也" by "Tatsuya", we can deduce that only the beginning of the string is referenced, and the game reads it until a null character. So the name "Tatsuya" appears complete, but because it's longer than 2 kanjis, it moved all the following strings, and the text in the box starts in the middle of Tatsuya, up to the next null char.
Here's what I guessed of the structure by comparing multiple files (this is 01_xxx.kseq) :
The legend :
red : magic word; orange: file size; green: id?; blue : null
purple : number of 12 bytes entries; pink : number of 8 bytes entries in pink; red : always 0x28000000; green : number of 8 bytes entries in orange
orange : offset of the 8 bytes entries in orange; red : always 0x6a610000;
pink 8 bytes entries
orange 8 bytes entries
purple 12 bytes entries
????? I don't know, but it contains strings at the end (in unicode);
Thanks for your help!