Views: 1,004,504,233
14 users online: AnEvilGhost, Angel Miranda, Children's Digest 1950-2009, CosmicTiff,  icrawfish, JupiHornet, NewPointless, Nextalis, OhMuramatsu,  PermaBan, Ringo, SubconsciousEye, SuperMarioMan32, Valentine - Guests: 91 - Bots: 134 Users: 54,884 (2,025 active)
Latest: Dinkleberrg
Tip: The "Edit Animation Settings" tab in Lunar Magic is very convenient if you want to disable certain animations in the game to make room for your own graphics or ExAnimations.
Not logged in.
Understanding SNES Offsets
Forum Index - Sunken Ghost Ship - Forum Graveyard - Super Mario All-Stars - Understanding SNES Offsets
Pages: « 1 » Link

I'm thinking about writing (or at least trying to write) an editor, and I first want to poke around the ROM to see if I understand the format. The problem is that I can't follow the website. I tried following this formula to convert the offset to an address, but I'm not getting any useful results, e.g. the location that's supposed to be "empty and filled with $FF" has no $FF anywhere near it.

Am I missing something? Am I doing it completely wrong?


Okay, so somehow I determined that, in SNEStoPC(), header is -0x200. I'm not sure if my ROM is weird or it's actually supposed to be like that, but the values match up with the ROM map.

Okay, now I'm confused again. For example, I can find the empty text at $11:98BF if I were to set the header to -512 (yes, negative), but the empty text at $03:EBD9 if the header is set to 0.

I am using the .sfc file that was mentioned in the sticky, and I'm assuming that it's a headerless file, yet the values for the header are inconsistent for some reason.

Guess and check, basically. If the data matches up with the description in the ROM map, I adjust the header accordingly.

Over all, the header value is not too important to me. All I'm trying to do is determine the PC address from the offset, which I will use to write my program. I guess, for now, I'll just keep guessing and checking because it works. Sorta.

Pages: « 1 » Link
Forum Index - Sunken Ghost Ship - Forum Graveyard - Super Mario All-Stars - Understanding SNES Offsets

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

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


Follow Us On

  • YouTube
  • Twitch
  • Twitter


  • Super Mario Bros. X Community
  • Mario Fan Games Galaxy
  • sm64romhacks