LMS

From MultimediaWiki
Jump to navigation Jump to search

LMS is a multimedia format used on the Sega CD game Ecco The Dolphin. It is a raw grayscale video plus audio format. Frames are grouped into larger blocks in the following format:

 2048 bytes - unused?
 8820 bytes - left channel PCM
 1420 bytes - padding
 2048 bytes - unused?
 8820 bytes - right channel PCM
 1420 bytes - padding
 12x8192 bytes - twelve video frames

Video frames are stored in the console format (two 4-bit palette indices in one byte, 32 bytes per one 8x8 tile) except that tiles are arranged in a special order: first frame is divided into strips 4 tiles high and strips are filled column by column. Palette indices seem to correspond to grayscale shades, palettes do not seem to be stored anywhere.