Language…
11 users online: Batata Douce, DanMario24YT, dotCoockie, dubiousdinobot, Dzing, Edu X, Hammerer, MegacesarCG,  Saphros, StarWolf3000, TheOrangeToad - Guests: 263 - Bots: 301
Users: 64,795 (2,378 active)
Latest user: mathew

Hex Editing Help?

I am trying to edit hex code (mostly to disable spinjumping shooting fireballs) yet, unheadered or headered ROM, I get the wrong code in that area. For example, D0F1 should be;
Originally posted by SMW ROM Map
Change 'D0' to '80' to disable it.
D0. However, in HxD it isn't. Unheadered: 96. Headered: 4A. Any help would be nice.
Layout - Layout Maker

Art - Me (Dolphin from SMW)

Maybe check out my ROM hack demo?


Sounds like you're using that address as a PC address, rather than a SNES address. PC addresses are the location of the byte within the file (hence why it's affected by the header), while SNES addresses are the location as they're actually handled by the SNES processor. All addresses in the ROM map are formatted as SNES addresses.

There's a couple of ways you can fix that problem, though. The easiest way is to use SHex for hex editing, as it accepts SNES addresses. Alternatively, you can just convert it to the actual PC address using Lunar Address. In your case, the PC address would be 0x052F1.
Or, a third method is to just manually convert it. For lorom + header, it's the bank (highest two digits) times 0x8000, plus the remaining digits, minus an extra 0x8000. Or in math: [((addr & 0xFF0000) >> 1) + (addr & 0x00FFFF) - 0x8000].

Professional frame-by-frame time wizard. YouTube - Twitter - SMW Glitch List - SMW Randomizer
That worked (although I used SNEStuff instead of Lunar Address) so I guess happy fun times and now I also made it so you have "infinite lives."
Layout - Layout Maker

Art - Me (Dolphin from SMW)

Maybe check out my ROM hack demo?