Skip to content

Releases: Galaco/vtf

Improved support

26 Oct 04:13
3f0c638
Compare
Choose a tag to compare
  • Refactored mipmap loading to read in reverse order (largest->smallest). This resolves a rare OOB error caused by an off-by-8bytes offset into mipmap data. This could be reproduced most easily with all 6 faces of the map de_dust2's skybox textures.
  • Added quality of life functions to more easily fetch the 'first' texture (highest-resolution, first frame mipmap).
  • Made return types for image data uniform (replaces instances of []byte with []uint8). These type changes are won't affect compatability.

v1.1.1

05 Apr 19:26
d34aa55
Compare
Choose a tag to compare
Update README.md

Code quality improvements

04 Apr 19:07
d34aa55
Compare
Choose a tag to compare
v1.1.0

Update README.md

Code quality improvements

12 Feb 19:39
Compare
Choose a tag to compare

Not necessarily release-worthy, but I don't see any changes coming in the near future, so tagging the current HEAD

Initial release

22 Dec 12:18
54bb069
Compare
Choose a tag to compare
Merge pull request #4 from Galaco/add-license-1

Create LICENSE

Initial release

12 Nov 12:56
54bb069
Compare
Choose a tag to compare
  • Read support for all supported data formats.
  • Supports versions 7.1 - 7.5 inclusive
  • All header properties across all versions available

No known incompatible files at this time.

  • Does not support > 1 Z-Slice
  • Does not support > 1 depth

Potential outstanding issues:

  • Some textures have a header depth of 0, yet always contain data as if depth is 1. The reason behind this is unclear. A depth=0 image would have no data, which is invalid. Therefore, 0 depth is always treated as 1 depth.