makaisson / sneshax

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SNES Hax

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.

  1. Have an emulator and a clean ROM that you can play.

  2. Download Maxkas. This contains a GUI for patching ROMs and some command line utilities. I use the latter.

  3. Make a copy of the ROM to patch and patch it

     cp smw.sfc smw-hacked.sfc
     asar smw-coinlife.asm smw-hacked.sfc
    
  4. 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!

Tools

Debugger

I've been using Geiger's Snes9x Debugger under wine.

brew install wine winetricks
winetricks vcrun2005
wine Snes9X1.51.ep10r2.exe

Enjoy2

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.

ROM Headers

NSRT can add or strip headers to ROMs, which you might need when creating compatible binary patch files.

./nsrt -addhead headerless-rom.sfc

Creating IPS files

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.

Useful links

About


Languages

Language:Ruby 71.9%Language:Assembly 28.1%