Collection of small hax for various SNES games, a result of me just learning how it all works.
I use OSX, so the following instructions are for that.
-
Have an emulator and a clean ROM that you can play.
-
Download Maxkas. This contains a GUI for patching ROMs and some command line utilities. I use the latter.
-
Make a copy of the ROM to patch and patch it
cp smw.sfc smw-hacked.sfc asar smw-coinlife.asm smw-hacked.sfc
-
Load the hacked ROM into your emulator and enjoy!
Note that by default OpenEmu will copy your ROM into it's own library when you import it. You can disable this in
Preferences -> Library
. If patch your ROM, you can refresh it by stopping
emulation and starting it again. Quick save/load persist through this, so you
don't need to run from the start every time!
I've been using Geiger's Snes9x Debugger under wine.
brew install wine winetricks
winetricks vcrun2005
wine Snes9X1.51.ep10r2.exe
For controlling above debugger with a gamepad, I used Enjoy2 to map gamepad inputs to the keyboard. The 1.2 release was broken for me, I needed to compile it myself with a revert of the broken code.
NSRT can add or strip headers to ROMs, which you might need when creating compatible binary patch files.
./nsrt -addhead headerless-rom.sfc
Use bin/create-ips
, which I wrote because I couldn't get any other OSX
utility to work. It's pretty dirty. bin/apply-patch
is also included, though
I didn't write that.
- Basic ASM Tutorial
- SMW ROM map
- SMW RAM map
- SMW Annotated Disassembly. This is often more useful than ROM map.
- 65861 Assembler Reference