The PokéCommunity Forums  

Go Back   The PokéCommunity Forums > Fan Games > Binary ROM Hacking
Reload this Page Other Oak Intro Offset

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 November 22nd, 2016 (3:09 PM). Edited November 23rd, 2016 by Matthatter03.
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
I am working on editing my intro text with professor oak in Fire Red with hex, but don't know the offset and don't know how to find it. Does anybody have the offset or know how I can find it?
Reply With Quote
  #2   Link to this post, but load the entire thread.  
Old November 22nd, 2016 (6:20 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Spoiler:
01=À
02=Á
03=Â
04=Ç
05=È
06=É
07=Ê
08=Ë
09=Ì
0B=Î
0C=Ï
0D=Ò
0E=Ó
0F=Ô
10=Œ
11=Ù
12=Ú
13=Û
14=Ñ
15=ß
16=à
17=á
19=ç
1A=è
1B=é
1C=ê
1D=ë
1E=ì
20=î
21=ï
22=ò
23=ó
24=ô
25=œ
26=ù
27=ú
28=û
29=ñ
2A=º
2B=ª
2D=&
2E=+
34=[Lv]
35==
36=;
51=¿
52=¡
53=[pk]
54=[mn]
55=[po]
56=[ké]
57=[bl]
58=[oc]
59=[k]
5A=Í
5B=%
5C=(
5D=)
68=â
6F=í
79=[U]
7A=[D]
7B=[L]
7C=[R]
85=<
86=>
A1=0
A2=1
A3=2
A4=3
A5=4
A6=5
A7=6
A8=7
A9=8
AA=9
AB=!
AC=?
AD=.
AE=-
AF=·
B0=[.]
B1=[""]
B2=""
B3=[']
B4='
B5=[m]
B6=[f]
B7=[$]
B8=,
B9=[x]
BA=/
BB=A
BC=B
BD=C
BE=D
BF=E
C0=F
C1=G
C2=H
C3=I
C4=J
C5=K
C6=L
C7=M
C8=N
C9=O
CA=P
CB=Q
CC=R
CD=S
CE=T
CF=U
D0=V
D1=W
D2=X
D3=Y
D4=Z
D5=a
D6=b
D7=c
D8=d
D9=e
DA=f
DB=g
DC=h
DD=i
DE=j
DF=k
E0=l
E1=m
E2=n
E3=o
E4=p
E5=q
E6=r
E7=s
E8=t
E9=u
EA=v
EB=w
EC=x
ED=y
EE=z
EF=[>]
F0=:
F1=Ä
F2=Ö
F3=Ü
F4=ä
F5=ö
F6=ü
F7=[u]
F8=[d]
F9=[l]

text is uncompressed strings.
so in a hex editor, HELLO would look like C2 BF C6 C6 C9
just edit it. if your text is larger than what was originally defined, you will have to repoint the address to free space in order to expand upon it
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #3   Link to this post, but load the entire thread.  
Old November 22nd, 2016 (7:18 PM).
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
Quote:
Originally Posted by BluRose View Post
Spoiler:
01=À
02=Á
03=Â
04=Ç
05=È
06=É
07=Ê
08=Ë
09=Ì
0B=Î
0C=Ï
0D=Ò
0E=Ó
0F=Ô
10=Œ
11=Ù
12=Ú
13=Û
14=Ñ
15=ß
16=à
17=á
19=ç
1A=è
1B=é
1C=ê
1D=ë
1E=ì
20=î
21=ï
22=ò
23=ó
24=ô
25=œ
26=ù
27=ú
28=û
29=ñ
2A=º
2B=ª
2D=&
2E=+
34=[Lv]
35==
36=;
51=¿
52=¡
53=[pk]
54=[mn]
55=[po]
56=[ké]
57=[bl]
58=[oc]
59=[k]
5A=Í
5B=%
5C=(
5D=)
68=â
6F=í
79=[U]
7A=[D]
7B=[L]
7C=[R]
85=<
86=>
A1=0
A2=1
A3=2
A4=3
A5=4
A6=5
A7=6
A8=7
A9=8
AA=9
AB=!
AC=?
AD=.
AE=-
AF=·
B0=[.]
B1=[""]
B2=""
B3=[']
B4='
B5=[m]
B6=[f]
B7=[$]
B8=,
B9=[x]
BA=/
BB=A
BC=B
BD=C
BE=D
BF=E
C0=F
C1=G
C2=H
C3=I
C4=J
C5=K
C6=L
C7=M
C8=N
C9=O
CA=P
CB=Q
CC=R
CD=S
CE=T
CF=U
D0=V
D1=W
D2=X
D3=Y
D4=Z
D5=a
D6=b
D7=c
D8=d
D9=e
DA=f
DB=g
DC=h
DD=i
DE=j
DF=k
E0=l
E1=m
E2=n
E3=o
E4=p
E5=q
E6=r
E7=s
E8=t
E9=u
EA=v
EB=w
EC=x
ED=y
EE=z
EF=[>]
F0=:
F1=Ä
F2=Ö
F3=Ü
F4=ä
F5=ö
F6=ü
F7=[u]
F8=[d]
F9=[l]

text is uncompressed strings.
so in a hex editor, HELLO would look like C2 BF C6 C6 C9
just edit it. if your text is larger than what was originally defined, you will have to repoint the address to free space in order to expand upon it
Yeah I figured out how to edit the text in hex, but I don't know where to find the correct places to edit, like I don't know how to find the strings for professor oaks intro, so I can't edit it. How do you find certain offsets or strings in a hex editor? But thanks, I do not know much about hex editing in general so what you said is helpful.
Reply With Quote
  #4   Link to this post, but load the entire thread.  
Old November 22nd, 2016 (7:35 PM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by Matthatter03 View Post
Yeah I figured out how to edit the text in hex, but I don't know where to find the correct places to edit, like I don't know how to find the strings for professor oaks intro, so I can't edit it. How do you find certain offsets or strings in a hex editor? But thanks, I do not know much about hex editing in general so what you said is helpful.
Spoiler:
Welcome to the world of POKéMON!
D1 D9 E0 D7 E3 E1 D9 00* E8 E3 00...

* space byte, i think it's 00

so yeah. just search for a bit of text and then you can a.) edit it right there or b.) input the offset into some tool to do it ahaha
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #5   Link to this post, but load the entire thread.  
Old November 22nd, 2016 (8:27 PM).
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
Quote:
Originally Posted by BluRose View Post
Spoiler:
Welcome to the world of POKéMON!
D1 D9 E0 D7 E3 E1 D9 00* E8 E3 00...

* space byte, i think it's 00

so yeah. just search for a bit of text and then you can a.) edit it right there or b.) input the offset into some tool to do it ahaha
I am still a little confused, as you can probably tell, I am quite new to hex editing, and pretty much know nothing, so am still a bit confused. I understand as far that each two bites form into a hexadecimal number or something like that and it represents a letter and it spells out text. What I am confused on is how to find the place to put the numbers in, I see you gave me the string that makes up the Welcome to the world of pokrmon, but I don't know how to search it, I see the search bar but I have tried searching all the numbers and the words and a few others and it always says string not found. So basically what exactly do I search to find Oaks string and what part of the string do I put the hexadecimal numbers to form sentences in order for it to work? Sorry for all the questions, I vaguely see the course of action of how it works, but I can't figure out the specifics of how to get there. Thanks a ton for all your help so far.
Reply With Quote
  #6   Link to this post, but load the entire thread.  
Old November 23rd, 2016 (4:02 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
which hex editor are you using? are you using one?
i personally recommend HxD if you have yet to garner one.
if you are using HxD, what is the search type when you press ctrl + f? if it isn't hex, switch it to that
so, one of your things that you stated you were confused on is where to find the new place for your text. just overwrite the old text :P
in a hex editor, go to the address 1C5C78. what do you find?

hexadecimal info
Spoiler:
a byte is a number from 0-255 (00-FF). It is called hex because that is short for hexadecimal--looking at the roots of the word, we get "hex-" and "deci-" as prefixes. our normal number system, decimal, is base 10 (deci-). hexadecimal is then base 16. counting in hex then goes like 1-9, a, b, c, d, e, f, then 10.
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #7   Link to this post, but load the entire thread.  
Old November 23rd, 2016 (9:31 AM). Edited November 23rd, 2016 by Matthatter03.
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
Quote:
Originally Posted by BluRose View Post
which hex editor are you using? are you using one?
i personally recommend HxD if you have yet to garner one.
if you are using HxD, what is the search type when you press ctrl + f? if it isn't hex, switch it to that
so, one of your things that you stated you were confused on is where to find the new place for your text. just overwrite the old text :P
in a hex editor, go to the address 1C5C78. what do you find?

hexadecimal info
Spoiler:
a byte is a number from 0-255 (00-FF). It is called hex because that is short for hexadecimal--looking at the roots of the word, we get "hex-" and "deci-" as prefixes. our normal number system, decimal, is base 10 (deci-). hexadecimal is then base 16. counting in hex then goes like 1-9, a, b, c, d, e, f, then 10.
Ok I got HxD and switched it to hex. I searched 1C5C78 and it said "Can't find "1C5C78"". I looked for it scrolling, and found the closest numbers as 1C5C70 and 1C5C80 and nothing in-between them.
Reply With Quote
  #8   Link to this post, but load the entire thread.  
Old November 23rd, 2016 (10:52 AM).
BluRose BluRose is offline
blu rass
 
Join Date: Apr 2014
Location: michigan tech
Age: 22
Gender: Male
Nature: Timid
Posts: 812
Quote:
Originally Posted by Matthatter03 View Post
Ok I got HxD and switched it to hex. I searched 1C5C78 and it said "Can't find "1C5C78"". I looked for it scrolling, and found the closest numbers as 1C5C70 and 1C5C80 and nothing in-between them.
1c5c78 is an address. you use ctrl + g to go to addresses.
hxd is formatted like so:
Code:
         00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000
00000010                         XX
00000020                                     ZZ
00000030
00000040             YY
00000050
00000060
the byte at XX would be at address 18; the byte at YY would be at address 44; the byte at ZZ would be at address 2C

so at address 1C5C78:
Code:
         00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
001C5C70                         C2 D9 E0 E0 E3 B8 00 E8 
001C5C80 DC D9 E6 D9 AB FE C1 E0 D5 D8 00 E8 E3 00 E1 D9 
001C5C90 D9 E8 00 ED E3 E9 AB FB D1 D9 E0 D7 E3 E1 D9 00 
001C5CA0 E8 E3 00 E8 DC D9 00 EB E3 E6 E0 D8 00 E3 DA 00 
001C5CB0 CA C9 C5 1B C7 C9 C8 AB FB C7 ED 00 E2 D5 E1 D9 
001C5CC0 00 DD E7 00 C9 BB C5 AD FB CA D9 E3 E4 E0 D9 00 
001C5CD0 D5 DA DA D9 D7 E8 DD E3 E2 D5 E8 D9 E0 ED 00 E6 
001C5CE0 D9 DA D9 E6 00 E8 E3 00 E1 D9 FE D5 E7 00 E8 DC 
001C5CF0 D9 00 CA C9 C5 1B C7 C9 C8 00 CA CC C9 C0 BF CD 
001C5D00 CD C9 CC AD FB FF
what this looks like?
Spoiler:
C2 D9 E0 E0 E3 B8 00 E8 DC D9 E6 D9 AB FE
Hello, there! [new line + init character FE]

C1 E0 D5 D8 00 E8 E3 00 E1 D9 D9 E8 00 ED E3 E9 AB FB
Glad to meet you! [new line character FB]

D1 D9 E0 D7 E3 E1 D9 00 E8 E3 00 E8 DC D9 00 EB E3 E6 E0 D8 00 E3 DA 00 CA C9 C5 1B C7 C9 C8 AB FB
Welcome to the world of POKéMON! [new line character FB]

C7 ED 00 E2 D5 E1 D9 00 DD E7 00 C9 BB C5 AD FB
My name is OAK. [new line character FB]

CA D9 E3 E4 E0 D9 00 D5 DA DA D9 D7 E8 DD E3 E2 D5 E8 D9 E0 ED 00 E6 D9 DA D9 E6 00 E8 E3 00 E1 D9 FE
People affectionately refer to me [new line character FB]

D5 E7 00 E8 DC D9 00 CA C9 C5 1B C7 C9 C8 00 CA CC C9 C0 BF CD CD C9 CC AD FB FF
as the POKéMON PROFESSOR. [new line character FB] [terminating character FF]

to get your new text in there? just replace the hex values with what you want to be in there~ have fun man!
to make this easier you can download some tool like text hex convert or even use xse's compiling function. notice that each line has a max character limit of like average 34-35 letters
__________________
heyo check out my github:

BluRosie
highlights:
battle engine for heartgold
various feature branches in heart gold (fairy type, odd egg, mud slopes)

i'm a big part of the development team of pokemon firegold! all the code that i develop for that hack is also on my github

also on discord: BluRose#0412
Reply With Quote
  #9   Link to this post, but load the entire thread.  
Old November 23rd, 2016 (12:51 PM).
Matthatter03 Matthatter03 is offline
 
Join Date: Dec 2015
Gender: Male
Posts: 71
Quote:
Originally Posted by BluRose View Post
1c5c78 is an address. you use ctrl + g to go to addresses.
hxd is formatted like so:
Code:
         00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
00000000
00000010                         XX
00000020                                     ZZ
00000030
00000040             YY
00000050
00000060
the byte at XX would be at address 18; the byte at YY would be at address 44; the byte at ZZ would be at address 2C

so at address 1C5C78:
Code:
         00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F
001C5C70                         C2 D9 E0 E0 E3 B8 00 E8 
001C5C80 DC D9 E6 D9 AB FE C1 E0 D5 D8 00 E8 E3 00 E1 D9 
001C5C90 D9 E8 00 ED E3 E9 AB FB D1 D9 E0 D7 E3 E1 D9 00 
001C5CA0 E8 E3 00 E8 DC D9 00 EB E3 E6 E0 D8 00 E3 DA 00 
001C5CB0 CA C9 C5 1B C7 C9 C8 AB FB C7 ED 00 E2 D5 E1 D9 
001C5CC0 00 DD E7 00 C9 BB C5 AD FB CA D9 E3 E4 E0 D9 00 
001C5CD0 D5 DA DA D9 D7 E8 DD E3 E2 D5 E8 D9 E0 ED 00 E6 
001C5CE0 D9 DA D9 E6 00 E8 E3 00 E1 D9 FE D5 E7 00 E8 DC 
001C5CF0 D9 00 CA C9 C5 1B C7 C9 C8 00 CA CC C9 C0 BF CD 
001C5D00 CD C9 CC AD FB FF
what this looks like?
Spoiler:
C2 D9 E0 E0 E3 B8 00 E8 DC D9 E6 D9 AB FE
Hello, there! [new line + init character FE]

C1 E0 D5 D8 00 E8 E3 00 E1 D9 D9 E8 00 ED E3 E9 AB FB
Glad to meet you! [new line character FB]

D1 D9 E0 D7 E3 E1 D9 00 E8 E3 00 E8 DC D9 00 EB E3 E6 E0 D8 00 E3 DA 00 CA C9 C5 1B C7 C9 C8 AB FB
Welcome to the world of POKéMON! [new line character FB]

C7 ED 00 E2 D5 E1 D9 00 DD E7 00 C9 BB C5 AD FB
My name is OAK. [new line character FB]

CA D9 E3 E4 E0 D9 00 D5 DA DA D9 D7 E8 DD E3 E2 D5 E8 D9 E0 ED 00 E6 D9 DA D9 E6 00 E8 E3 00 E1 D9 FE
People affectionately refer to me [new line character FB]

D5 E7 00 E8 DC D9 00 CA C9 C5 1B C7 C9 C8 00 CA CC C9 C0 BF CD CD C9 CC AD FB FF
as the POKéMON PROFESSOR. [new line character FB] [terminating character FF]

to get your new text in there? just replace the hex values with what you want to be in there~ have fun man!
to make this easier you can download some tool like text hex convert or even use xse's compiling function. notice that each line has a max character limit of like average 34-35 letters
Ok I understand now, thanks so much, this is seriously helpful, you are awesome.
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:22 AM.