Yo, I'm having this rather annoying issue where text gets cut-off due to a character limit and I'm unable to get a working fix for it. If anyone could help a bro out, it'd be appreciated. Note that I have little to no ASM skills myself and just make use of the programs other people make, really, so I'm not a great hacker or anything. :\
So to start... the problem I'm referring to is for the game Fire Emblem: Heroes of Light and Shadow, blog at http://www.heroesofshadow.net. To quote the original problem:
Someone else (Nagato) then helped me but it wasn't completely fixed. Here's the patch source which was simply enough even for me to decipher:
So the character limit itself seems to be fixed but in return a game-breaking graphical glitch appears. The higher the character limit, the earlier that text glitch appears, sadly: only at the default value of 0x27 (39) does it stop/work right.
Any help here? Here are the files necessary to play the beginning of the game (at least they should be): http://dl.dropbox.co...iles_021812.zip It's not the latest arm9.bin file but I can easily mimic it to the latest one after the problem here is fixed (I only made a small change between the old version and the new version and I'm not on my home computer or else I'd just post everything straight up). Thanks to anyone who takes the time out to read this or comment!
So to start... the problem I'm referring to is for the game Fire Emblem: Heroes of Light and Shadow, blog at http://www.heroesofshadow.net. To quote the original problem:
A slightly more pressing problem is this:
"2. Maybe less important, but it would be nice to expand the amount of text available in the text rewind. 39 symbols in a line isn't actually a lot. I checked the NA/EU version of FE11 and their text rewind has more space available. Perhaps you could work some magic like how you increased the text buffer space?
If not, I guess we could make do with a cut-off text rewind, as I'd rather not force the text into 39 characters per line. "
The text rewind is this part of the game: http://dl.dropbox.co...text_rewind.png
Happens in the dialog of a chapter when you press the... R button, I believe. The limit for that text is 39 characters (or so my fellow team-member says, I don't know if it depends on the actual pixel width of the characters themselves), so it gets cut-off, but that's really annoying since the graphical character limit in the actual text is greater and we'd like it to match. I honestly have no idea where to start here, but it'd be lame if we had to cut-off text to only use like 60% of the width of the box because of this.
Someone else (Nagato) then helped me but it wasn't completely fixed. Here's the patch source which was simply enough even for me to decipher:
Code:
; Game: Fire Emblem 12
;
.nds
.open "arm9.bin", "arm9-2.bin", 0x02004000
.org 0x02044A44
.db 0x37
.org 0x02044A58
.db 0x38
.org 0x02044B54
.db 0x38
.org 0x02044970
.db 0x38
So it has a base and then edits the data of the arm9.bin file at an offset calculated by essentially subtracting the base from the offset... knowing that it just changes 4 values to something higher, i.e. it adds 0x10 to each character limit (0x27-0x37, 0x28-0x38, thus increasing the limit by 16 characters). Supposedly it worked but upon loading the script a little bit past the first cutscene in the prologue, graphical and then game-freezing glitches appear. It should be obvious if you play it with Desmume but if you wish for me to make a video or screenshot it just let me know.
Thus I'm led to believe that something else is... interfering? Given that any value above the original value glitches the game, I'd say there might be data being overwritten or something, but I'm no hacker, just a guy with basic logic skills.
So the character limit itself seems to be fixed but in return a game-breaking graphical glitch appears. The higher the character limit, the earlier that text glitch appears, sadly: only at the default value of 0x27 (39) does it stop/work right.
Any help here? Here are the files necessary to play the beginning of the game (at least they should be): http://dl.dropbox.co...iles_021812.zip It's not the latest arm9.bin file but I can easily mimic it to the latest one after the problem here is fixed (I only made a small change between the old version and the new version and I'm not on my home computer or else I'd just post everything straight up). Thanks to anyone who takes the time out to read this or comment!