KORT BMP Format
Format type | Tileset |
Hardware | VGA |
Max tile count | 65535 |
Palette | Shared |
Tile names? | No |
Minimum tile size (pixels) | 0×0 |
Maximum tile size (pixels) | 65535×65535 |
Plane count | 1 |
Plane arrangement | Linear |
Transparent pixels? | Palette-based |
Hitmap pixels? | No |
Metadata? | None |
Supports sub-tilesets? | No |
Compressed tiles? | No |
Hidden data? | No |
Games | |
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.
File format
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.
Offset |
Data type |
Name |
Description
|
0x00 |
UINT16LE |
NrOfFrames |
Number of frames in the file.
|
0x02 |
UINT16LE |
Id |
Always 0x0016.
|
Frame
Offset |
Data type |
Name |
Description
|
0x00 |
UINT16LE |
FrameNr |
Frame number
|
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 Height*Width (or Height*Stride ).
|
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.
Tools
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. |