
S11 should be played at 11025 Hz, while PCM data from.
/cdn.vox-cdn.com/uploads/chorus_image/image/61148393/RodneyScott_11.0.jpg)
S11/.S22 is 8-bit unsigned mono PCM data. S11/.S22 file you need to add ( dwFileStart) to (sizeof(DSNDHeader)+nFiles*sizeof(DSNDEntry)).Įach file in. That is, to get the starting position of the RAW file relative to the beginning of the. Just like in Descent 1, ( dwFileStart) field of each entry is the starting position of the RAW file relative to the beginning of RAW files. S11/.S22 file.įollowing the header are ( nFiles) records (just the same as for Descent 1). In Descent 2 all sound files are stored in DESCENT2.S11 and DESCENT2.S22 except for DIGITEST.RAW which is in DESCENT2.HOG. Starting at that position is a PIGHeader which is the same as described above. Namely, it starts with a 32-bit value which is the position (relative to the. Note that Descent v1.4 has slightly different. Starting at that position, there is audio formatted as uncompressed 8-bit unsigned mono PCM data. That is, to get the starting position of the RAW file relative to the beginning of the PIG file you need to add ( dwFileStart) to (sizeof(PIGHeader)+nFiles*17+nSoundFiles*sizeof(DSNDEntry)). NSamples - the number of samples in RAW file.ĭwFileSize - the size of RAW file (in bytes).ĭwFileStart - the starting position of the RAW file relative to the beginning of the data files in PIG. Note that there can be 8-character names which are thus not zero-terminated. When using an earlier version of D1X-Rebirth, the following applies: Most of you probably have a 1.0 version of Descent, somewhere.

SzFileName - this is the name of the sound file, padded with zeroes. About updating Descent to version 1.4a As of version 0.56 of D1X-Rebirth, the updating of the Descent game files is not necessary anymore. What we need to know about these records is that each of them is 17 bytes long.Īfter those records are ( nSoundFiles) records describing sounds. NSoundFiles - this is the number of RAW sounds in the PIG.įollowing the header are ( nFiles) records describing non-sound files. NFiles - this is the number of non-sound files in the PIG, This hog file type entry was marked as obsolete and no longer supported file format. The hog file contains game data such as maps, sounds, music, graphics. In Descent 1 all sound files are stored in DESCENT.PIG file except for one file: DIGITEST.RAW which is in DESCENT.HOG. The hog file extension is associated with the Descent 1 and Descent 2, a 3D action video games for MS-DOS system and various video gaming consoles. Anisimovsky, available on and many other sites across the internet.Īll multi-byte numbers are storedin little endian format. The resource files from the shareware version or the Destination Saturn release are. The information on this page was originally based on one of the many format documents written up by Valery V. PIG and DESCENT.HOG and must be placed in the /apps/descent/ directory.
