Open NikoofDeath opened 3 years ago
Yeah this has unfortunately been a persistent issue, I've tried a few tweaks in where to place line breaks to try and mitigate but it still happens on some text boxes.
The way the game constructs text boxes makes it hard to split them up - from what I can tell, the beginning of each .mpt
file has a header which essentially defines the location of each text box that follows in the file. Changing the length of a text box or adding a new one would require adjusting the header to point to the new text box location(s). If the header is malformed or doesn't point to exactly the right place, or if the text boxes are resized without adjusting the header, you get errors in-game when displaying text. So the header format would need to be understood and reverse-engineered in order for custom text box sizes to be used. I haven't had time to look at this more but would definitely accept any PRs to address this issue.
It seems that some single text boxes are getting too much text in them in the script, as an example:
When there is a box with a lot of text once the first box is done
it overflows into a new one
So if you don't read all of "When there is a box with a lot of text once the first box is done" by the time the word "done" is typed out, you miss out on whatever you didn't read, since it automatically goes to a second box that just says "it overflows into a new one". My guess is this could be avoided by automatically splitting the text boxes if there are too many characters?