Banner
Views: 843,615,505
Time:
25 users online: BuinggamerTv, DasFueller, Dippy, Eminus, ExxorD, GbreezeSunset, Hayashi Neru, JJs, KitikuSa, Kusrry, l337f00l, LOLRyan2006 the Goombud,  Major Flare, MirrorReflect, Mpereira, msi810,  RussianMan, Rykon-V73, Second, Sparkle-And-Syro, Super Maks 64,  Telinc1, TruffledToad, WhiteYoshiEgg, Zidan3 - Guests: 61 - Bots: 72 Users: 46,356 (2,845 active)
Latest: JJs
Tip: Do you want to make fancy HDMA but don't know ASM? Worry no more, because with Effect Tool, fancy HDMA effects can easily be created.Not logged in.
Understanding SNES Offsets
Forum Index - Sunken Ghost Ship - Forum Graveyard - Super Mario All-Stars - Understanding SNES Offsets
Pages: « 1 »

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?

Thanks.



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 »
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 - 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