News: 11 March 2016 - Forum Rules

Author Topic: Relative searching  (Read 5351 times)

Tino

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Relative searching
« on: March 21, 2011, 10:41:52 am »
So I decided to get into ROM hacking a bit. At least, to see if I like it (I'm a pretty good web developer, but this is something quite different!). So far I'm enjoying it quite a lot. There's a lot of tedious things to do, but it's fun. Even just my first little graphical 'hack' was pretty satisfying, since I think I'm off to a pretty good start. :)

Anyway, that's not the point of this topic.

So I started reading up on tables. I grab the concept, but I'm having some issues with the software. For one, as far as I can tell, Relative Search 2 is a great program to use. Unfortunately, that doesn't run on my 64-bit Windows 7 machine. So I used a different program called Monkey Moore. It works just fine, it just doesn't give the starting value of the numbers. I use it in conjunction with Tabler to create the tables automatically. For some reason, tabler often gives me value errors. Also, I can't seem to figure out how to get the starting point of the numbers (since none of the relative search programs I've used so far seem to support that, while apparently Relative Search 2 did support that). Or is that as easy as simply as adding 1A to the starting point of the lowercase letters? So if a would be 5B, that 0 would be 75?

Any help would be kindly appreciated! :)
There are 10 people who understand binary: those who do and those who don't.

The below statement is false.
The above statement is true.

Rolen47

  • Full Member
  • ***
  • Posts: 128
    • View Profile
Re: Relative searching
« Reply #1 on: March 21, 2011, 11:30:35 am »
It depends on how the game developer chose to arrange his table/font.

For example, Street Fighter 2010:


Code: [Select]
00=0
01=1
02=2
03=3
04=4
05=5
06=6
07=7
08=8
09=9
0A=A
0B=B
0C=C
...
In Street Fighter 2010 it's numbers first, then letters.

Another example, Super Dodge Ball:


Code: [Select]
A0=A
A1=B
A2=C
...
B6=W
B7=X
B8=Y
B9=Z
BA=0
BB=1
BC=2
BD=3
BE=4
BF=5
C0=6
C1=7
C2=8
C3=9
...
In Super Dodge Ball it's letters first, then numbers.


Last example, Stealth:


Code: [Select]
30=0
31=1
32=2
33=3
34=4
35=5
36=6
37=7
38=8
39=9
41=A
42=B
43=C
...
In Stealth it's numbers first, then some border tiles, then a space, then letters.


Finding the hex values for the numbers can sometimes be tricky, but you can use trial and error by gradually changing the hex value of a known word/letter in the game and seeing what it changes to.
« Last Edit: March 21, 2011, 11:50:41 am by Rolen47 »

Tino

  • Jr. Member
  • **
  • Posts: 4
    • View Profile
Re: Relative searching
« Reply #2 on: March 21, 2011, 02:27:22 pm »
That's actually a pretty useful post. Thanks!
There are 10 people who understand binary: those who do and those who don't.

The below statement is false.
The above statement is true.