Toa Posted September 13, 2015 Share Posted September 13, 2015 Hello. I was working on my hack and was testing a chapter and found that certain portions of text were broken, displaying what looks to be parts of the archer animation sheet while opening a speech bubble with question marks in it, followed by opening a shop prompt of some kind. None of that was in the text I inserted. Here is the text https://docs.google.com/document/d/1B9AUf9jC6FWsuyCzvdrZC92agsvJdzSLKPmG1Q2GRTw/edit It does similar things (currently it displays some text in the corner for a moment and then text appears at the top of the screen telling me what type of tile the cursor is on) even with different mugs loaded, at different locations(it started in 848), and with the simplest of events. No matter what I do, the game seems adamant on not playing this text. Any ideas? Quote Link to comment Share on other sites More sharing options...
ghast Posted September 13, 2015 Share Posted September 13, 2015 OH idea did you replace "Yes.[X]" or 0x001 by mistake in the text editor? Quote Link to comment Share on other sites More sharing options...
Brendor Posted September 13, 2015 Share Posted September 13, 2015 (edited) that's buy and sell which has its own command 0x1Acheck the text buffer ($202A5B4) Edited September 13, 2015 by Brendor Quote Link to comment Share on other sites More sharing options...
Toa Posted September 13, 2015 Author Share Posted September 13, 2015 Ghast, no. 0x001 still reads Yes[.][x] Text buffer? Is 202A5B4 an offset? Because my ROM looks like it ends at 2003F20 Quote Link to comment Share on other sites More sharing options...
Brendor Posted September 13, 2015 Share Posted September 13, 2015 its an address, you need to use the memory viewer Quote Link to comment Share on other sites More sharing options...
ghast Posted September 13, 2015 Share Posted September 13, 2015 (edited) its an address, you need to use the memory viewer *sigh* can you give him advice on how he's supposed to use the memory viewer? "do the thing with the thing" isn't that helpful Edited September 13, 2015 by Ghastly Quote Link to comment Share on other sites More sharing options...
Brendor Posted September 13, 2015 Share Posted September 13, 2015 (edited) open the memory viewer, type in or paste in the address and click Go when the conversation is happening like in the photo you can alternatively look at the actual ROM data in a hex editor by searching for the ascii text Edited September 13, 2015 by Brendor Quote Link to comment Share on other sites More sharing options...
Toa Posted September 13, 2015 Author Share Posted September 13, 2015 [spoiler=memory viewer] So what am I looking for in the memory viewer? It doesn't seem to be telling me a lot besides that the text obviously isn't working. Quote Link to comment Share on other sites More sharing options...
Brendor Posted September 13, 2015 Share Posted September 13, 2015 It confirms my hypothesis; you see it says Goddess Icon in memory because that's the "current item" in whatever reserved byte the game uses.The whole store system including the graphics and options and displaying items is linked to the 0x1A byte being used in the text so check the actual ROM text for a stray 0x1A probably from an overflow or something Quote Link to comment Share on other sites More sharing options...
CT075 Posted September 14, 2015 Share Posted September 14, 2015 that is the least helpful advice i have ever seen Toa - how exactly did you edit that text? Did you insert with FEditor? Can you outline the exact process? Quote Link to comment Share on other sites More sharing options...
Toa Posted September 14, 2015 Author Share Posted September 14, 2015 I started by writing everything in a google doc. I did all the base writing and then also the formatting in there. When it was finished, I copy pasted that into FEditor. It might be worth noting that FEditor doesn't handle this that smoothly, it turns all the apostrophes into [No] and ellipsis into &. I don't remember if I did it on this text, but I forgot some [LoadFace]s on some other text in the batch that I had to fix after hitting apply and seeing things go wrong. Anyway, after I fixed whatever formatting problems arose, I played through the chapter I inserted the dialogue for. Every piece worked fine except for this one. (they were all inserted using the same process). Quote Link to comment Share on other sites More sharing options...
Agro Posted September 14, 2015 Share Posted September 14, 2015 Just check over the text and make sure you don't have any stray bytes or funny characters. It also helps to insert stuff into Notepad first, I find, and then put it into FEditor. Quote Link to comment Share on other sites More sharing options...
Toa Posted September 20, 2015 Author Share Posted September 20, 2015 (edited) Okay, I have identified the problem to be length related. Text that was broken started working when I removed a bunch of it and then broke when I started adding back in. Is there some sort of limit when replacing text? Like does it need to be similarly sized to the text you're replacing, or is this some sort of "just me" anomaly? Edited September 20, 2015 by Toa Quote Link to comment Share on other sites More sharing options...
Agro Posted September 20, 2015 Share Posted September 20, 2015 I'm wondering if you accidentally overwrote the FEditor footer? That thing helps to say where free space is, I think. Quote Link to comment Share on other sites More sharing options...
Toa Posted September 20, 2015 Author Share Posted September 20, 2015 Maybe, where would I look to find out? Quote Link to comment Share on other sites More sharing options...
CT075 Posted September 20, 2015 Share Posted September 20, 2015 Open the ROM in a hex editor and just scroll all the way down, you should see "12 70 D1 FE" (or "FE D1 70 12") somewhere near the end of your ROM Quote Link to comment Share on other sites More sharing options...
Toa Posted September 20, 2015 Author Share Posted September 20, 2015 (edited) Still there, must be something else. Are there offsets that FEditor needs reserved or anything like that? Edited September 20, 2015 by Toa Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.