Banner
Views: 858,320,870
Time:
9 users online: chickaDEE Magazine, fsvgm777,  idol, kamekku14, kellykelster,  MarioFanGamer, Miscalc, OEO6, quietmason - Guests: 32 - Bots: 98 Users: 47,420 (2,250 active)
Latest: Zander-san
Tip: Check the Documents section. Tutorials and other useful information can be found there.Not logged in.
Mario Graphics
Forum Index - SMW Hacking - SMW Hacking Help - Mario Graphics
Pages: « 1 »
Right. So i've downloaded MarioGfxAlt aka different mario for certain levels. The "Only" Problem is, i don't know where to put the .bin file. any help would be great

--------------------
Hey. Im JJ. Nice to meet ya.


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:

Code
!Freespace1 = $109FF8
!Freespace2 = $119FF8

%gfx(1)
%gfx(2)

freecode
BankTable:
	db !Freespace1/65536
	db !Freespace2/65536

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 - Twitter - SMW Glitch List - SMW Randomizer
Originally posted by Thomas
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.


This is what i got with slogger https://docs.google.com/document/d/1Mx6VdpSKPiWMn-KVUIQI-f6EIL82VV5Q3gVBY6W-61Q/edit?usp=sharing

--------------------
Hey. Im JJ. Nice to meet ya.
Pages: « 1 »
Forum Index - SMW Hacking - SMW Hacking Help - Mario Graphics

The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.

Copyright © 2005 - 2020 - SMW Central
Legal Information - Privacy Policy - Link To Us


Menu

Follow Us On

  • YouTube
  • Twitch
  • Twitter

Affiliates

  • Super Mario Bros. X Community
  • ROMhacking.net
  • Mario Fan Games Galaxy