KORT Sound Archive
|File Allocation Table (FAT)||Beginning|
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:
||Size of the file.
||Unknown. Assumed to be related to buffering. Changing or clearing this value gives playback issues in-game.
||Offset of the file inside the archive.
||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:
The following tools are able to work with files in this format.
||Decompress on extract?
||Compress on insert?
||Access hidden data?
||No possibility to edit the unknown "Buffer" value, but the value is preserved when replacing existing files in the archive.