Castles II video
Jump to navigation
Jump to search
- Game: Castles II
- Extension: .M
This is a simple animation format presumably created by Byon Garrabrant and used in game to show a grayscale film footage (for other animations Interplay MVE is used).
Header:
10 bytes - "BYON PIZZA" 2 bytes - height 2 bytes - width 2 bytes - unknown
Then video frames follow, each starting with 16-bit size.
Frames are split into 2x2 tiles and use the following opcodes to decode them:
- 0-63 -- this is the first pixel value, other three pixel value follow
- 64-127 -- fill tile with the value of low 6 bits of the opcode
- 128-255 -- skip 0-127 tiles
Video uses 64 greyscale shades with 0 corresponding to white and 63 corresponding to black.