Powerslave LMF

From MultimediaWiki
Jump to navigation Jump to search

This is an animation format used by Powerslave intro (aka book.mov). It encodes 320x200 video in transposed format.

File header:

 4 bytes - "LMF "
 16 bytes - ?

Chunks start with 1-byte type and 4-byte size. Chunk types are:

  • 1 - VGA palette (plus some byte)
  • 2 - audio data
  • 3 - video frame data
  • 4 - frame end marker

Frame data starts with 16-bit number of columns to leave unchanged followed by (skip,copy) pairs of bytes telling how many pixels to skip and how many to update, optionally followed by the new pixel data.