A daft question about ROM-hacking?

Dream Weaver

New member
Hi all! :)


Apologies if this is a daft question, but here goes... I’m a complete noob, see, and want to get into some serious SNES-based ROM hacking. I’m reading and re-reading as much as I can on the subject, and eventually it’ll all start to pay off and make some sense, but until such time, my question is this: if I want to create a ROM hack or ROM-hacking tool for a particular game, say SMB3 on All-Stars, while I’m still trying to get my head around the basics of ROM-hacking, is there much point in me spending time using the ZSNES cheat-finder to map (relevant bits of) the RAM, eg Map pointers for Stages?
In other words, with the right tools and skills some time in the future, would I be able to use the RAM data I’ve accumulated to locate the bits of ROM that point to it?

Obviously a basic familiarity with the RAM would be useful in a general sense, but I mean more in terms of reverse engineering from the RAM directly to the appropriate bits of ROM, so to put it (yet) another way:

On SMB3 the RAM pointers for enemies within a stage are in consecutive groups of 3, like so:

7E1B41XX = enemy select (for enemy #1)
7E1B42XX = x-axis start coordinate (for enemy #1)
7E1B43XX = y-axis start coordinate (for enemy #1)

With this information, and knowing the particular hex values for enemy #1 within a given stage, could I enter said stage, and then use a tool to see which ROM is (currently) pointing to this RAM, and if the enemy was, say, a “Dry Bones”, thereby find out where the ROM for Dry Bones is...??? (Or, at the very least, find out the ROM address that selects this enemy as Dry Bones, and thereby edit said ROM address to change it to a Ghost, Thwomp, et cetera?)

As I say, sorry if this is a daft question, but it would be good to know if I can get on and do something useful while I read up on ‘proper’ ROM hacking...

Cheers!

Gethin
 
RAM locations can be converted into ROM locations. I've never really dealt with it much but I've seen discussions of how to convert from one to the other. I believe SNES is a bit more complicated than other older consoles because of the way it handles memory, but it's definitely doable.
 
Ta very much, InVerse...! Much obliged. That gives me something constructive to do while I try and learn ROM-hacking. :thumb up:

One more question, if you don't mind; given what you said, would you say it's worth me writing up a few RAM maps for SNES games, and posting them on sites like this (with the proviso that it's not stuff that's already all over the web, on various hacking sites)?

Cheers!

Gethin
 
DataCrystal has a section for RAM maps. I wouldn't bother posting ANYTHING on Zophar's Domain. The only reason people still submit stuff here is because of the high search engine ranking. People who actually know what they're doing and would know how to use the data are just going to go straight to DataCrystal first.
 
Just had a quick looky on Data Crystal, and remember that place from a number of futile Google searches (looked promising but no joy on what I was actually searching for). Think I'll just post a few docs on here anyways...

Thanks for the tip though... :D
 
Back
Top Bottom