Page 1 of 1

Valve Texture Format (vtf) support

Posted: Tue Mar 27, 2018 10:22 pm
by djcj
The Valve Texture Format (VTF) is the proprietary texture format used by the Source engine.
https://developer.valvesoftware.com/wik ... ure_Format

It would be convenient if XnViewMP could handle this too, so I don't need to view .vtf files in VTFEdit.
You could use the LGPL licensed VTFLib for decoding: http://nemesis.thewavelength.net/index.php?c=177#p177
It will need some work to compile on Mac and Linux though.

Update:

There's a Qt plugin for it depending on a Linux-compatible port: https://github.com/panzi/qvtf
Requiring -> https://github.com/panzi/VTFLib

Re: Valve Texture Format (vtf) support

Posted: Thu Mar 29, 2018 3:06 pm
by xnview
do you have some vtf file examples?

Re: Valve Texture Format (vtf) support

Posted: Thu Mar 29, 2018 3:19 pm
by djcj
I've attached a vtf file and its png export for comparison.

Re: Valve Texture Format (vtf) support

Posted: Fri Mar 30, 2018 8:18 am
by xnview
ok, thanks XnView Classic support already VTF format, i'll add the support in XnView MP too

Re: Valve Texture Format (vtf) support

Posted: Fri Apr 20, 2018 6:56 am
by viKey
Support animation, like a gif, if it possible. And information of compress and flags, please.