D40Hack Program
Updated 2006-12-07 by Bill Claff

Introduction

D40Hack is a Microsoft Windows console executable. It can be used at a “DOS prompt”.

This program is provided “as is” with no expressed or implied warranties.

You may distribute the program provided that it is not modified and that no fee is charged.

Why?

The version of Adobe Camera Raw that works with Adobe Photoshop CS/CS2 will open D70 files but not D40 files.

Simply changing the model in the Nef file allows D40 users to use Adobe Photoshop CS.

I have reports that this technique also works for Paint Shop Pro version 9.

Basic Usage

The program takes either one or two parameters.

The first parameter is a filename. This must be a .Nef file.
You may use wildcards but the Nef file extension must be present.

The second parameter is an option.

+7 indicates changing the model from D40 to D70.

-7 indicates changing the model from D70 to D40.

If the second parameter is omitted the model is flipped between D40 and D70.

Command line examples

·        D40Hack D40_20041225_05231520.NEF +7

If the model is D40 it is changed to D70.

·        D40Hack D40_20041225_05231520.NEF -7

If the model is D70 it is changed to D40.

·        D40Hack *.NEF

Processes each Nef file in the current directory.

If the model is D40 it is changed to D70. If the model is D70 it is changed to D40.

What D70sHack Does

·        The model name is changed “in place”.

·        The date and time of the file are unaffected.

·        You get positive confirmation on success, nothing on failure.

Restrictions

These instructions assume that you have placed D40Hack in a folder that is on your path.

To find such a folder enter Path at the DOS prompt.

The file cannot be open elsewhere.