øAslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&topic=2402.msg27803e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index5154-3.htmlslickproductions.org/forum/index.php?PHPSESSID=5f0fck550j2m4m2fpbtkj2vkm1&action=profile;area=showposts;u=394e:/My Web Sites/Slick Productions - FFIV Message Board/slickproductions.org/forum/index5154-3.html.zx}ðg^ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÈ`¦Dß|OKtext/htmlISO-8859-1gzip@øÕß|ÿÿÿÿÿÿÿÿTue, 10 Mar 2020 20:11:01 GMT0ó°° ®0®P®€§²ð®}ðg^µß| FFV Offsets

Author Topic: FFV Offsets  (Read 318 times)

Spindaboy

  • Guard Leader
  • *
  • Posts: 52
  • Gender: Male
  • I need more sleep.
    • View Profile
    • SyndROMe Hacking
FFV Offsets
« on: August 30, 2017, 11:40:56 PM »
I'm really pissed the fuck off right now because I can't understand this shit. Supposedly job palettes start at D4/A3C0 but D4A3C0 isn't a fucking address in the ROM. I can't find anything online and it is really pissing me off. What the hell am I not understanding here. Obviously I either don't know how this works or it is just different from other games somehow. Either way it's pissing me the fuck off immensely right now.

Praetarius5018

  • Vargas
  • *
  • Posts: 88
    • View Profile
Re: FFV Offsets
« Reply #1 on: August 31, 2017, 01:28:10 AM »
that's simple, $D0/xxxx is the address the SNES uses which is different from the address we see in a hex editor.

luckily this is a HiROM so it just goes:
SNES -> hex editor
$Cx:yyyy -> $0x:yyyy
$Dx:yyyy -> $1x:yyyy
$Ex:yyyy -> $2x:yyyy
$Fx:yyyy -> $3x:yyyy
$4x:yyyy -> $4x:yyyy
$5x:yyyy -> $5x:yyyy

$7x:yyyy -> NONE, this is RAM

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Offsets
« Reply #2 on: August 31, 2017, 01:33:51 AM »
Hehe it's very confusing I know. It was the same with me when I started, but believe me its better that way.

D4/A3C0 or D4A3C0 or D4:A3C0 is abbreviation pointing out to memory address at bank D4. Since we have 16 bit processor most addresses are in the format: BANK: Offset, where Offset is 16 bit. If you check SNES memory banks, you will see that D4 is actually part of ROM address space.

So how a memory address relate to file offset (I suppose when you say ROM you mean the file). Well, its simple - you need to remove C0:0000 from the address:
Code: [Select]
$D4A3C0 - $C00000 = $14A3C0Keep in mind that offset is true in not headered ROM (file). If its headered you need to remove $200

Spindaboy

  • Guard Leader
  • *
  • Posts: 52
  • Gender: Male
  • I need more sleep.
    • View Profile
    • SyndROMe Hacking
Re: FFV Offsets
« Reply #3 on: August 31, 2017, 09:47:49 AM »
Thnak y'all so much for explaining that. I knew there was just something different about this game (for example this stuff doesn't apply to FFIV). So does it have anything to do with hiROM and loRom?

Squall

  • Dark Dragon
  • *
  • Posts: 486
    • View Profile
Re: FFV Offsets
« Reply #4 on: August 31, 2017, 10:06:56 AM »
Thnak y'all so much for explaining that. I knew there was just something different about this game (for example this stuff doesn't apply to FFIV). So does it have anything to do with hiROM and loRom?
Yes, you may check for details here

BTW how it is for FF4? Thats the only FF that uses loROM :)
« Last Edit: August 31, 2017, 10:42:04 AM by Squall »