Post by Deleted on Jan 10, 2009 11:28:19 GMT -5
Today I am going to teach you how to find data in a compressed ROM, in other words, any ROM other than the Debug ROM.
Requirements:
Any Zelda ROM other than the Debug ROM.
A Hex Editor
UoT*
Zelda Resource Extractor* (Comes with UoT)
Pen and Paper/Notepad
*Only needed if you're finding something other than a Map/Scene.
I will be using Majora's Mask (U) as an example.
Step 1 - Finding a file you want to find in the ROM.
Maps/Scenes:
First, go here:
www.64.vg/wiki/index.php?title=Zelda_64_Scene_Listings
And write down the offsets of the Map/Scene you want to find.*
These are its uncompressed offsets.
*if you are using OoT v1.0 (U), write down the compressed offsets, and go straight to step 3.
Other Data
Extract the ROM you are using, with ZRE.
Open the files in UoT until you find one you want to find in the ROM.
Write down the name of the file, this is its uncompressed offset in the ROM.
Step 2 - Finding the compressed offset in the ROM.
Go to
Search > Find...
And type in the uncompressed offset of your data.
Do not try to go to the uncompressed offset, as in most cases it doesn't even exist, and it will not be what you are looking for if it does.
You should get results from your search that look like:
xx xx xx xx : yy yy yy yy | aa aa aa aa : bb bb bb bb
Where
xx xx xx xx : yy yy yy yy
Is the uncompressed start and end offsets of the data.
And
aa aa aa aa : bb bb bb bb
Is the compressed start and end offsets of the data.
Now write down what aa aa aa aa is, and bb bb bb bb, for reference.
Example:
You can see in the picture, I searched for 02E5C000, which is the uncompressed starting offset of South Clock Town.
My results:
[/color][/td][td]aa aa aa aa[/td][td]bb bb bb bb[/color][/td][/tr][tr][td]02 E5 C0 00[/td][td]02 E6 F8 B0[/td][td]01 E6 1E 30[/td][td]01 E6 8E 10[/td][/tr][/table]
Step 3 - Finding the Data.
Simple. Just go
Address > Go To...
And type in the value you wrote down for aa aa aa aa.
Example:
And there you have it, you have found your compressed data!
I hope you found this useful. ;D
It was a bit of a pain to write, because I accidentally deleted it all and had to start again.
I figured this out and wrote it all by myself.
Here are some useful Map offsets (compressed) for Majora's Mask (U):
01E61E30 - South Clock Town
01E46670 - North Clock Town
01E367F0 - East Clock Town
01E1D740 - West Clock Town
Requirements:
Any Zelda ROM other than the Debug ROM.
A Hex Editor
UoT*
Zelda Resource Extractor* (Comes with UoT)
Pen and Paper/Notepad
*Only needed if you're finding something other than a Map/Scene.
I will be using Majora's Mask (U) as an example.
Step 1 - Finding a file you want to find in the ROM.
Maps/Scenes:
First, go here:
www.64.vg/wiki/index.php?title=Zelda_64_Scene_Listings
And write down the offsets of the Map/Scene you want to find.*
These are its uncompressed offsets.
*if you are using OoT v1.0 (U), write down the compressed offsets, and go straight to step 3.
Other Data
Extract the ROM you are using, with ZRE.
Open the files in UoT until you find one you want to find in the ROM.
Write down the name of the file, this is its uncompressed offset in the ROM.
Step 2 - Finding the compressed offset in the ROM.
Go to
Search > Find...
And type in the uncompressed offset of your data.
Do not try to go to the uncompressed offset, as in most cases it doesn't even exist, and it will not be what you are looking for if it does.
You should get results from your search that look like:
xx xx xx xx : yy yy yy yy | aa aa aa aa : bb bb bb bb
Where
xx xx xx xx : yy yy yy yy
Is the uncompressed start and end offsets of the data.
And
aa aa aa aa : bb bb bb bb
Is the compressed start and end offsets of the data.
Now write down what aa aa aa aa is, and bb bb bb bb, for reference.
Example:
You can see in the picture, I searched for 02E5C000, which is the uncompressed starting offset of South Clock Town.
My results:
xx xx xx xx | yy yy yy yy |
Step 3 - Finding the Data.
Simple. Just go
Address > Go To...
And type in the value you wrote down for aa aa aa aa.
Example:
And there you have it, you have found your compressed data!
I hope you found this useful. ;D
It was a bit of a pain to write, because I accidentally deleted it all and had to start again.
I figured this out and wrote it all by myself.
Here are some useful Map offsets (compressed) for Majora's Mask (U):
01E61E30 - South Clock Town
01E46670 - North Clock Town
01E367F0 - East Clock Town
01E1D740 - West Clock Town