DHMERGE 1.1 by Alden Bates 20/7/94

DhMerge is a simple command line program which merges two dehacked patches into a
third.  You invoke by typing:

DHMERGE <first patch file> <second patch file> <target file>

for example, to merge the morfmons.deh and suprwepn.deh patches supplied with
DeHackEd 1.3, you would type:

DHMERGE MORFMONS.DEH SUPRWEPN.DEH MORFWEPN.DEH


Sometimes a warning message will come up.  The merge may still have worked, but
you may have interesting effects.  Look at the merge superweapon/flamethrower
patch.  The flamethrower has thousands of ammo units and never uses them. :-)

To ensure that the program works, normal13.deh and the two patches to be 
merged should be in the current directory.

additions to version 1.1:
You can now merge patch files from before version 1.3.  However I only have
1.3.  If you restore doom.exe to it's original form, you can use dehacked to
make a standard patch, then rename it to normal12.deh and put it in the
same directory as dhmerge.exe.  (or the current directory)

More control: The second patch file specified takes priority.  Due to 
suggestions by Tree, The changed data in the second patch specified takes
priority over the first.  
If the resulting patch isn't what you want, try swapping the order of the 
files on the command line.

DHMERGE MORFMONS.DEH SUPRWEPN.DEH MORFWEPN.DEH
and 
DHMERGE SUPRWEPN.DEH MORFMONS.DEH MORFWEPN.DEH

may give different results if they change the same fields.

Also added: more error detecting routines.

Patch file included:
 LOTS.DEH
      combination of the following patch files:
        SUPRWEPN   - by Tree
        FLAMETHR   - by Night Child <night@iastate.edu>
        SLOP       - by ??? Oer, I don't have a text file for this.  
                                will the author please email. :-)
        BARREL     - by Alden Bates <abates@comp.vuw.ac.nz>
        LIGHTFUN   - by Jeff <??? wasn't in the text file>

Disclaimer: any damaged caused by patches created with this program are not my 
responsibility.  I just wrote a program to change magnetic pulses on a disk.

ID has nothing to do with this.  Don't blame them either.

Whatever: If you are going to distribute this program, please distribute this
zip file intact.

If you distribute any patches created with this, please give the authors of
any merged patches due credit.

Alden Bates 7:10am 21/07/94
