Kelly's Korner
USING THE PACK/UNPACK UTILITIES
Get your copy of Corey Rueckheim's PACK/UNPACK utility
here!
Say you have NR1999 in c:\sierra\nr1999 and want to change part of
layout.dat. Here's what to do:
- Go to the layout directory:
CD
C:\SIERRA\NR1999\LAYOUT
- Make a backup copy of layout.dat:
COPY LAYOUT.DAT
LAYOUT.OLD
- Make a new, temporary directory and make that one the current:
MD TEMP
CD TEMP
- Copy layout.dat to the temp directory:
COPY
../LAYOUT.DAT
- Unpack layout.dat:
(path_to_unpack.exe)\UNPACK
LAYOUT.DAT
- Replace one or more files by overwriting existing files. You cannot
add new files, unless you really know the techniques.
- Create a new layout.dat:
(path_to_pack.exe)\PACK
LAYOUT.PCK
Note the filename here: ".PCK" and not
".DAT"!
- Move layout.dat back to its original directory, overwriting the old
version:
MOVE LAYOUT.DAT
..
- Clean up: delete all remaining files, go back to the layout directory
and remove the temporary directory:
DEL *.*
CD ..
RD TEMP
Done.
What if the patch doesn't work or you don't like it?
- Go back to the layout directory:
CD
C:\SIERRA\NR1999\LAYOUT
- Delete the new layout.dat (AFTER checking you still have the
original!):
DEL
LAYOUT.DAT
- Rename the original layout.dat:
REN LAYOUT.OLD
LAYOUT.DAT
And you're back to where you were at the top of this page!
<g>