I'm using the GOG release.


Code: Select all
//int = 4 bytes
int line_amount //Amount of lines in the file
int text_size //Size of the text section file_size - 8 - (line_amount * 4)
int line_lenghts[line_amount] //some lengths are -1 (0xFFFFFFFF), these get ignored
And after that the actual text (XOR with 0xA5 to get the real text), each line delimited by their length
heraldopkg wrote:I managed to resolve the issue of texts, now all that's left is to resolve the fonts.