KORT BMP Format
The sprites format used in King Arthur's K.O.R.T. is an uncompressed non-indexed set of frames which have to be read in sequential order. The header does provide the number of frames. Like in the KORT Image Format, the image data itself is flipped in classic Bitmap style, meaning the lowest row is at the start of the data.
The file has a short header with the number of frames and some identifying value. This is immediately followed by repeating blocks of frame data.
|0x00||UINT16LE||NrOfFrames||Number of frames in the file.|
|0x02||UINT16LE||Width||Width of the frame|
|0x04||UINT16LE||Height||Height of the frame|
|0x06||UINT16LE||Stride||Repetition of the width; most likely the stride. Not really useful since the data seems to always be compact. It has not been tested how the game interprets this.|
|0x08||UINT32LE||Size||Size of the following frame data block. Will always match |
|0x0C||BYTE[Size]||FrameData||The actual frame data; a compact bottom-up 8 bpp image.|
As mentioned, the image data will start from the bottom left corner, meaning the final image data needs to be flipped horizontally to get the final image.
The following tools are able to work with files in this format.
|Name||Platform||View images in this format?||Convert/export to another file/format?||Import from another file/format?||Access hidden data?||Edit metadata?||Notes|
|Engie File Converter||Windows||Yes||Yes||Yes||N/A||N/A|
|KORT Sprite Converter||Windows||No||Yes||Yes||N/A||N/A||Command line tool. The code from this tool was later implemented in the Engie File Converter.|