The Riddle of Master Lu COD

From XentaxWiki
Revision as of 16:48, 12 December 2005 by WATTO (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


COD files contain the depth (or priority) information of background images.

Format Specifications

// *.cod file

uint16 {2}   - Width
uint16 {2}   - Height
byte {X}     - Data

Notes and Comments

  • Each *.cod file should correspond to a background image (*.tt) file.
  • The priority information is saved from the top left to the bottom right, line-wise.
  • Each byte value represents one pixel of the background image. The game engine most probably can handle up to 8 depth layers, and each bit of the priority byte probably tells the engine which layer is in front of this pixel and which is in the back. This is just a guess, though.