The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > ROM Hacking > Tools, Tutorials & Resources
Sign Up Rules/FAQ Live Battle Blogs Mark Forums Read

Notices

Tools, Tutorials & Resources Various tools to help you develop your hacks can be found here.
New threads in this forum are to be approved by a moderator before they are displayed.

Reply
Click here to go to the first staff post in this thread.  
Thread Tools
  #1    
Old March 7th, 2010 (01:01 PM). Edited April 15th, 2010 by hashtag.
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Before reading:
There's an even easier fix that's been brought to my attention. Click the "Special Dialog" box in A-Text when editing the intro dialogue. This should fix any problems. If for some reason it doesn't, proceed to my more complicated solution. :)

I hope at least this thread's existence will make some people's lives a lot easier when it comes to the intro text, though. :)

On with the probably pointless rest of the thread:

This thread is for those who have had the same problem I did when editing the intro text to Fire Red - the whole "In the world which you are about to enter" stuff. If I'm the only one who's had this problem, then just ignore this thread.

Tools Needed
Advance Text
Hex Workshop
XSE (optional, but helpful)

The problem I'm talking about is having Fire Red's intro text dialogue cut off after two lines with that little flat arrow showing up afterward after you've tried to edit the text in Advance-Text. For instance, if I wanted to change the first page of the intro text to:

"Hi, welcome to my hack!
I hope you enjoy playing it, because
it's really really fun!

Don't you think it will be fun to play?
Well, I hope you do!
If you do, please let me know,
because I worked really hard on it!"

I would go into A-Text, search for the original text, "write to INI" and change it like so:



I'd click "Save Text" and that would be that, right? Nope! Because after finding the text and replacing it with what I want, it looks fine in A-Text, but when I start up the game it looks like this:



Pretty frustrating (for me anyway)! So what's the deal? Well, it has to do with the fact that, for whatever reason, the intro text doesn't like to use \l and \p to separate lines of text. It only likes to use \n! Weird, huh?

As you might know, A-Text automatically converts the codes for how we separate the lines. So once \n is used, the next line separation will be \l, because that's the way it does it in game. But it just won't work for the intro text! But don't worry, there's a fairly simple solution using Hex Workshop. But first thing's first. Let's write the text in a way that we can edit it simply in Hex Workshop.

We can leave it basically unchanged except for one small difference. Whenever you would want to start a new paragraph with \p, instead of hitting return/enter twice to go to a new paragraph in A-Text, put a space and hit return once:



^ See how I did it there? This is done to reserve the right amount of space we'll need, since we'll only be using \n for the intro. Thus, instead of having \p separate out paragraphs, we'll have to use /n/n. Got it?

Now that you've saved the text in A-Map the right way, it's time to edit in Hex Workshop. Open up the Rom in Hex Workshop and go to offset 0x1C5A04:



Now this is where the intro text begins, but I highly recommend using XSE's built-in Hex Viewer to find the few #s you need to edit, because it shows you what the numbers mean in english!



^ See, that's much easier to follow. See on the right side where there's a period after a word? That's standing in for the \p or \l or \n. So we find the one we want to edit. In my example, there's a period right after "because" that's marking the line change. If we click on it, XSE tells us the offset where it's located, so we can just navigate to that in Hex Workshop.

Once we find it in Hex Workshop, it's time to change it from \l to \n. All you really need to know for this is that, in Hex:

\n = FE
\l = FA
a space = 00

\p is FB, but if you followed this tut, you won't have that in your text script. So navigate to the # you want to replace in Hex Workshop. For a line space it will say FA. We need to change that to FE, like so:



So now I've just changed the line spacing after the word "because" from \l to \n! So let's test it in the game. We boot up the game and it looks like this:



Success! Another line of text! But now it's time to change the part where we have a paragraph instead of a line break. For paragraphs, we need to have FE twice. This is why I had you put a space and a regular line break before. So the code in Hex Workshop after "really fun!" will be 00 FA. We need to change that to FE FE, like so:



Save and test it in the game, and:



It worked! And so you just follow this process for all the lines breaks until you have this:



And so on with the other two pages of text. This way, with only some minor Hex Workshop editing, you can write your intro dialogue to Fire Red in A-Text and not have to worry about it not showing up! I hope somebody finds this tutorial useful, as I have found this the best and easiest method that I know of to change the intro text properly.
__________________
Reply With Quote
  #2    
Old March 8th, 2010 (03:24 PM).
Team Rocket's Raichu
Bye-Bye!
 
Join Date: Mar 2009
Age: 19
Wow, this seems a little hard, but useful. Thank you.
__________________

I'm a supermod of that forum.

I've left, bye PC.
Reply With Quote
  #3    
Old March 8th, 2010 (04:54 PM).
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Quote:
Originally Posted by Team Rocket's Raichu View Post
Wow, this seems a little hard, but useful. Thank you.
Haha, well there goes the thread title! But this was easier for me than, say, trying to go into Hex Workshop and edit the text letter by letter, which is the only other way I know of to do this.

Also, I might have a tendency to make things sound more complicated than they really are ...
__________________
Reply With Quote
  #4    
Old March 9th, 2010 (12:53 PM).
universalconsole's Avatar
universalconsole
Trainer And Trainee
 
Join Date: Feb 2010
Location: South Lake Tahoe
Age: 24
Gender: Male
Nature: Serious
I wish i wrote this
dang!
thanks alot
really helped
Reply With Quote
  #5    
Old March 9th, 2010 (04:10 PM).
diegoisawesome's Avatar
diegoisawesome
Please understand
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
I'm pretty sure that ticking the 'Special Dialog' box under the text will fix any problems you'd have here.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #6    
Old March 10th, 2010 (06:43 AM).
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Quote:
Originally Posted by diegoisawesome View Post
I'm pretty sure that ticking the 'Special Dialog' box under the text will fix any problems you'd have here.
Oh, well that seemed to make things easier. I wish something in the program explained that ...

This would be a really good solution, though, if that "Special Dialog" box wasn't there!
__________________
Reply With Quote
  #7    
Old March 10th, 2010 (04:12 PM).
diegoisawesome's Avatar
diegoisawesome
Please understand
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by metapod23 View Post
Oh, well that seemed to make things easier. I wish something in the program explained that ...

This would be a really good solution, though, if that "Special Dialog" box wasn't there!
True dat. Even though A-Text as many glitches, it serves well for some editing.
Somebody should make a text editor that is glitch-free and much better to use.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #8    
Old March 10th, 2010 (04:46 PM).
Team Rocket's Raichu
Bye-Bye!
 
Join Date: Mar 2009
Age: 19
Quote:
Originally Posted by diegoisawesome View Post
True dat. Even though A-Text as many glitches, it serves well for some editing.
Somebody should make a text editor that is glitch-free and much better to use.
Let's see if we can get HackMew to do it, or another major tool maker. HackMew could hack A-Text like (s)he did with UNlz.gba.
__________________

I'm a supermod of that forum.

I've left, bye PC.
Reply With Quote
  #9    
Old March 10th, 2010 (04:50 PM).
diegoisawesome's Avatar
diegoisawesome
Please understand
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
Quote:
Originally Posted by Team Rocket's Raichu View Post
Let's see if we can get HackMew to do it, or another major tool maker. HackMew could hack A-Text like he did with UNlz.gba.
[offtopic]HackMew's a boy. XD[/offtopic]
Anyways, maybe he'll do it, but maybe it's just too much of a tool used by lazy hackers to do anything with.
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #10    
Old March 10th, 2010 (05:13 PM).
Team Rocket's Raichu
Bye-Bye!
 
Join Date: Mar 2009
Age: 19
Quote:
Originally Posted by diegoisawesome View Post
[offtopic]HackMew's a boy. XD[/offtopic]
Anyways, maybe he'll do it, but maybe it's just too much of a tool used by lazy hackers to do anything with.
I sent him a PM saying something like this. It is similar not the same though.

Quote:
Originally Posted by Team Rocket's Raichu
HackMew could you make or hack A-Text? A-Text is full of bugs. You may think it is a lazy way out of scripting, but there is somethings you can't make scripts for. Example: The text Oak says at the beginning.

Thank you for your time.
__________________

I'm a supermod of that forum.

I've left, bye PC.
Reply With Quote
  #11    
Old March 10th, 2010 (07:27 PM).
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by Team Rocket's Raichu View Post
HackMew could you make or hack A-Text? A-Text is full of bugs. You may think it is a lazy way out of scripting, but there is somethings you can't make scripts for. Example: The text Oak says at the beginning.

Thank you for your time.
I think that HackMew is already planning a tool that is designed to edit the entire intro. Included in this tool, I assume, will be a way to edit Oak's speech's text.

Quote:
Originally Posted by diegoisawesome View Post
HackMew's a boy. XD
Correction: HackMew is a man.
__________________

Brother of Vrai
Reply With Quote
  #12    
Old March 10th, 2010 (07:31 PM).
diegoisawesome's Avatar
diegoisawesome
Please understand
Community Supporter
 
Join Date: Dec 2007
Location: Goldenrod City, Johto
Age: 17
Gender: Male
Nature: Quirky
headslap

I meant to say that HackMew is male.
And yeah, I'm guessing that A-Intro will have that in, but what about other things?
Ex. text that appears when you faint
__________________


My other resources:
My Website
diegoisawesome's MEGA-HUGE XSE Scripting Tutorial
diegoisawesome's Miscellaneous Finds
The Ruins of Alph Puzzles
Reply With Quote
  #13    
Old March 10th, 2010 (07:49 PM).
colcolstyles's Avatar
colcolstyles
Yours truly
 
Join Date: May 2008
Location: The Bay Area
Gender: Male
Nature: Lonely
Quote:
Originally Posted by diegoisawesome View Post
And yeah, I'm guessing that A-Intro will have that in, but what about other things?
Ex. text that appears when you faint
Get a hex editor and a table file. It'll take you a couple minutes tops if you know what you're doing.
__________________

Brother of Vrai
Reply With Quote
  #14    
Old March 15th, 2010 (04:21 PM).
BLAZEQUAZA's Avatar
BLAZEQUAZA
ONE FIERY BEAST
 
Join Date: Sep 2008
Gender: Male
Nature: Serious
Cool, I'm making a Fire Red Hack and no other TUT's worked
Reply With Quote
  #15    
Old May 9th, 2010 (01:01 PM).
U.Flame's Avatar
U.Flame
Brony Hacker
 
Join Date: Jun 2008
Location: Sapphire City in future Hoenn
Age: 19
Gender: Male
Nature: Jolly
I can`t believe all I had to do was click "Special Dialog". Now I can put the finishing touches on my Mother`s Day hack and release it by the end of the day! Thanks!
__________________
Hacks I'm currently working on:
Pokemon Sapphire Hoenn's Ruin - My own hack, actively making progress.
3rd Gen Multiplayer Project - Research and development, occasionally testing, sometimes with support.
Pokemon Ruby Destiny Broken Timeline - Mapping assigned maps, slow pace at the moment.
Pokemon Cursed/Creepy White - Group project, on hiatus for now with plans to return eventually.

Times I've been ninja'd: 18
Times I've ninja'd people: 3

Quote:
Originally Posted by drarixio View Post
Unbeatable Flame would make a pokemon trainer run outta breath in the anime:
Unbeatable Flame, Flamethrower.
Unbeatable Flame, Sky Uppercut.
Unbeatable Flame, this.
Unbeatable Flame, that.
Un*pant*beatable---Flame, hooollaaa
Un-un-un-un--bea-bee....*Pokemon trainer fainted*
Reply With Quote
  #16    
Old May 9th, 2010 (02:53 PM).
The_Talking_Shellder
Beginning Trainer
 
Join Date: May 2007
Nature: Adamant
Thank you for this! I haven't had any success with other tutorials, but this one worked.
Reply With Quote
  #17    
Old May 24th, 2010 (12:42 PM).
PeregrineFig's Avatar
PeregrineFig
Starting Pokémon Obsidian
 
Join Date: Feb 2010
Location: Michigan, USA
Age: 20
Gender: Male
Nature: Hardy
I found an easy way to do this for people like me that can't run Advance Text. What you do is, take the first, say, three words of the page you're editing and convert it into hex, then search for it in a hex editor, now take the offset that text starts at and invert it, (for example 7530EB would be EB 30 75) and add 08 (so in the previous example you end up with EB 30 75 08), then search that in a hex editor. Now, open your ROM in XSE. Start a dynamic script, but don't put any scripting commands in it, just a text string, like this:

Spoiler:

#dynamic 0x740000
#org @start
= (The text will go here)


Now, don't put in that equal sign, leave the line blank but have your cursor in that line. Use XSE's text adjuster and type out your intro text page, not exceeding 8 lines in length. Now convert and insert it, and go through and change any \p or \l commands to \n, then add \x at the very end. Hit compile, and invert the offset the same way you did earlier. Now back to the hex editor, edit the offset you found after searching earlier to point to your new text. (So, if the old offset was 7530EB and the new is 768954, replace EB 30 75 08 with 54 89 76 08) Save the changes, and boot it up. I did the edit shown in the thumbnail with this method, as my Vista with heavy user account controls won't run A-Text. I hope this helps someone, and metapod, sorry for writing a full tutorial in your tutorial thread
Attached Images
File Type: png introedit.PNG‎ (4.8 KB, 62 views) (Save to Dropbox)
__________________
Current Projects:
POKéMON AQUA SAPPHIRE
POKéMON OBSIDIAN

Reply With Quote
  #18    
Old May 25th, 2010 (06:07 AM).
metapod23's Avatar
metapod23
Hardened Trainer
 
Join Date: Mar 2009
Gender: Male
Nature: Timid
Quote:
Originally Posted by PeregrineFig View Post
I found an easy way to do this for people like me that can't run Advance Text. What you do is, take the first, say, three words of the page you're editing and convert it into hex, then search for it in a hex editor, now take the offset that text starts at and invert it, (for example 7530EB would be EB 30 75) and add 08 (so in the previous example you end up with EB 30 75 08), then search that in a hex editor. Now, open your ROM in XSE. Start a dynamic script, but don't put any scripting commands in it, just a text string, like this:

Spoiler:

#dynamic 0x740000
#org @start
= (The text will go here)


Now, don't put in that equal sign, leave the line blank but have your cursor in that line. Use XSE's text adjuster and type out your intro text page, not exceeding 8 lines in length. Now convert and insert it, and go through and change any \p or \l commands to \n, then add \x at the very end. Hit compile, and invert the offset the same way you did earlier. Now back to the hex editor, edit the offset you found after searching earlier to point to your new text. (So, if the old offset was 7530EB and the new is 768954, replace EB 30 75 08 with 54 89 76 08) Save the changes, and boot it up. I did the edit shown in the thumbnail with this method, as my Vista with heavy user account controls won't run A-Text. I hope this helps someone, and metapod, sorry for writing a full tutorial in your tutorial thread
No prob. Hopefully it will help someone.
__________________
Reply With Quote
  #19    
Old June 2nd, 2010 (08:25 PM).
zZJoennZz's Avatar
zZJoennZz
What da!?
Community Supporter
 
Join Date: Apr 2010
Location: alpha world line
Gender: Male
Nature: Jolly
Send a message via Skype™ to zZJoennZz
This tutorial help me alot.. !
__________________

...mehehehe
Reply With Quote
  #20    
Old June 23rd, 2010 (07:48 AM).
ERROR
 
Join Date: Aug 2009
never wouldve thought of using advance text for editing the intro text
Reply With Quote
  #21    
Old August 15th, 2010 (11:59 AM).
Darkmoonazara's Avatar
Darkmoonazara
Dousuta Sora? Mou Ariga?
 
Join Date: May 2010
Gender: Female
When I use A-text, I can't find that "enter" thing. Do you know why?
__________________


Want to help with my hack? PM me for info.


Please click to help me raise them!
Reply With Quote
  #22    
Old February 23rd, 2013 (07:27 PM).
Kurapika's Avatar
Kurapika
Grudgebearer
 
Join Date: Feb 2013
Location: Lavendar Town - Morocco
Gender: Male
Nature: Naughty
Quote:
Originally Posted by Darkmoonazara View Post
When I use A-text, I can't find that "enter" thing. Do you know why?
You need to double click "Introduction".
__________________
Reply With Quote
  #23    
Old February 23rd, 2013 (08:07 PM).
GoGoJJTech's Avatar
GoGoJJTech
http://GoGoJJTech.com (WIP!)
Community Supporter
 
Join Date: Nov 2012
Location: Earth
Age: 16
Gender: Male
Nature: Quiet
This helps a lot I could relate to this problem thanks for the help.
__________________
Reply With Quote
  #24    
Old May 30th, 2013 (11:51 AM).
Zemekis's Avatar
Zemekis
The Booze Cruise
 
Join Date: Feb 2013
Location: 'Murica
Gender: Male
Hey guys, I've been working on a hack and i'm having trouble editing the intro as well. But not the VERY intro text, I want to cut out the part where you choose between boy/girl. For the purposes of my hack you need to play as male. In metapod23's AshGray, you automatically start as male. How is this done?
Reply With Quote
  #25    
Old June 21st, 2013 (07:25 AM).
TrainerRed009's Avatar
TrainerRed009
Unhatched Egg
 
Join Date: Jun 2013
Gender: Male
Nature: Calm
WoW
Great this is very helpfull.
good job metapod23 i very like yor pokemon ash gray.
__________________
Crovyle will Crush you.
Reply With Quote
Reply
Quick Reply

Sponsored Links
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Minimum Characters Per Post: 25



All times are UTC -8. The time now is 05:44 AM.


Style by Nymphadora, artwork by Sa-Dui.
Like our Facebook Page Follow us on Twitter © 2002 - 2014 The PokéCommunity™, pokecommunity.com.
Pokémon characters and images belong to The Pokémon Company International and Nintendo. This website is in no way affiliated with or endorsed by Nintendo, Creatures, GAMEFREAK, The Pokémon Company or The Pokémon Company International. We just love Pokémon.
All forum styles, their images (unless noted otherwise) and site designs are © 2002 - 2014 The PokéCommunity / PokéCommunity.com.
PokéCommunity™ is a trademark of The PokéCommunity. All rights reserved. Sponsor advertisements do not imply our endorsement of that product or service. User generated content remains the property of its creator.