Romhacking.net

Romhacking => Newcomer's Board => Topic started by: POWCo-op on May 01, 2019, 10:37:45 pm

Title: Very confused about NES hex editing.
Post by: POWCo-op 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.  :(
Title: Re: Very confused about NES hex editing.
Post by: KingMike 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.
Title: Re: Very confused about NES hex editing.
Post by: Psyklax 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.  ;)
Title: Re: Very confused about NES hex editing.
Post by: POWCo-op on May 02, 2019, 01:34:06 pm
Thanks Mike, I'll try that and see if I can get it working.