File specifications / DCTT




Planer project file

Where Size Name Description
0 4 byte ID "dctt"
4 16 byte RGBA values of the 4 colors
  • Color #0 (00) = Background
  • Color #1 (01) = The 1st color
  • Color #2 (10) = The 2nd color
  • Color #3 (11) = The 3rd color
20 2048 byte Character table 256x8
2068 1 byte Tiles number default: 16
2069 X byte Tiles 16x
  • Tile width (W = 1 byte)
  • Tile height (H = 1 byte)
  • WxH bytes
2069+X 1 byte Selected tile default: 0..15
2069+X+1 625 000 byte MAP 40x25 x 25x25 = 1000x625

RLE compression (for each 25 000 bytes):
  • 128 is the flag of compressed data: 128+CountHigh+CountLow+DataByte
  • 128 stored as double 128
2069+X+625 002 2 byte X MAP position High byte + Low byte
2069+X+625 004 2 byte Y MAP position High byte + Low byte
2069+X+625 006 625 000 byte Color MAP 40x25 x 25x25 = 1000x625

RLE compression (for each 25 000 bytes):
  • 128 is the flag of compressed data: 128+CountHigh+CountLow+DataByte
  • 128 stored as double 128