Metal Gear Solid VP3
- Extension: none (extracted from a game resource file)
- Company: Silicon Knights
- Samples: http://samples.mplayerhq.hu/game-formats/mgs1-vp3/
The GameCube version of Konami's Metal Gear Solid: The Twin Snakes, developed by Silicon Knights, uses files that are suspected to contain VP3 video data. Be advised that the file format described here explains files as extracted by Extractor-GTK.
All multi-byte numbers are big-endian.
The files are comprised of a series of chunks. Each chunk has the following layout:
bytes 0-3 0x0000000E bytes 4-7 total length of the chunk bytes 8-11 unknown; might be reserved and set to 0 bytes 12-15 length of the payload bytes 16.. payload
Note that the chunks are 0-padded to 16-byte boundaries. Thus, the length of the payload + 16 does not necessarily equal the total length of the chunk.
The first chunk contains header information which has the following format:
bytes 0-3 close to the total size of the file, but not exact and should not be used bytes 4-19 unknown bytes 20-23 video width in pixels bytes 24-27 video height in pixels bytes 28-35 unknown bytes 36-39 possibly the frame rate (18 fps?) bytes 40-43 video codec FourCC ('13PV', VP31 spelled backwards) bytes 44-63 unknown
The remainder of the chunks apparently contain raw VP31 data.