Disch
Guest
|
|
« Reply #1 on: November 01, 2008, 05:14:26 pm » |
|
Knowing how to "asm hack" is really all about understanding programming concepts -- and you likely won't find that kind of thing in a ROM hacking doc (at least not any doc I've read). In fact even if you read all about things, you won't really get it until you start messing around and getting your hands dirty.
ANYway. I usually approach things like so:
1) Think about what I want to change
2) Find the variables in RAM that control how that thing works
3) Find the code that interacts with those variables by setting read/write breakpoints on them in a debugger
4) Read and comment the code so I can understand what the game is doing
5) Replace game's code with my own code that does my desired changes
Step 4 is a whole lot easier if you keep a full disassembly of the ROM around so you can dump your comments and stuff to it without having to go in and out of a debugger.
Apart from a hex editor (whichever you prefer) a debugger (FCEUXD family of emulators), and a disassembler (take your pick -- they're all the same), I can't think of anything else you'd need. When you start doing really really big changes you might want to consider using xkas to insert code rather than inserting code by hand (which is very time consuming and tedious) -- but that's another tool to learn.
If you already have basic knowledge of asm, I'd say stop looking for docs and just dive in. Hands-on experience is the best way to learn this kind of thing in my experience.
|