By Ben Owen, 16/08/2009
Revision 1
-------------------------------
The .CPS files each contain a single 256-colour image with dimensions 320 x 200 pixels. The file may contain a palette, as in VIRGIN.CPS, although in most cases IBM.PAL is used to draw the image.
The .CPS file header is represented by:
header {
Int16 Size; // File size - 2
Int16 Unknown; // Always 0x0004, perhaps some sort of formatting mark?
Int16 ImageSize // Size of decompressed image. Always 0x0FA00, since
always 320 x 200 px.
Int32 PaletteSize; // If there is a palette, it will be 0x30000000
}