Hi Phil,
Tried your suggested fix but the NEFs created this way, still can't be opened (at least not in Capture NX 2).
Will try if they'll open in CS5 and will let you know what happens.
You said it worked for you? Have you confirmed that the NEFs can be opened again and if yes, in which software?
If everything works fine for you, I'd be happy if you could upload them 6 D800 NEFs (Netto_xxx.nef) somewhere, where I could download them.
Checking the changes in Metadate between original and "fixed" NEFs I've noticed, that compared to the last samples I sent you (Nkt1.nef and NKT2.nef), there were a few differences still in SubIFD, SubIFD1, SubIFD2 and PreviewIFD.
I edited the "fix_corrupted_nef.args" to include those changes, which worked in all cases except for PreviewIFD, which I don't think is so relevant anyway, unfortunately to no avail...
Come to the StripOffsets in SubIFD1 I noticed a difference of 1 byte too (according to Exif Tool) but didn't get to check it further.
Thanks for everything you did so far, especially the bit about regenerating the StripOffsets and StripBytecounts!
I'll probably get back to you on the matter of compressed NEFs...
-Sascha