Start menu translated.
Log of previous read text.
8-bit text string. (16-bit looks the same)
Hi I have been porting the english script of the pc version of Kanon into the psp version. I have been able to edit images and replace text. I have got most of the technical problems solved except for one: the scripts are too big for the space provided in memory. There is only enough space for the longest script file at 134 Kb but each script almost doubles in size when I replace the japanese text with english. If the script is bigger than 134 Kb the script will overflow into code that is needed to run the game and will crash.
I have thought of two solutions: move where the script is saved into memory or change the strings of text from 16-bit to 8-bit.
I have tried option 2 first and was able to change the text strings to 8-bit. Changing the strings this way only increased the size of script files by roughly 10% of the original size of the scripts. After changing to 8-bit I was unable to advance the text to the next string. The buttons were responding when I chose new game but once I started into the new game I could only advance by setting the options to advance automatically. The buttons L and R were also unresponsive but I when I had the game set to advance automatically if the text was being written to the screen I could press R or O and it would complete the text string in the box but would not advance to the next string. Also changing the script to 8-bit caused the game to crash when i tried to save in game.
If I stick with the second option how do I check in ppsspp what happens after a button push? The game reuses a lot of code and I think I need to edit the value used for button presses. I also think the game crashes when i save because I did not change the part that saves to use 8-bit characters for the one sentence it saves as its title.
If the second option does not work how would I go to find a space around 400-500 Kb in memory that is free where I can put my edited scripts?
If anyone has any ideas on what I should do please help me out.