Anseraphel/RCFD Posted August 17, 2017 Share Posted August 17, 2017 Hello! I would like some help/a tutorial about how to edit texts in Fire Emblem 4. I tried to use the script dumper and inserter from the link with that post but I can't find how to make it work :/ Thanks in advance for your help! Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 24, 2017 Share Posted August 24, 2017 (edited) On 17/08/2017 at 2:53 PM, Anseraphel/RCFD said: Hello! I would like some help/a tutorial about how to edit texts in Fire Emblem 4. I tried to use the script dumper and inserter from the link with that post but I can't find how to make it work :/ Thanks in advance for your help! consult my FE4 stuff for tools relating to text and other things the FE4EasyText patch allows for typing in text directly to a hex editor, although I don't know if a proper text parser is public yet the old fe4hackdocs has information on dialogue text codes so you can type them in manually in said hex editor menutext.txt contains hex codes for finding and editing menu text, however you must learn how to use pointers in order to change the lengths for each string Edited August 24, 2017 by Lamia Quote Link to comment Share on other sites More sharing options...
Tetragrammaton Posted August 24, 2017 Share Posted August 24, 2017 6 hours ago, Lamia said: the FE4EasyText patch allows for typing in text directly to a hex editor, although I don't know if a proper text parser is public yet The twilkitri's package had been public long ago, I think. Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 25, 2017 Author Share Posted August 25, 2017 14 hours ago, Lamia said: consult my FE4 stuff for tools relating to text and other things the FE4EasyText patch allows for typing in text directly to a hex editor, although I don't know if a proper text parser is public yet the old fe4hackdocs has information on dialogue text codes so you can type them in manually in said hex editor menutext.txt contains hex codes for finding and editing menu text, however you must learn how to use pointers in order to change the lengths for each string Well I tried to look at the easy text patch through an hex editor and didn't really understand what to do. Here are the only texts I found with a ROM patched with the EasyText patch, and I have no idea how to edit them http://imgur.com/fKkQ2nd http://imgur.com/RrpvU0h Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 25, 2017 Share Posted August 25, 2017 (edited) 2 hours ago, Anseraphel/RCFD said: Well I tried to look at the easy text patch through an hex editor and didn't really understand what to do. Here are the only texts I found with a ROM patched with the EasyText patch, and I have no idea how to edit them http://imgur.com/fKkQ2nd http://imgur.com/RrpvU0h it's done in a few easy steps... find the dialogue in the game you want to change (which means PLAYING the game) observe the text and numbers in the conversation use the Find feature in the hex editor to find exactly what you're looking for (hex codes displayed in the text boxes) if actual symbols are in-between hex numbers, use your hex editor's text > hex function if it has one (I use XVI32 which does) type in what you want in the hex editor, while taking note of the proper dialogue codes in the fe4hackdocs dialogue scripting info save and check on it in-game Edited August 25, 2017 by Lamia Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 25, 2017 Author Share Posted August 25, 2017 10 hours ago, Lamia said: it's done in a few easy steps... find the dialogue in the game you want to change (which means PLAYING the game) observe the text and numbers in the conversation use the Find feature in the hex editor to find exactly what you're looking for (hex codes displayed in the text boxes) if actual symbols are in-between hex numbers, use your hex editor's text > hex function if it has one (I use XVI32 which does) type in what you want in the hex editor, while taking note of the proper dialogue codes in the fe4hackdocs dialogue scripting info save and check on it in-game I would just need few more tips (I think, no idea if I'll really need few tips or much more): -First of all, how do I get edits in English? I tried to use letters on a Japanese ROM but it still uses Japanese symbols, and if I try to change the same text on the same ROM but with a patch it doesn't do anything. Here are the edit I made to test: http://imgur.com/oJ3FF8j That one is the edited text http://imgur.com/amRWykD That one is the not edited text -Second, how do you edit menu texts (weapons names, character names, class names etc.)? In the easy text patch they aren't changed and so I can't find them with the hex editor. For the moment these are the only questions I have. Sorry again for my total cluelessness, I am totally new to FE4 hacking. Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 25, 2017 Share Posted August 25, 2017 (edited) 1 hour ago, Anseraphel/RCFD said: -First of all, how do I get edits in English? I tried to use letters on a Japanese ROM but it still uses Japanese symbols, and if I try to change the same text on the same ROM but with a patch it doesn't do anything. that's because you're not using a proper version... regular text tiles are made to use japanese symbols use the FE4EasyText patch on the ROM, by hard patching it with lunar IPS or something 1 hour ago, Anseraphel/RCFD said: Second, how do you edit menu texts (weapons names, character names, class names etc.)? I added a menutext.txt to the fe4hackdocs download, which contains info on the j2e-based letter codes for some reason it was missing... I must have forgotten to re-add it when I needed to reupload it Edited August 25, 2017 by Lamia Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 10 hours ago, Lamia said: I added a menutext.txt to the fe4hackdocs download, which contains info on the j2e-based letter codes for some reason it was missing... I must have forgotten to re-add it when I needed to reupload it I managed to edit texts in english now, but I can't how to edit menus with the fe4hackdocs, even with the menutext.txt. How do you do it? Unless something else happens this should be my last question. Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 (edited) 3 hours ago, Anseraphel/RCFD said: I managed to edit texts in english now, but I can't how to edit menus with the fe4hackdocs, even with the menutext.txt. How do you do it? Unless something else happens this should be my last question. search for what symbols you need to change and then change them in the hex editor, simple as that each symbol in menu text is 2 bytes, and you end a string with 00 00. don't worry, you'll get the hang of it the 'name pointer' modules in my nightmare pack are a reference tool you can use and will probably need in order to rework the various names. windows's calculator in programmer mode allows you to use hexadecimal math, which will be useful in utilizing pointers (you might need to redownload my pack since I double checked to make sure I had certain fixes) for example... sigurd, as you can see in the Character Editor, has 00 for his name number. that's what name he uses open up the Char Name Pointer Editor and take a look at the entry for 00 take the 'base' hex address listed in the nightmare module's name, and add it to the hex for name #00 (and don't forget to reverse the bytes for the name pointer before inputting it into the calculator) once you have the result, go to that address in a hex editor. sigurd's name will be there, at $3A0CD Edited August 26, 2017 by Lamia Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 2 hours ago, Lamia said: sigurd, as you can see in the Character Editor, has 00 for his name number. that's what name he uses open up the Char Name Pointer Editor and take a look at the entry for 00 take the 'base' hex address listed in the nightmare module's name, and add it to the hex for name #00 (and don't forget to reverse the bytes for the name pointer before inputting it into the calculator) once you have the result, go to that address in a hex editor. sigurd's name will be there, at $3A0CD I am sorry but I don't know what to do for the third step. I looked at the entry for 00 on Nightmare (the 74 04) but then I don't understand what to do. http://imgur.com/ezQup7f Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 2 hours ago, Anseraphel/RCFD said: I am sorry but I don't know what to do for the third step. I looked at the entry for 00 on Nightmare (the 74 04) but then I don't understand what to do. http://imgur.com/ezQup7f 4 hours ago, Lamia said: (you might need to redownload my pack since I double checked to make sure I had certain fixes) Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 5 hours ago, Lamia said: (you might need to redownload my pack since I double checked to make sure I had certain fixes) I redownloaded it but it still has the same values as the module I used before. What I meant is that I didn't understand what I had to do for the third step. Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 1 minute ago, Anseraphel/RCFD said: I redownloaded it but it still has the same values as the module I used before. What I meant is that I didn't understand what I had to do for the third step. the module's name has a 'base' shown which is the reference point for the pointers Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 5 minutes ago, Lamia said: the module's name has a 'base' shown which is the reference point for the pointers Alright, and what do I do with this 'base'? It is that part that I don't understand. Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 (edited) 1 minute ago, Anseraphel/RCFD said: Alright, and what do I do with this 'base'? It is that part that I don't understand. 39C59 + 474 = name address for entry 00 (sigurd) Edited August 26, 2017 by Lamia Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 1 minute ago, Lamia said: 39C59 + 474 = name address for entry 00 (sigurd) Sorry for my cluelessness, but how do I get 39C59+474? Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 1 minute ago, Anseraphel/RCFD said: Sorry for my cluelessness, but how do I get 39C59+474? 5 hours ago, Lamia said: take the 'base' hex address listed in the nightmare module's name, and add it to the hex for name #00 (and don't forget to reverse the bytes for the name pointer before inputting it into the calculator) Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 5 hours ago, Lamia said: take the 'base' hex address listed in the nightmare module's name, and add it to the hex for name #00 (and don't forget to reverse the bytes for the name pointer before inputting it into the calculator) What I don't understand is the "add it to the hex for name #00 (and don't forget to reverse the bytes for the name pointer before inputting it into the calculator)" part, how do I do it? Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 (edited) 1 minute ago, Anseraphel/RCFD said: What I don't understand is the "add it to the hex for name #00 (and don't forget to reverse the bytes for the name pointer before inputting it into the calculator)" part, how do I do it? 5 hours ago, Lamia said: windows's calculator in programmer mode allows you to use hexadecimal math, which will be useful in utilizing pointers please read my posts Edited August 26, 2017 by Lamia Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 3 minutes ago, Lamia said: please read my posts I did, the problem is that I can't find how to pass from 7404 to 39C59+474. Quote Link to comment Share on other sites More sharing options...
Lamia Posted August 26, 2017 Share Posted August 26, 2017 I said that the bytes needed to be reversed, numbers count upward, not backward, but programming generally reads numbers from right to left 74 04 = 0474 Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 26, 2017 Author Share Posted August 26, 2017 17 minutes ago, Lamia said: I said that the bytes needed to be reversed, numbers count upward, not backward, but programming generally reads numbers from right to left 74 04 = 0474 Alright, but where does the 39C59 come from? I searched in the files and read your posts but didn't understand where it came from. Quote Link to comment Share on other sites More sharing options...
Kirb1337 Posted August 26, 2017 Share Posted August 26, 2017 3 hours ago, Anseraphel/RCFD said: Alright, but where does the 39C59 come from? I searched in the files and read your posts but didn't understand where it came from. (base $39C59) So um is forgetting stuff your special technique or what if yes let me explain everything to you in 1 post 1: open that module 2: get the id of the name you want to edit 3: reverse the byte on that value(for example, 74 04 = 0x0474) 4: add that to the base value(base $39C59) = $39C59 + $474 = $3a0cd = the offset of your text Quote Link to comment Share on other sites More sharing options...
Anseraphel/RCFD Posted August 27, 2017 Author Share Posted August 27, 2017 Alright thanks. However I still have a problem: even with the easy text patch the menus are in Japanese, and thus I don't know how to edit them to English. I am pretty sure it iss obvious but I can't find how to do it. Quote Link to comment Share on other sites More sharing options...
TIN(TheInnocentNerd) Posted February 16, 2018 Share Posted February 16, 2018 I've done everything here and it all seemed to work but than i boot up the game in my emulator and nothing has changed and i cant figure out why 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.