PGA Tour 97 VAN: Difference between revisions
Jump to navigation
Jump to search
imported>Ikskoks |
imported>Ikskoks |
||
| Line 45: | Line 45: | ||
4 bytes (uint32) - size of the compressed GFX data? | 4 bytes (uint32) - size of the compressed GFX data? | ||
x bytes - brush 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 | |||
x bytes - table of character headers | |||
x bytes - graphics data | |||
</pre> | </pre> | ||
</div> | </div> | ||
Revision as of 15:05, 1 January 2021
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
x bytes - table of character headers
x bytes - graphics 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.