Golden Sun Hacking Community

General Hacking => Non-GS Hacking => Topic started by: Salanewt on 27, July, 2009, 12:15:00 PM

Title: Locating Hex Values In Memory Viewer
Post by: Salanewt on 27, July, 2009, 12:15:00 PM
Hello everyone. As many of you probably know by now, there are a few of us working on hacking a game. However, I would like to ask a question or two about locating data...

I am aware that I can locate data from the ROM section of Memory Viewer if I remove the '08' from the beginning before searching for the offset in a HEX editor, but I was wondering... Is there any way to locate the data in the ROM section from another section of Memory Viewer? I would like to try to find this out because we know a bit of data already, but hardly any of it is from the ROM section, and we have no idea how to find it.

I also have another question... Does anybody know what the section after the ROM section is in Memory Viewer (09000000)?

Thank you in advance.

Have a nice day.
:MercurySet:  :MercuryDjinni:  

This post has been edited by Salanewt on Aug 27 2009, 12:22 PM
Title: Locating Hex Values In Memory Viewer
Post by: Atrius on 27, August, 2009, 06:33:00 PM
08000000-09FFFFFF is all area for the ROM. A 16 MB ROM will only fill to 08FFFFFF, but a 32 MB ROM will need all of that space.

I've told you my method for finding data in the ROM before here (http://z9.invisionfree.com/Golden_Sun_Hacking/index.php?showtopic=256&view=findpost&p=3003912).
Title: Locating Hex Values In Memory Viewer
Post by: Salanewt on 27, August, 2009, 07:31:00 PM
Oh yes, I had forgotten about the method, sorry, and thank you.

Also, thank you for telling me what that extra space is for. Unfortunately, I do not know how to access it in a HEX editor, oh well.

Have a nice day.
:MercurySet:  :MercuryDjinni:  
Title: Re: Locating Hex Values In Memory Viewer
Post by: Daddy Poi's Oily Gorillas on 10, October, 2010, 11:35:32 PM
Now, to post my long delayed post that I should have made ages ago... but just to make sure all the questions are answered... here we go:

Quote08000000-09FFFFFF is all area for the ROM. A 16 MB ROM will only fill to 08FFFFFF, but a 32 MB ROM will need all of that space.

I understand, M&L:SS is 16 MB ROM.

QuoteI've told you my method for finding data in the ROM before here.

I like that method... breakpoint on found RAM data... and reading the assembly... the address of a register. (and that the register to look at is given in an ldr(/b/h) code.

Example:

ldr (rd) (r) #0

The value in the offset of (r) + #0. goes into (rd) register.


QuoteUnfortunately, I do not know how to access it in a HEX editor, oh well.

Maybe you should try looking at a 32 MB ROM.

~P.S. - Yes, I realize Salanewt posted that over a year ago, back when we were first learning all this stuff...


Edit: Though, I bet all these questions were answered already... but... if you have any additional questions... feel free to ask.


Then again, I have a question of my own... How do you find the Enemy Database in Bowser's Inside Story US version? The Japanese version... as it is.. seems to be not linked to in the file system... but was found... unfortunately... not found in US version. I take it, they store it a different way.. oh well.. are there any tricks to finding it... like in RAM??... since there apparently isn't an SDL-H version of the DS...