Liero sound (SND) file formatThe file starts with a Word that represents the number of sound effects in the file. Because Liero will most likely never support more than 30 sounds this Word is always set to 1Eh 00h (=30 decimal).After that there is a special entry for all 30 sound effects in this order: SHOTGUN, SHOT, RIFLE, BAZOOKA, BLASTER, THROW, LARPA, EXP3A, EXP3B, EXP2, EXP3, EXP4, EXP5, DIRT, BUMP, DEATH1, DEATH2, DEATH3, HURT1, HURT2, HURT3, ALIVE, BEGIN, DROPSHEL, RELOADED, MOVEUP, MOVEDOWN, SELECT, BOING, BURNER. I'm not sure if this order is compulsory, but why change it? Each entry consists of: - The sound effect name filled up with null bytes to get exactly 8 bytes. - A DWord indicating the beginning (offset) of the sound effect in the file. - Another DWord indicating the length of the sound effect in bytes. So the header is (8+4+4)*30 = 480 bytes. 482 bytes including the first 2 bytes. After the header the sound data begins. The sound Liero uses is 8-bit PCM signed mono @22050 Hz. There are a few more interesting things to know about the Liero SND:
|