Valve Texture Format (vtf) support

Ideas for improvements and requests for new features in XnView MP

Moderators: XnTriq, xnview

Post Reply
djcj
Posts: 53
Joined: Wed Jan 08, 2014 3:37 pm

Valve Texture Format (vtf) support

Post by djcj » Tue Mar 27, 2018 10:22 pm

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

User avatar
xnview
Author of XnView
Posts: 31267
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Valve Texture Format (vtf) support

Post by xnview » Thu Mar 29, 2018 3:06 pm

do you have some vtf file examples?
Pierre.

djcj
Posts: 53
Joined: Wed Jan 08, 2014 3:37 pm

Re: Valve Texture Format (vtf) support

Post by djcj » Thu Mar 29, 2018 3:19 pm

I've attached a vtf file and its png export for comparison.
Attachments
bm_logo.zip
(32.1 KiB) Downloaded 25 times

User avatar
xnview
Author of XnView
Posts: 31267
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Valve Texture Format (vtf) support

Post by xnview » Fri Mar 30, 2018 8:18 am

ok, thanks XnView Classic support already VTF format, i'll add the support in XnView MP too
Pierre.

viKey
Posts: 7
Joined: Fri Apr 20, 2018 6:45 am

Re: Valve Texture Format (vtf) support

Post by viKey » Fri Apr 20, 2018 6:56 am

Support animation, like a gif, if it possible. And information of compress and flags, please.

Post Reply