Metal Gear Solid VP3: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
(updated format) |
||
Line 3: | Line 3: | ||
* Samples: http://samples.mplayerhq.hu/game-formats/mgs1-vp3/ | * Samples: http://samples.mplayerhq.hu/game-formats/mgs1-vp3/ | ||
The GameCube version of Konami's [http://www.mobygames.com/game/gamecube/metal-gear-solid-the-twin-snakes Metal Gear Solid: The Twin Snakes], developed by Silicon Knights, uses files that are suspected to contain [[VP3]] video data. | The GameCube version of Konami's [http://www.mobygames.com/game/gamecube/metal-gear-solid-the-twin-snakes 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 [http://sourceforge.net/projects/extractor-gtk Extractor-GTK]. | ||
== File Format == | == File Format == | ||
All multi-byte numbers are big-endian. | All multi-byte numbers are big-endian. | ||
bytes 0-3 total size of file | 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 4-19 unknown | ||
bytes 20-23 video width in pixels | bytes 20-23 video width in pixels | ||
Line 17: | Line 29: | ||
bytes 44-63 unknown | bytes 44-63 unknown | ||
The remainder of the chunks apparently contain raw VP31 data. | |||
[[Category:Game Formats]] | [[Category:Game Formats]] | ||
[[Category:Formats missing in FFmpeg]] | [[Category:Formats missing in FFmpeg]] | ||
[[Category:Undiscovered Game Formats]] | [[Category:Undiscovered Game Formats]] |
Revision as of 11:46, 22 September 2008
- 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.
File Format
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-29 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.