User blog comment:ヌヌハラ/alice-tools v0.2.0/@comment-45214281-20200313112813/@comment-44256294-20200314004035

Changing the font size should be possible, but as RottenBlock said it will be quite difficult to track down the code that needs to be changed.

If you intend to go down this path, my recommendation would be to export the structure definitions from the ain file (aindump --structures -o structs.jaf xxx.ain) and look for any struct members that might store a font size. This should give some additional clues.

Another option is to add extra messages to the script to handle the overflow. This can only be done by editing the bytecode. For example, if you had the code:

MSG 0x1 ; "some really long text" CALLFUNC A

You could change it to:

.MSG 0x1 "some really" ; assign to message 0x1 MSG 0x1 CALLFUNC A .MSG 0x123456 "long text" ; assign to new message MSG 0x123456 CALLFUNC A

The problem with this method is that you need to manually figure out what the next unused message number is (0x123456 in this example) and ensure that you don't accidently reuse any numbers.

Also, one thing that maybe isn't obvious is that you can insert newlines into the text using "\n". E.g.

m[1234] = "some really\nlong text"

So if you still have some vertical space to work with you can make use of it in this way.