KORT Sound Archive

From ModdingWiki
Jump to navigation Jump to search
KORT Sound Archive
Format typeArchive
Max files65,536
File Allocation Table (FAT)Beginning
Filenames?Yes, 8.3
Metadata?None
Supports compression?No
Supports encryption?No
Supports subdirectories?No
Hidden data?Yes
Games

The file KORT.SND in King Arthur's K.O.R.T. is an archive containing the game's sound effects and music.

Header

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:

Offset Data type Name Description
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[13] 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.

Types

The archive contains the following file types:

Extension Type Description
CMF Creative Music Format Music files.
VOC Creative Voice File Voice clips and other sound effects.

Tools

The following tools are able to work with files in this format.

Name PlatformExtract files? Decompress on extract? Create new? Modify? Compress on insert? Access hidden data? Edit metadata? Notes
Librarian WindowsYesN/AYesYesN/ANoN/A No possibility to edit the unknown "Buffer" value, but the value is preserved when replacing existing files in the archive.