I've never worked on any kind of romhack project before, but am a hobbyist game developer and professional software developer.
A friend of mine asked me to write a small program for them that takes a few cues from LttP, the idea is that when the player hits certain
objectives a video will play, or a piece of stage lighting will be triggered. Now, I've got all the rest of the stuff I need working but
I haven't really got the first idea where to start looking for how I get pieces of information from the game.
The stuff I need is quite simple, things like the current map, players current location, currently equipped items, etc. So I wondered if anybody could
point me in the direction of any documentation that might tell me where that information is in memory and how it's represented.
As an example, this is the sort of thing I'm looking to do: Player picks up an item -> the emulator picks up on this and informs my program of the event, my program then triggers as an example a stage light and a piece of music. I've grabbed the Snes9x source code but haven't had much time to look at it yet, I figured it's probably quite easy to access the game memory from inside the emulator, I'm just not sure what I'm looking for once I get there.
Thanks in advance guys, really appreciate any help I can get.
edit: Sincerely apologize if this is in the wrong subforum, wasn't sure if it should be here or in rom hack discussion.