The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Changing the rival name suggestions?

Notices
For all updates, view the main page.

Binary ROM Hacking Need a helping hand or just want to talk about binary ROM hacks? Get comments and answers to any ROM Hacking-related problems, questions or thoughts you have here.

Ad Content
Reply
 
Thread Tools
  #1   Link to this post, but load the entire thread.  
Old June 22nd, 2014 (11:39 AM).
PokéMew's Avatar
PokéMew PokéMew is offline
Pokémon Fuchsia
 
Join Date: Sep 2013
Location: Refresh
Gender: Male
Nature: Modest
Posts: 484
In FireRed, how to you change the 4 name suggestions they give you for the rival in the intro? The part where they say:

This is your rival. You've known each other since you were babies. Erm, what was his name again?

New Name
Green
Gary
Kaz
Toru

Those four name suggestions under new name, how to you change them?
Thank You!
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old June 22nd, 2014 (12:37 PM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
If you have a hex editor you can go right in and change the names manually! You'll need a program like HxD and a table list to translate hex to alphabet.

Have a look on google :) once you've translated the names to hex you can 'find' them in the ROM and replace the bytes.
__________________
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old June 22nd, 2014 (5:29 PM).
PokéMew's Avatar
PokéMew PokéMew is offline
Pokémon Fuchsia
 
Join Date: Sep 2013
Location: Refresh
Gender: Male
Nature: Modest
Posts: 484
I have this hex-alphabet translation chart:

A = bb
B = bc
C = bd
D = be
E = bf
F = c0
G = c1
H = c2
I = c3
J = c4
K = c5
L = c6
M = c7
N = c8
O = c9
P = ca
Q = cb
R = cc
S = cd
T = ce
U = cf
V = d0
W = d1
X = d2
Y = d3
Z = d4

On HxD What I did was, for example, if I was looking for the name "kaz" (which is one of the rival suggestions they give you in the intro), I would go to ctrl f and type in "c5 bb d4" which spells kaz. It says no results... Then I looked at the very first code at the top of the page which was 7F 00 00 and so forth. I typed that to make sure the ctrl f was working but it said there was nothing. What am I doing wrong?
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old June 22nd, 2014 (10:05 PM).
Mana's Avatar
Mana Mana is offline
 
Join Date: Jan 2009
Location: UK
Age: 31
Gender: Male
Posts: 10,075
Is the name KAZ or Kaz? As lowercase letters have a separate code.
__________________
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old June 23rd, 2014 (4:38 AM).
PokéMew's Avatar
PokéMew PokéMew is offline
Pokémon Fuchsia
 
Join Date: Sep 2013
Location: Refresh
Gender: Male
Nature: Modest
Posts: 484
It is spelled KAZ with capital letters. Plus the other 3 names they give you are caps as well.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old June 23rd, 2014 (4:56 AM).
PokéMew's Avatar
PokéMew PokéMew is offline
Pokémon Fuchsia
 
Join Date: Sep 2013
Location: Refresh
Gender: Male
Nature: Modest
Posts: 484
What does it mean when there's a code in parenthesis and equals one without parenthesis?
Quote:
Originally Posted by knizz View Post
For FireRed:
If you want to skip the intro: [0x080EC5D0]=0x08078915.
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old June 23rd, 2014 (5:23 AM). Edited June 23rd, 2014 by Elaitenstile.
Elaitenstile's Avatar
Elaitenstile Elaitenstile is offline
I am legend
 
Join Date: Feb 2013
Posts: 1,908
Whoops disregard my earlier post, I took the wrong resource, sorry...

If you have Advance Text, you can search for the text in the search text option and find the names you want (Kaz, Toru). There it would show the offset of the text it's stored in.

That offset is where said text is stored.

EDIT : KAZ is stored at 0x1C5771. TORU is stored a few bytes later at 0x1C5775. Likewise, you can find other namelists stored there.
__________________
~
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old June 23rd, 2014 (6:37 AM).
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
Download a .tbl file, Translhextion, XSE 1.1.1 and HxD (because Translhextion's interface and general usability is awful).

Load your ROM in Translhextion, and then .tbl file in Translhextion (Ctrl + T). Check "Thingy View Active". Do the shortcut Alt + F and enter the text (i.e. the name you want to change, like KAZ) as it appears, exactly. Take note of the offset of the first letter in Notepad.

Close everything and then load your ROM in XSE. Create a script like this:

Code:
#dynamic 0x800000

#org @string1
= Rivalman
Of course, enter whichever string you wish.

Compile it and take note of the offset. Close XSE.

Take the first offset and convert it to a pointer by splitting up the offset into bytes, reversing the order of these bytes, and adding 08 to the end. For example, if the offset was 0x410762:

410762

[41][07][62]

[62][07][41]

[62][07][40] + [08]

62074008 would be your pointer. Convert the new offset for the new string you compiled in XSE to a pointer, too. Take note of this in Notepad.

Load your ROM in HxD. Do the shortcut Ctrl + R. In the first field, enter the first pointer, and in the second, the pointer to your new string. Change "Text string" to "Hex values" and click "Replace all". Save your ROM.

This applies to editing all text in Pokémon ROMs (or other ROMs, too, if you have access to the correct .tbl file).
__________________
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old June 23rd, 2014 (1:16 PM).
PokéMew's Avatar
PokéMew PokéMew is offline
Pokémon Fuchsia
 
Join Date: Sep 2013
Location: Refresh
Gender: Male
Nature: Modest
Posts: 484
Thank you everyone for the help, and I think I know why it isnt searching for anything on ctrl f: It isnt searching for tr actual offsets. Soooooo, how DO you search for offsets on HxD?
Reply With Quote
  #10   Link to this post, but load the entire thread.  
Old June 23rd, 2014 (2:07 PM). Edited January 24th, 2015 by Spherical Ice.
Spherical Ice's Avatar
Spherical Ice Spherical Ice is online now
 
Join Date: Nov 2007
Location: Leicester, UK
Age: 25
Posts: 5,251
If you want to go to an offset, use Ctrl + G. If you want to search for a pointer, use Ctrl + F.
__________________
Reply With Quote
Reply

Quick Reply

Join the conversation!

Create an account to post a reply in this thread, participate in other discussions, and more!

Create a PokéCommunity Account
Ad Content

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

Forum Jump


All times are GMT -8. The time now is 9:09 AM.