This is the Beta version of my new Worms sound-bank compiler.

To run it, type "bank template output"
where template is the filename of the template sound effect bank (eg
minimum.sfx) and output is the filename of the bank you wish to
create (eg my_sound.sfx). 

Instructions:

Press K for keys & general instructions, here's some more detailed
stuff :

Well, I think you all know roughly what's going on when it comes to
Worms sound files, so here are a few things specific to my program:

"File Size" - at bottom of screen, this is not entirely accurate. Mind
you, it's not meant to be. It's a quick guess as to how big the file
will be. To find out for definite, press C and wait while it grinds...
this is because my program is reasonably clever, so gets rid of space
at the start and end of the file. The file size returned here is the
size of the actual *samples*, not including the 2K header at the
start. I don't know whether the 758K boundary includes the header or
not, but I'd try to be on the safe side and go for 750K if you can...

Entering sample names :

Enter one of three things :

:n (n a number from 0 to 68) - duplicate new sample number n. This
means this sample won't take any space in the file. Sample n itself
must be a real sample (ie it can't start with a :  )

*n (n a number from 0 to 68) - use old sample n for this sample.

filename - use this filename for the sample. This can be either a wav
file or a raw file. The Wav support is *totally* untested, so try it
at your peril (but if you *could* try it and let me know, I'd be
grateful!) The file must be in the directory from which you run bank.exe

If you either:
a) Duplicate a duplicate sample
b) Use a non-existent filename
c) Some other things I can't remember, but they should be obvious if
you do it :)

then the sample name will revert back to what it was before you
clicked on it.

Raw files are automatically judged to be unsigned or signed... you'll
know if it gets it wrong, and if it does, I'd like to know! (At the
moment there's no way of forcing it to do what it thinks it shouldn't)

Unlike the previous version (the awful dos one), you can now have
samples > 64K. Okay, so I won't pretend it's a good idea, as this is
nearly 10% of your total sample size, but it's your sample set...

Chomp, ramp and ignore all have the same functions as before :
it may be worth putting an ignore value of about 4 in - see if it
makes the file much smaller. I don't know any more whether ramp is
particularly useful... I've put it to 0 by default. Chomp is set to 4
by default. Adjust as you please, but I'd recommend < 16.

Input frequency and output frequency : input only affects raw files,
output doesn't affect original samples.

As this is a Beta version, there may be a few bugs left. If you find
any, please email me at jls20@hermes.cam.ac.uk

Cheers,

Jon Skeet
