Neverwinter Nights ERF Utility
Version: 1.2.1

Copyright (C) 2003, Gareth Hughes <roboius@dladventures.net>
Updated by Guido Imperiale <crusaderky@libero.it>, 02/18/2005

The Neverwinter Nights Encapsulated Resource Format (ERF) Utility 'erf'
is a command line tool that acts very much like the standard UNIX 'tar'
command, and even shares many of the same command line options.  It
interacts with the various NWN ERF files, such as ERF (.erf), HAK
(.hak), module (.mod and .nwm) and saved game (.sav) files.

'erf' can create, extract and update ERF files, as well as list their contents.

For information on exactly how to use 'erf', just run 'erf --help' from
the command line.

This utility works very well when combined with other command line
tools for Neverwinter Nights, such as Torlack's MDL and script
compilers (available at http://www.torlack.com), as well as standard UNIX
command line tools, such as 'make' and 'find'. I use 'erf' in conjunction
with Torlack's scrip tcompiler to create and edit scripts using Emacs,
bash and GNU make. A simple Makefile will allow you to compile your scripts
and build a HAK out of them.  Future versions of 'erf' will allow you to
merge files or ERFs into pre-existing ERFs, such as a HAK or game module.

Why did I create this utility?  Because I really hate the script editor
in the NWN toolset, and I'm a UNIX hacker -- I like editing in Emacs, I
like typing 'make install' in a shell, and so on.

Changes in version 1.2.1 (by CRVSADER//KY)
==========================================
  - Fixed typo
  - Added 'install' target to Makefile

Changes in version 1.2 (by CRVSADER//KY)
========================================

  - Added --stdin (-s) option to read the files list from stdin
    This is very useful since doing 'erf -c test.hak dir/*' won't work in bash.
	Now you can do 'find dir | erf -cs test.hak' (and it's recursive, too).
	
  - Better error checking for memory leaks
  - Fixed an error that occourred when dealing with empty files

Changes in version 1.1
======================

  - Add basic merge support (individual files only, no ERFs).
  - Better error checking in various places.

Changes in version 1.0.2
========================

  - Renamed error() to fatal_error() to better reflect what this
    function is used for.
  - Use fputs() instead of printf() for constant strings.
  - Made compare_resources() a static function.
  - Fix command line argument wildcards on Windows by linking with
    'setargv.obj'.
  - General restructuring to support ERF merging, coming soon.
  - Output more information to stderr, particularly when files are
    skipped.

Changes in version 1.0.1
========================

  - Added README file.
  - Fixed my email address.
