FF6 Hacking
Altering text via assembly without breaking things - Printable Version

+- FF6 Hacking (https://www.ff6hacking.com/forums)
+-- Forum: Discussion Forums (https://www.ff6hacking.com/forums/forum-5.html)
+--- Forum: Magitek Research Facility (https://www.ff6hacking.com/forums/forum-9.html)
+--- Thread: Altering text via assembly without breaking things (/thread-3911.html)



Altering text via assembly without breaking things - Kenefactor - 12-05-2019

Some text in the game isn't able to be altered by the FF3usME, though it's been an amazingly helpful tool.  I'm not much of a hacker but so far I've managed to successfully learn enough hex editting to do very simple tasks such as changing Gp in the party menu to GP (by making backup roms, searching for 86A9 and changing it to 868F until it worked instead of crashing, since I couldn't find it in the rom map) and making one event skip over a text pointer entirely (by shifting the values for animations before the text forward to overwrite it, and filling the space left before those with three instances of the "cancel animations" bit instead of one.  During gameplay it looks fine since it doesn't have any delay.)

Obviously those two solutions are probably not kosher, so before I start shortening Pearl to Holy for the text outputted by Debilitator or such how can I properly shorten text or an event without fear of messing up everything down the line?  I'm going to be sticking .ips patches from other people in later and I'm worried about stuff getting shifted by one byte or such so it crashes.


RE: Altering text via assembly without breaking things - madsiur - 12-05-2019

You can load a table in a hex editor with table support such as Windhex and search words in it once the table is loaded.

Edit: Also this thread should be in Magitek Facility, please move mods : )


RE: Altering text via assembly without breaking things - Kenefactor - 12-05-2019

Thanks for the advice about the table. Should I just leave bytes for "empty space" at the end of the text box rather than worry about pulling the end of the text box back? Also, I mistakenly thought that this thread was meant for assembly assistance specifically, rather than general hacking advice with various editing programs. I've certainly come to appreciate that it's a mythical skill and could warrant its own section!


RE: Altering text via assembly without breaking things - madsiur - 12-06-2019

(12-05-2019, 10:57 PM)Kenefactor Wrote: Thanks for the advice about the table.  Should I just leave bytes for "empty space" at the end of the text box rather than worry about pulling the end of the text box back?

If those strings have a fixed length, you have to add empty spaces, otherwise you don't need to.