Since alpha 57 will allow including new sound samples (although they won't be able to be used yet), here is a version of grfcodec to accomplish this.
In order to include sound samples (or any file, really), you need
action 11 and the following kind of entries after it:
Code: Select all
16 ** sounds/horn1.wav
17 ** sounds/horn2.wav
18 ** sounds/horn3.wav
The maximum possible size of these files is 65532 minus the length of the filename (without the directory; the name is stored so that after decoding, the extracted file will have the right name).
I'd appreciate if the interested parties could test this for a bit, before I make an official release of 0.9.7. Thanks.