Posted by Turbo Pascal on May 04, 2000 at 13:32:01:
In reply to: Please explain posted by Bart on May 04, 2000 at 11:48:57:
: : bitu32 NumSoundDetails; // number of sound-detail records to follow (4 bytes)
: : tr2_sample_info SoundDetails[NumSoundDetails]; // sound-detail list (NumSoundDetails * 8 bytes)
: : bitu32 NumSampleIndices; // number of sample indices to follow (4 bytes)
: : bitu32 SampleIndices[NumSampleIndices]; // sample indices (NumSampleIndices * 4 bytes)
Don't worry about those above fields, you are making a tool for editing just the
main.sfx so you dont need to deal with the TR2 file format.
The main.sfx is a collect of wav files, so replace/adding/editing them will
be enough.
I Think that nobody us know what restriction has those wavs, but
you can inspect inside the main.sfx to check what is the size for the most biger
wav, and check if all wavs has the same frecuency (16Kh,22kH,44kh), the same
sample_size (8 bit or 16bit) and if are STEREO or MONO.
Those info is stored in the heading of each wav. thease info will tell us
what kind of wav can be used on main.sfx.
Also after you release the tools the people can test it and they will found
if exist some restrictions for the wavs.
Just one question about your tool: It is a stand alone Executable file? or we
will need to get your languaje programming package or runtime files for run it?
Thank you very much for your kool tool.
Turbo Pascal.