PDA

View Full Version : [Other] Hex Editing the Intro of Fire Red


BlitŻ
August 3rd, 2009, 05:46 PM
Introduction...
Hello, my name is Fan King, some might know me personally here on Pokecommunity, while other have seen my hack, my posts, and maybe none of you have heard of me XD.

Well today I decided to write a tutorial on how to manually edit the intro to a hack. AKA the part where it tells you about the adventure you going to take, blah, blah,blah. You know, the part with the little pikachu hovering at the top right corner of the screen.
http://i591.photobucket.com/albums/ss357/jebees/picture1.pngyeah that's the one

well, today i'm going to show how to change it from that to this

http://i591.photobucket.com/albums/ss357/jebees/picture2.png for my hack,don't steal in any way or i'll find you o.o
p.s. check it out in the progressing hacks XD

how you do it...
so how exactly do you change this text? well you need 3 things

~a hex editor( I use Hex workshop, type it in google, and download it from the site)
~the table file, (check the attachments)
~maybe a notepad and pen
~ a whole lot of time,patience,and brains(for the zombies XD)
~VBA

so now you have your table file, your hex editor. You want to open up your rom in VBA and go to the intro thing( do i have to explain it again? XD)

http://i591.photobucket.com/albums/ss357/jebees/picture1.png

so now with your table file, translate the first couple of words into what the table file says.

In the world

equals

C3E200E8DCD900EBE3E6E0D8

so copy that and search it in your hex editor,(if your using hex workshop, just press ctrl+F and then go to type under hex values). So did you get it? if you didn't, then something is very wrong O.O

so now that you found it what message do you want to put in? how about brains. brains is a good idea, then you would translate brains

brains= D6E6D5DDCD

So then you would type that in then save it. now open your rom and go to the intro and you should see this

http://i591.photobucket.com/albums/ss357/jebees/picture3.png

see, now you can do it!

adding more than just "brains"...

so now you can put a word in there, but now you want more than a word. You want a whole page of it, so now just scroll down to the bottom of the table file and you should see this

FA=\l
FB=\p
FC=\c
FD=\v
FE=\n
FF=\x

is you know about scripting, then you know what these do, it's just like scripting a simle message box. so when you get to then end of the box on the screen, use FE to go down a line. so if i add FE right after brains it would look like this

http://i591.photobucket.com/albums/ss357/jebees/picture4.png
so with the knowledge i told you, put what you want in the box


the 2nd and 3rd page...
now you have one page complete, your ready to move on, so you scroll down in your hex editor and you see a bunch of FF's, so your stumped. But all you need to do is translate the first couple of words, search them in your hex editor and repeat the above process. do that also with the third page

FAQ
Q: I searched the translated text in the hex editor, and it said it wasn't found!
A: Either you made a problem in translating, typing it out, or are searching for the wrong. Or maybe you put too long of a search text in the box.

Q: I found the letters in the hex editor and changed them, but when I ran the rom, the text wasn't changed!
A: Your search came up with another result that wasn't the data you need. translate a couple more words, then search it again.

Please criticize my method with constructive criticism. Also if there's anything you find that has a problem with you, PM me.

Credit to hackmew for getting me the table file

Matteron (96)
August 4th, 2009, 12:29 AM
Wouldn't it be easier just using A-text...oh wait for some people it doesn't work...Well, I won't be using this method, because I find it easier with A-text, but I guess this could be useful because the way you put makes it seem simple...Actually I might use this...

BlitŻ
August 4th, 2009, 06:09 AM
Wouldn't it be easier just using A-text...oh wait for some people it doesn't work...Well, I won't be using this method, because I find it easier with A-text, but I guess this could be useful because the way you put makes it seem simple...Actually I might use this...

Yeah, thats why i posted the tut, some have problems. but i didnt know you could edit this part with a text, maybe im blind XD

payas0
August 4th, 2009, 06:57 AM
i like it ..
i reall preffer hex in hacking ..
hex is so flexible ..
thanks ..

Matteron (96)
August 4th, 2009, 11:42 AM
Yeah, thats why i posted the tut, some have problems. but i didnt know you could edit this part with a text, maybe im blind XD
Ya you have to search for the text...

Aljam
August 4th, 2009, 01:24 PM
I tried searching for the text in A-text and it didn't work. I could only get the controls text. So your theory doesn't work for everybody, Mattero (96).

BlitŻ
August 4th, 2009, 01:45 PM
Ya you have to search for the text...

well, obviously that didn't work

I tried searching for the text in A-text and it didn't work. I could only get the controls text. So your theory doesn't work for everybody, Mattero (96).

That my problem too, so that why I made up this method, and this can also work for any text in the rom, so just search and edit it, its that easy

sky_queen3
August 5th, 2009, 11:25 PM
C3E200E8DCD900EBE3E6E0D8 is just coming up as ......

What'd I do wrong?

0m3GA ARS3NAL
August 6th, 2009, 01:53 AM
Hey! Great to see someone finally getting to this subject!
I gotta hand it to ya, you have made a pretty nice little tutorial here.
I only have one big suggestion.
You should change the .doc file to a .txt, since not everyone can open up .doc files.
(Like if someone does not have Microsoft word, or can't install it because of paranoid parents.)

I have taken the liberty of doing this for you.

48559

There we go, I prefer .txt files, and so do some people, I'm just helping out.

BlitŻ
August 6th, 2009, 07:11 AM
C3E200E8DCD900EBE3E6E0D8 is just coming up as ......

What'd I do wrong?

nothing's wrong, I don't know what those symbols mean, probably some code. Just search translated letters and replace what you want.

Hey! Great to see someone finally getting to this subject!
I gotta hand it to ya, you have made a pretty nice little tutorial here.
I only have one big suggestion.
You should change the .doc file to a .txt, since not everyone can open up .doc files.
(Like if someone does not have Microsoft word, or can't install it because of paranoid parents.)

I have taken the liberty of doing this for you.

48559

There we go, I prefer .txt files, and so do some people, I'm just helping out.

Thanks for this, Now if you don't mind, I'm gonna update the attachments with this file

mat1554
August 6th, 2009, 03:34 PM
Hi,
I have a question for you, do you give me autorization to translate your tutorial in french for my forum please ? I you want, can you answer me by MP please.

Thank you !
Mat1554

pukemon09
August 7th, 2009, 11:00 PM
I will try this sir thanks for sharing your ideas

BlitŻ
October 22nd, 2009, 05:33 PM
Wouldn't it be easier just using A-text...oh wait for some people it doesn't work...Well, I won't be using this method, because I find it easier with A-text, but I guess this could be useful because the way you put makes it seem simple...Actually I might use this...

Yeah, thats why i posted the tut, some have problems. but i didnt know you could edit this part with a text, maybe im blind XD

Hm, there is a way to edit this text without doing this method.

Like Matteron (96) said, there is a way to do it with Advance-Text.

- Open Advance Text
- Click the Magnifying Glass with the word Search next to it.
- Then, search for 'In the world you are about to'

Now, you should see the whole text! continue with..

- Now click 'Write to INI'
- Write a new Section (For Example, I will write a new one called 'Before Intro')


- Now write the 'Text Name' (Um, I wrote this as 'intro 1')
- Now click 'Add to INI' and close it.

If you made a new section name, it should be all the way at the bottom.
After the 'Start Menu'..
You can also do this to the (L + R) Help Section thing..

Ok, that's about all! :]

NOTE: CREATE A BACKUP BEFORE DOING THIS!!

Okay...*akward silence*, and you posted this because? I quoted above that maybe for some people it doesn't work, as there is always the bunch of people that things may not work for them, so then what do they do? And if this was a tutorial for advance text, then you would use advance text, so please delete your post.

jrroo
October 22nd, 2009, 11:23 PM
Hmkay, sorry about that..
I'm really sorry ><"

I didn't read it properly.. I'm very very sorry!!

Nash Bandicoot
October 24th, 2009, 02:28 PM
I have never used Hex workshop before so i don't really know what I am doing. do you open up VBA or fire red/leaf green in Hex workshop? PLZ HELP!

BlitŻ
October 29th, 2009, 04:40 PM
I have never used Hex workshop before so i don't really know what I am doing. do you open up VBA or fire red/leaf green in Hex workshop? PLZ HELP!

Yeah, it as simple as opening anything else, just file-open, your rom. then just go Ctrl+F to open up the search function and copy+paste what you want searched.

Maxzeroedge
October 29th, 2009, 09:58 PM
I have never used Hex workshop before so i don't really know what I am doing. do you open up VBA or fire red/leaf green in Hex workshop? PLZ HELP!

Open the ROM (Firered/leafgreen) in Hex workshop as that's what u wanna edit not VBA :D

herbeon
November 10th, 2009, 11:06 PM
Great tutorial! By the way, do you have the table file for Emerald? I want to try on Emerald.

Aljam
November 11th, 2009, 04:23 AM
hmm might actually do this sometime soon (like as I said befor A-text sometimes doesn't work with the intro)

BlitŻ
November 11th, 2009, 05:24 AM
Great tutorial! By the way, do you have the table file for Emerald? I want to try on Emerald.

Hmm, I'm sure there is one. I'll do a little google searching and edit this post when I find it.

Chevalier
November 11th, 2009, 03:47 PM
Ah! Finally.

I'm sure there were other tuts beforehand but I was waiting for a recent tut to be made.

Easy to read and helpful, thanks.

colcolstyles
November 14th, 2009, 05:49 PM
Instead of wasting your time translating each individual character into hexadecimal, why not do this:
1. Get an actual table file (not just a .txt document with a hex value next to corresponding character) like this one (http://www.pokecommunity.com/attachment.php?attachmentid=51069&stc=1&d=1258249700) (credit: thethethethe for the values, me for wasting my time making it in WindHex so y'all don't have to)
2. Load the ROM and the table file in a hex editor
3. Do a text search (not a hex search!) for the text
4. Edit in "Text Edit Mode", or the equivalent in whatever hex editor you're using

With this method, you can just type your text straight up. Of course, you'll still have to insert line breaks and the like yourself but it sure beats your method :\

BlitŻ
November 14th, 2009, 08:27 PM
Instead of wasting your time translating each individual character into hexadecimal, why not do this:
1. Get an actual table file (not just a .txt document with a hex value next to corresponding character) like this one (http://www.pokecommunity.com/attachment.php?attachmentid=51069&stc=1&d=1258249700) (credit: thethethethe for the values, me for wasting my time making it in WindHex so y'all don't have to)
2. Load the ROM and the table file in a hex editor
3. Do a text search (not a hex search!) for the text
4. Edit in "Text Edit Mode", or the equivalent in whatever hex editor you're using

With this method, you can just type your text straight up. Of course, you'll still have to insert line breaks and the like yourself but it sure beats your method :\


Ohh, thanks colcolstyles! I know my methods aren't the best or the most efficient, but there just the ways I thought up :P. So, everybody looking for another alternative, use colcolstyles method xD

lavenderbolt
November 24th, 2009, 06:34 AM
Hmm, I'm sure there is one. I'll do a little google searching and edit this post when I find it.
well, you don't have to search anymore, that table.tbl of Colcostyles is usable for Emerald, i had made the file and then found that there has already been one available hm... :(
(http://www.pokecommunity.com/member.php?u=91213)

novluis323
January 28th, 2010, 04:34 PM
Instead of wasting your time translating each individual character into hexadecimal, why not do this:
1. Get an actual table file (not just a .txt document with a hex value next to corresponding character) like this one (http://www.pokecommunity.com/attachment.php?attachmentid=51069&stc=1&d=1258249700) (credit: thethethethe for the values, me for wasting my time making it in WindHex so y'all don't have to)
2. Load the ROM and the table file in a hex editor
3. Do a text search (not a hex search!) for the text
4. Edit in "Text Edit Mode", or the equivalent in whatever hex editor you're using

With this method, you can just type your text straight up. Of course, you'll still have to insert line breaks and the like yourself but it sure beats your method :\
okay well i opened the hex editor i'm using hex workshop and i have the table file what im not getting how to do is the text search when i go to find i make sure to set it to find text strings then i type what im looking for but it only says it doesnt find anything i also didnt understand what u meant by text edit mode

Tomato Cat
February 24th, 2010, 10:26 PM
If anyone could help me: I'm having trouble editing my third page. Instead of showing the text I input in hex, it shows the last word of the second to last line and the full last line of the second page.

Does anyone know what's causing this problem?

PeregrineFig
March 5th, 2010, 03:34 PM
I'm having an annoying issue with hex editing anything. I attempted to edit the intro of FireRed using the original method in the first post. I found the old text, highlighted it all and deleted it, then translated my new text into the hex code on notepad, copied it, and used Paste special, picked CF_TEXT, and checked interpret as hexadecimal string. Everything looked right, so I saved and opened my ROM. I got nothing but a white screen, nothing would load. I backed up my ROM and tried again, same result. Eventually that hack got scrapped because I made a blunder and broke some important stuff, but anyway, I tried editing Birch's intro in Emerald for a new hack. I only changed 2 words, but I used the same method of deleting and pasting. Again, blank white screen. This is incredibly frustrating, am I doing something wrong with my method of hex insertion? I'd really like to know how to fix this. If anyone will help me out here, then thank you.

Edit: After experimentation I'm convinced I'm just doing something wrong here. I tested this again and just replaced a single character, and instead of deleting/pasting, I typed the new hex value over the old one, and everything worked fine. My new issue is, how can I add a character? If the new hex I enter in has the same amount of characters as the old, it runs properly. But if it has more or less, it just breaks my ROM.

BlitŻ
March 5th, 2010, 06:29 PM
I'm having an annoying issue with hex editing anything. I attempted to edit the intro of FireRed using the original method in the first post. I found the old text, highlighted it all and deleted it, then translated my new text into the hex code on notepad, copied it, and used Paste special, picked CF_TEXT, and checked interpret as hexadecimal string. Everything looked right, so I saved and opened my ROM. I got nothing but a white screen, nothing would load. I backed up my ROM and tried again, same result. Eventually that hack got scrapped because I made a blunder and broke some important stuff, but anyway, I tried editing Birch's intro in Emerald for a new hack. I only changed 2 words, but I used the same method of deleting and pasting. Again, blank white screen. This is incredibly frustrating, am I doing something wrong with my method of hex insertion? I'd really like to know how to fix this. If anyone will help me out here, then thank you.

Edit: After experimentation I'm convinced I'm just doing something wrong here. I tested this again and just replaced a single character, and instead of deleting/pasting, I typed the new hex value over the old one, and everything worked fine. My new issue is, how can I add a character? If the new hex I enter in has the same amount of characters as the old, it runs properly. But if it has more or less, it just breaks my ROM.

Your new text has too acommodate to the number of bytes that it allows. Let's say one page let's you use ten bytes, using the table file, you can have 10 of any character of command (\n,\l,\p). Your pasting/deleting method destroys your rom :P. You basically write over the previous bytes.

If anyone could help me: I'm having trouble editing my third page. Instead of showing the text I input in hex, it shows the last word of the second to last line and the full last line of the second page.

Does anyone know what's causing this problem?

I'm confused by your description of error, please provide screeny's xD

bilzandpap
February 23rd, 2011, 04:05 PM
This is pretty cool.

The table file is hard to browse, you might want to consider maybe organizing it a bit.

eg.

CAPITAL LETTERS:

A=BB B=BC C=BD
D=BE E=BF F=CO

etc....

Glitched Hacker
April 7th, 2012, 05:59 PM
Instead of wasting your time translating each individual character into hexadecimal, why not do this:
1. Get an actual table file (not just a .txt document with a hex value next to corresponding character) like this one (credit: thethethethe for the values, me for wasting my time making it in WindHex so y'all don't have to)
2. Load the ROM and the table file in a hex editor
3. Do a text search (not a hex search!) for the text
4. Edit in "Text Edit Mode", or the equivalent in whatever hex editor you're using

With this method, you can just type your text straight up. Of course, you'll still have to insert line breaks and the like yourself but it sure beats your method :\


colcolstyles, what do you mean by "text edit mode"?
I would like to use this easier method, but I'm using Hex Workshop and I searched high and low for "text edit mode" and can't find it. Can someone please help me on this?