Banner
VLDCX results are out!
Views: 591,165,779
Time: 2017-12-17 10:38:55 PM
13 users online: buggy789, Gabriel12102673, Star Boy, he, leod, LuigiFanGamer, MojoDallin, Rainsnow Man, o Festive Husk, Omegabi, D3l3T3.M3, K1lL.M3, BuR4.M3, magi, more like cutie, Still Zandro - Guests: 72 - Bots: 245Users: 33,283 (1,472 active)
Latest: GuestMember
Tip: Don't replace the first two Map 16 FG Pages with ExGFX.Not logged in.
Understanding SNES Offsets
Forum Index - Non-SMW Hacking - Misc. ROM Hacking - 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.


Last updated December 4, 2017. What, you expected something new?

My Website



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.


Last updated December 4, 2017. What, you expected something new?

My Website



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.


Last updated December 4, 2017. What, you expected something new?

My Website



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.


Last updated December 4, 2017. What, you expected something new?

My Website


Pages: « 1 »
Forum Index - Non-SMW Hacking - Misc. ROM Hacking - 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 - 2017 - SMW Central
Legal Information - Privacy Policy - Link To Us


Total queries: 21

Menu

Follow Us On

  • Facebook
  • Twitter
  • YouTube

Affiliates

  • Talkhaus
  • SMBX Community
  • GTx0
  • Super Luigi Bros
  • ROMhacking.net
  • MFGG
  • Gaming Reinvented