PGA Tour 97 VAN
VAN
- Game : PGA Tour 97
- Format Type : Animation
- Endian Order : Little Endian
Format Specifications
// VAN file format
// little endian
// VANM chunk
4 bytes (char) - chunk name // "VANM"
4 bytes (uint32) - size of the chunk data
4 bytes (uint32) - bytes to skip
2 bytes (uint16) - version (major) // "1"
2 bytes (uint16) - version (minor) // "15"
// VCOL chunk (color palette chunk)
4 bytes (char) - chunk name // "VCOL"
4 bytes (uint32) - size of the chunk data
x bytes - palette data (one BGR16 value per entry)
// VBRU chunk (brush chunk)
4 bytes (char) - chunk name // "VBRU"
4 bytes (uint32) - size of the chunk data
2 bytes (uint16) - width of the brush
2 bytes (uint16) - height of the brush
2 bytes (int16) - handle X position
2 bytes (int16) - handle Y position
1 byte (uint8) - compression type // "0" - no compression
// "1" - LZ1 compression
// "2" - RLE compression
// "3" - SPS1 compression
1 byte (uint8) - frame command // "0" for none
2 bytes (uint16) - command data?
4 bytes (uint32) - size of the uncompressed GFX data?
4 bytes (uint32) - size of the compressed GFX data?
x bytes - brush data
// VFNT chunk (font chunk)
4 bytes (char) - chunk name // "VFNT"
4 bytes (uint32) - size of the chunk data
1 byte (uint8) - first character in the font
1 byte (uint8) - last character in the font
2 bytes (uint16) - reserved
2 bytes (int16) - distance from the baseline to ascending line (highest point in the font)
2 bytes (int16) - distance from the baseline to descending line (lowest point in the font)
2 bytes (int16) - distance from the baseline to next line baseline
2 bytes (uint16) - space character width
4 bytes (uint32) - size of the uncompressed graphics
4 bytes (uint32) - size of the compressed graphics
// table of character headers
num_of_char_headers *
{
1 byte (uint8) - character width // may be 0 if character isn't in the font
1 byte (uint8) - character height
1 byte (uint8) - displacement width
1 byte (int8) - character Y position base
2 bytes (uint16) - size of the uncompressed graphics
2 bytes (uint16) - size of the compressed graphics // may be 0 if the graphics are not compressed
}
x bytes - graphics data
// VANI chunk (animation chunk)
4 bytes (char) - chunk name // "VANI"
4 bytes (uint32) - size of the chunk data
4 bytes (uint32) - bytes to skip
2 bytes (uint16) - number of frames in the animation
2 bytes (uint16) - frame rate // may be 0 if frame rate is not constant
2 bytes (uint16) - width of the animation
2 bytes (uint16) - height of the animation
1 byte (uint8) - transparent pen color
1 byte (uint8) - unused
2 bytes (uint16) - padding
x bytes - animation data
MultiEx BMS Script
Not written yet.
Notes and Comments
- VAN is Video Animation file format.
- There are also other chunks like:
VFNT - font chunk
VANI - animation chunk
VD2F - mask chunk
but they are not covered in this documentation.
Compatible Programs
None.