Sierra Audio: Difference between revisions
Jump to navigation
Jump to search
(Remove misspelled category.) |
(added sample link; swapped version and header size fields since they appears to square with the sample files) |
||
Line 1: | Line 1: | ||
* Company: [[Sierra Entertainment]] | * Company: [[Sierra Entertainment]] | ||
* Samples: [http://www.mplayerhq.hu/MPlayer/samples/game-formats/sol/ http://www.mplayerhq.hu/MPlayer/samples/game-formats/sol/] | |||
This page describes audio format and codecs used in different games by Sierra. Multi-byte numbers are stored in little-endian format. | |||
== File Format == | |||
Byte Value | Byte Value | ||
---------------- | ---------------- | ||
0 | 0 Version | ||
1 | 1 Header size | ||
2-5 String "SOL" | 2-5 String "SOL" | ||
6-7 Sample rate | 6-7 Sample rate |
Revision as of 22:40, 14 March 2006
This page describes audio format and codecs used in different games by Sierra. Multi-byte numbers are stored in little-endian format.
File Format
Byte Value ---------------- 0 Version 1 Header size 2-5 String "SOL" 6-7 Sample rate 8 Flags 9-10 Size
Flags are used to determine audio format and compression:
0x01 DPCM 0x04 Stereo 0x10 16-bit
Working scheme to determine what decompressor to use:
if(Version == 0x8D) { if(Flags & USE_DPCM) use old DPCM variant; else use 8-bit unsigned mono PCM; } if(Flags == USE_DPCM | USE_16BIT) use 8->16 bit DPCM; else if(Flags == USE_DPCM) use new DPCM variant; else if(Flags & USE_16BIT) use 16-bit mono or stereo PCM; else use 8-bit mono PCM;
Games Using This Format
- The Dagger of Amon Ra (a.k.a. Laura Bow 2)
- The Island of Dr. Brain
- King's Quest V: Absence Makes the Heart Go Yonder
- King's Quest VI: Heir Today, Gone Tomorrow
- King's Quest VII: The Princeless Bride
- Leisure Suit Larry 5: Passionate Patti Does a Little Undercover Work!
- Leisure Suit Larry 6: Shape Up or Slip Out!
- Leisure Suit Larry 7: Love For Sail
- Mixed-Up Mother Goose
- Pepper's Adventures in Time
- Phantasmagoria
- Space Quest IV: Roger Wilco and the Time Rippers
- Space Quest V: The Next Mutation
- Space Quest 6: Roger Wilco in the Spinal Frontier
- Torin's Passage