I assume specifically you mean this patch
, in which case the bin files just go in the same folder as the patch itself. They'll be inserted into your hack automatically when you apply the patch (do NOT put them in the ExGraphics or Graphics folders for you hack; they should not be inserted that way).
Specifically, though, you need to do a couple things to make sure they're inserted correctly:
1) Make suree each file is named as "mariogfx#.bin", where # is a decimal number to identify which is which. For example, "mariogfx1.bin" like the included GFX files.
2) Open the ASM file for the patch. Inside, you'll find this code a small ways down:
!Freespace1 = $109FF8
!Freespace2 = $119FF8
This is currently assuming you're inserting two
alternative GFX files. If you are only inserting one, you will need to remove te "!Freespace2 = $119FF8", "%gfx(2)", and "db !Freespace2/65536" lines; if you are inserting more than two, you will need to add duplicates of these lines, except with the 2s replaced with 3s, or 4s, or whatever other number you used to identify the corresponding GFX file.
In addition to change the number of these lines, you'll also most likely have change the values of the !Freespace1/!Freespace2/etc. defines. To do that, download slogger
and run your ROM through that; it will generate a text file containing all places with freespace in your hack. Find a full bank (0x8000 bytes) and change the !Freespace1 define from $109FF8 to "$xx9FF8" where "xx" is the bank you just found (make sure you use the SNES address and not PC address, by the way). Do the same for !Freespace2, and any other ones you added for your files, but make sure you use a different bank for each one.
Afterwards, all you have to do is apply the patch, and it should hopefully insert correctly. Asar will warn you if there was a major error with something you did, at least.
That probably sounds like a lot to take in, but trust me that it's actually pretty simple once you figure out what everything's referring to.
Professional frame-by-frame time wizard. YouTube
- SMW Glitch List
- SMW Randomizer