News: 11 March 2016 - Forum Rules
Current Moderators - DarkSol, KingMike, MathOnNapkins, Azkadellia, Danke

Author Topic: Removing SNES ROM Header on a Mac  (Read 4877 times)

edawaru

  • Newbie
  • *
  • Posts: 2
    • View Profile
Removing SNES ROM Header on a Mac
« on: August 30, 2011, 11:43:38 pm »
I'm trying to patch my Lennus 2 ROM, but the patch requires a headerless ROM. SNESTool (the suggested header-remover) is PC-only as far as I can tell, and I can't find any way to remove the header on my Mac. I know other programs exist but they all seem to be Mac only. The one mac "program" I found opened in Terminal and I couldn't figure out how to use it.

On a side note, why don't people ever distribute patched ROMS, distributing instead ROMs and patches separately? I'm not complaining, I just always wondered and figured there must be some reason.

Thank you in advance!

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7067
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Removing SNES ROM Header on a Mac
« Reply #1 on: August 31, 2011, 12:01:28 am »
Distributing patched ROMs is (a little) more likely to get a takedown threat by the copyright holder.
So many sites would refuse to carry the patches and many hosts would refuse to host sites.
"My watch says 30 chickens" Google, 2018

Trax

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • Trax ROM Hacking
Re: Removing SNES ROM Header on a Mac
« Reply #2 on: August 31, 2011, 06:15:13 am »
If I recall correctly, removing a SNES ROM header is equivalent to deleting the first 0x200 (512 decimal) bytes of the file. So a simple hex editor does the job. I use HexEdit on Mac...

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7067
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Removing SNES ROM Header on a Mac
« Reply #3 on: August 31, 2011, 08:54:34 am »
That is correct. Use a hex editor that will allow you to delete the first 0x200 bytes.
"My watch says 30 chickens" Google, 2018

edawaru

  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: Removing SNES ROM Header on a Mac
« Reply #4 on: August 31, 2011, 12:25:03 pm »
OK, thank you! I'll download HexEdit and see if I can figure out how to do that.

I'm looking forward to checking out the translation of Lennus II; it's supposed to be really good (I've only played it in Japanese before there was a patch :o)

Kiyoshi Aman

  • RHDN Patreon Supporter!
  • Hero Member
  • *****
  • Posts: 2262
  • Browncoat Captain
    • View Profile
    • Aerdan's Blog
Re: Removing SNES ROM Header on a Mac
« Reply #5 on: August 31, 2011, 12:54:46 pm »
You can also use NSRT (IIRC there's a Mac build available on RHDN).