KORT Sound Archive
The file KORT.SND in King Arthur's K.O.R.T. is an archive containing the game's sound effects and music.
The file starts with a UINT16LE which indicates the amount of files in the archive. This is followed by the files index, an array of entries with the following 25-byte structure:
|0x00||UINT32LE||Size||Size of the file.|
|0x04||UINT32LE||Buffer||Unknown. Assumed to be related to buffering. Changing or clearing this value gives playback issues in-game.|
|0x08||UINT32LE||Offset||Offset of the file inside the archive.|
|0x0C||ASCIIZ||Filename||The name of the file. The header reserves space for an 8.3 format filename plus its ending 00 byte, giving this field a total length of 13 bytes.|
The files inside the archive are sorted alphabetically, but grouped by type: first the .CMF ones, then the .VOC ones. The archive doesn't contain any other files, but it can be assumed that the actual ordering is that the extension grouping is also done alphabetically. It is unknown whether changing the file order has any impact on the game.
The archive contains the following file types:
|CMF||Creative Music Format||Music files.|
|VOC||Creative Voice File||Voice clips and other sound effects.|
The following tools are able to work with files in this format.
|Name||Platform||Extract files?||Decompress on extract?||Create new?||Modify?||Compress on insert?||Access hidden data?||Edit metadata?||Notes|
|Librarian||Windows||Yes||N/A||Yes||Yes||N/A||No||N/A||No possibility to edit the unknown "Buffer" value, but the value is preserved when replacing existing files in the archive.|