PGA Tour 97 VAN: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 55: Line 55:


* VAN is Video Animation file format.
* VAN is Video Animation file format.
* There are also other chunks like: <br>
'''VFNT''' - font chunk
'''VANI''' - animation chunk
'''VD2F''' - mask chunk
but they are not covered in this documentation.


=== Compatible Programs ===  
=== Compatible Programs ===  

Revision as of 19:06, 29 December 2020

VAN


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

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.