SubCommand Sound Editor 1.01       by JSteed

Changes since version 1.00

Version 1.01
  - Fixed bug that made modified agg files with only one table of contents
    uneditable.
  - Fixed problem with popping sound heard in some wav files after agg was
    edited.
  - Now the program can be used to edit the agg file more than once without
    having to close it and then restart it.
  - A few checks added to help prevent operator error.
  - Button that allows the event log to be cleared.

This program will allow you to extract, replace and add new wav files to the
sfx.agg sound file.

INSTRUCTIONS:

1. Make a copy your sfx.agg file.  This program will overwrite it whenever
   a wav file is added or replaced.  Due to the size the agg file, this 
   program creates NO backup file.

2. This program can be placed in any folder, but for ease use, it is 
   suggested that it be placed in the \Sub Command\Audio\Sfx folder.

3. After starting the program, load the agg table contents into the program
   by pressing the open file button or using the drop-down menu.  You will see
   that the 'Files type:' has already selected .agg as the extension.  Open
   sfx.agg, and you will see all the wav files contained in it displayed in
   left-most list box.

Extract Wav Files:

4. If you would like to extract one or more these wav files, highlight the
   desired files and press the 'Extract Files' button.  The files will be saved
   to the SAME folder that contains the agg file.  Any files with the same name
   will be OVERWRITTEN.  As this process takes place, a log the files being
   extracted is created in the right-most list box.

Replace Wav Files:

5. To replace an existing wav file with one you have created or modified, load
   the agg table contents into the program as explained above.  Now press 
   the 'open file button' again and select the .wav extension in the 
   'Files type:' box.  Find the modified wav file(s) and open it.  You may 
   select more than one, but they must be from the same folder.  Remember,
   to replace a file in the agg, it MUST have the exact same file name.  The
   file names will be displayed in the center list box.  Highlight any and all
   you want to replace.  Press the 'Replace Files' button.  The program will
   create a temporary folder, (sfx.agg folder)\SCtmp.  Next, the agg file will
   be completely unpacked into the temporary folder.  Then the agg file will
   be repacked with the replacement file included.  The original sfx.agg file
   will be overwritten.  A log all the events will be created in the 
   right-most box.  After the agg file has been recreated, the temporary 
   directory and files inside it will be removed.  This entire process is quite
   lengthy and will take a minute or two, depending on the speed your hard 
   drive.  It's a good time to get a cup coffee.

Add New Wav Files:

6. To add new files to sfx.agg, select the agg file and new wav file(s) with
   the 'open file button' as described above.  The name these new files must
   be different from any already in the agg file.  Highlight any and all files
   you wish to add to the agg file and press the 'Add New Files' button.  The
   process will proceed exactly as above, except new files will be added to the
   agg file.

Saving Table of Contents

  The table of contents of the agg file, (left-most scren), as well as the
  event log can now be saved as files to disk by simply pressing the Save
  button.  Both lists are saved to seperate files automatically to AggList.txt
  and Events.log in the same directory that the agg file is located.

Cautions:
  There are no known bugs in the program, but that does not mean that there are
  none.  This program does not have very many checks and warnings that will
  prevent you from doing something illegal.  There are a few, but the program
  is not at all bulletproof.  USE AT YOUR OWN RISK!  However, if you have made
  a copy the sfx.agg file, you should be able to recover from a problem.
  Send any bug reports to jsteedbentley@hotmail.com.
