ÉÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍ» º PANZER GENERAL II *.MEL file SPEC. º º For v1.00 to 1.02 of Panzer General II. º º COPYRIGHT (c) 1999 by LHJWORLD 1993-1999. º º Version : 1.01 Date : 06/06/1999 º ---------------------------------------------------- º Made by º º Lasse Hintze Jensen º º Lasse_Jensen1@adr.dk º º Denmark º ÈÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍÍͼ ------------------------------------------------------------------------------- Panzer General II Mel file (*.Mel) breakdown. ------------------------------------------------------------------------------- General ------------------------------------------------------------------------------- The *.MEL file is the on holding all the unit sound, and some game sound. 10xx.mel, 20xx.mel and 30xx.mel is unit sound, selectable via the equipment file. See my equipment spec for details. The only other 2 file that there is, is 1.mel and 5000.mel 1.mel is the click with the mouse you hear all the time. The 5000.mel is for very low dark rumbling sound, not sure where its used. This is also the only file that has set repeat it self to endless (same as FFFFFFF). The *.MEL files is in PCM RAW format - 16bit 22050 mono. *.MEL files can be no larger then 870-950Kb. If they are the game refuse to play it. Aparently this is MEL format 4.1.0.A date 19 June 1997, acording to UK Panzer.exe v1.02. Header 24 byte. ------------------------------------------------------------------------------- 4 byte Dword : Unknown (0) 4 byte DWord : 1# Sample rate (prime sampel rate) $00002B11=11025 $00003E80=16000 $00005622=22050 $000061A8=25000 $0000AC44=44100 $FFFFFFFF=use random rate between 2# & 3# sample rate. 4 byte Dword : 2# Sample rate (Random sample rate start) 4 byte DWord : 3# Sample rate (Random sample rate end) 4 byte Dword : Repeat $00000000=Endless $00000001=1 time (normal) $00000000-$FFFFFFFF=X times. 4 byte Dword : Unknown (0) - Sample rate under 3000 is not really usefull. - Just simple alown by playing around with the sample rate of the original *.MEL files you can create some good new sounds. - If 1# sample rate is $FFFFFFFF the a random sample rate is selected between 2# and 3#, every time a unit using that sound does something. RAW data ------------------------------------------------------------------------------- This is plane simple 16bit RAW data. Every sample is 4 byte (Dword=16bit) and just go on like this to the end. --------------- END.