News: 11 March 2016 - Forum Rules

Author Topic: Very confused about NES hex editing.  (Read 1439 times)

POWCo-op

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Very confused about NES hex editing.
« on: May 01, 2019, 10:37:45 pm »
I've never done this before except to open up a hex editor and try to insert a header where there wasn't one. I have to do this for some of the FDS patches to work, actually, for half or more of them. I wasn't able to figure it out.  :(
Now you're playing in... three dimensions.

KingMike

  • Forum Moderator
  • Hero Member
  • *****
  • Posts: 7261
  • *sigh* A changed avatar. Big deal.
    • View Profile
Re: Very confused about NES hex editing.
« Reply #1 on: May 01, 2019, 10:58:55 pm »
You need a hex editor that allows copy + pasting.

Create a new file with 16 bytes. The first three should be "FDS", then the hex value 1A, then the number of disk sides, then the rest of the bytes should be 0.
And then copy and paste the original ROM after it.
"My watch says 30 chickens" Google, 2018

Psyklax

  • Hero Member
  • *****
  • Posts: 1112
    • View Profile
    • Psyklax Translations
Re: Very confused about NES hex editing.
« Reply #2 on: May 02, 2019, 01:33:53 am »
In fairness, you don't have to actually make a correct header for FDS files since emulators don't actually care. I'd just insert 16 bytes at the beginning and you're good to go. I'm pretty certain anyway.

I would ask for more details on what you've tried and why you couldn't figure it out, but that would hamper your laconic style.  ;)

POWCo-op

  • Jr. Member
  • **
  • Posts: 88
    • View Profile
Re: Very confused about NES hex editing.
« Reply #3 on: May 02, 2019, 01:34:06 pm »
Thanks Mike, I'll try that and see if I can get it working.
Now you're playing in... three dimensions.