Stardock VDO
Jump to navigation
Jump to search
Company: Stardock Entertainment Game: Entrepreneur
This is a simple animation format used mostly for the animated title screen of the game.
File header (values are little-endian):
5 bytes - "VID02" 4 bytes - video width 4 bytes - video height 4 bytes - number of frames 768 bytes - palette
Frame data starts with one byte of coding mode and 4-byte payload size. Known compression modes are:
- 0 - raw frame data
- 1 - full-frame RLE (top bit - copy/run, low 7 bits - operation length minus one)
- 2 - RLE-compressed partial frame (same compression as mode 1 but data may end at any moment)
- 3 - sparse RLE-compressed update (now 1-2 top bits denote the operation and low 6-7 bits its length minus one:
00xxxxxx
- copy,01xxxxxx
- run,1xxxxxxx
- skip) - 4 - same as mode 2 but starts with 4-byte offset at which frame should be updated
- 5 - same as mode 3 but starts with 4-byte offset at which frame should be updated