Banner
Views: 693,711,781
Time:
7 users online: Twilight Sparkle Resolute Form, LuigiFanGamer, Scorpin0x, shrek 2 on dvd, Nest To Sheed Girls, Vitor Vilela, Zanoss - Guests: 20 - Bots: 137Users: 36,321 (1,508 active)
Latest: CheeseAcorn
Tip: Try not to place secret exits at the very end of levels-- the player will basically have to go through the same level twice.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.


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