TVI
Jump to navigation
Jump to search
- Company: Terminal Reality
- Extension: tvi
This is a cutscene format used in Terminal Veclocity game. It relies on having an external palette set by the game engine.
File header:
4 bytes - number of table entries 4 bytes - first frame offset 4*N bytes - offsets to some (but not all) frames
Each frame starts with 32-bit size. Audio frames will start with byte value 3 (which is an illegal opcode for video frames) followed by raw PCM data.
Video data is coded as 320x120 frame split into 8x8 blocks using opcodes (stored as byte) for each block:
- 0 - skip
- 1 - raw block
- 2 - RLE-coded block (0xFF value is used as an escape to signal run, otherwise the byte is output as is)
- 4 - 8-colour pattern block, indices for each block row are stored as separate bits (i.e. first byte is for bits 0, second byte is for bits 1 and third byte is for bits 2).