I have one more question.
I'm thinking about putting in word wrapping and it seems Nagato's code for wrapping is the best method, and to do that I have to add the code in mainwindow.tjs. But unfortunately the file use kjs2 script. Is there a way to do this? Because IIRC at present there is no tool that can decompile kjs2.
I can use \n to do line wrapping, but if possible I still prefer word wrapping to line wrapping, because manually adding \n every time is troublesome, and if the players change fonts, it can mess up with line wrapping.
Unfortunately GARbro doesn't work with my version of the game. I intend to translate the trial and it seems the tool can only decrypt the full normal version of the game. But thank you very much for your suggestion.
Right now I don't need to repack the files because I can put everything in a folder like uyjulian suggested. And if I want to repack, the old xp3pack.exe tool will suffice.
Thank you. I didn't see it before. That is a lot more convenient.