VTF support

Ideas for improvements and requests for new features in XnView Classic

Moderators: XnTriq, xnview

Post Reply
FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

VTF support

Post by FrameX » Sun Mar 21, 2010 11:03 pm

Hi!

Would be great, if support for the VTF (Valve Texture Format) could be added.

Info: http://developer.valvesoftware.com/wiki ... ure_Format

There also exists an Open Source library:
http://nemesis.thewavelength.net/index.php?p=40

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

Re: VTF support

Post by xnview » Mon Mar 22, 2010 8:38 am

Do you have some examples?
Pierre.

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Mon Mar 22, 2010 8:46 pm

Indeed, here they are!
Attachments
vtfexamples.zip
(229.01 KiB) Downloaded 226 times

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Fri Apr 02, 2010 10:34 am

How is it going?
Did the links help?

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Thu Apr 08, 2010 10:39 pm

If you need more (different) examples, just let me know..

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

Re: VTF support

Post by xnview » Fri Apr 09, 2010 8:09 am

FrameX wrote:If you need more (different) examples, just let me know..
Sorry i'll check asap...
Pierre.

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Mon Apr 19, 2010 11:54 am

I've uploaded a bunch of many different examples:
http://www.file-upload.net/download-244 ... s.zip.html

They are part of a free game demo.

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Sun Apr 25, 2010 1:00 pm

I don't want to annoy anybody, but how likely is it now, that support for this format will be added and for which version would it be scheduled?

Don't get me wrong, I just really would like to see this added. But of course I have patience and understanding, if there are planned features with a higher priority. I just wanna make sure, that my request will not be forgotten.

I hope that the examples are useful by the way!

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: VTF support

Post by oops66 » Sun Apr 25, 2010 1:05 pm

Hi,
It's done:
...See here: V1.97-3 : Added: VTF format load support (Plugin) :
http://newsgroup.xnview.com/viewtopic.php?f=35&t=19937
http://www.xnview.com/en/downloadwin32.html
FI: I have tried and that works for me (with your VTF samples) with the XnView 1.97-3 Windows version + Plugin (under Linux + Wine)

The WTF format seems to work too (I have not tested):
http://newsgroup.xnview.com/viewtopic.p ... 931#p83931

...But need to be added here:
http://www.xnview.com/en/formats.html
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Thu Apr 29, 2010 8:35 pm

Thank you for the info!
I can't believe, that I missed it. :|

But it's great news. :D

Thank you very much, Pierre for implementing it!

But I've noticed two issues:

1. I don't have thumbnails in the Windows Explorer. Could you please extend the shell extension too, please?

2. Some textures are displayed incorrectly (some color parts of the images are missing).
I've uploaded an example.

Strangely, in the exports options of XNView, the file is displayed correctly and if I export/save the file as jpeg or something else, everything is fine and nothing lost. It seems, that only the main XNView display window can't handle it correctly.
Attachments
slimeoverlay001a.zip
The vtf file itself
(229.16 KiB) Downloaded 164 times
vtf_xnview.jpg
How it is displayed in XNView
vtf_xnview.jpg (85 KiB) Viewed 5614 times
vtf.jpg
How it should look like
vtf.jpg (76.82 KiB) Viewed 5614 times

User avatar
oops66
XnThusiast
Posts: 1999
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: VTF support

Post by oops66 » Thu Apr 29, 2010 10:03 pm

Hello,
For item 2: You have to disable the alpha channel: "Ctrl+H" shortcut ( alpha channel on/off)
XnViewMP 0.82 Linux X64 - Ubuntu 16.04 LTS - X64

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Fri Apr 30, 2010 8:14 am

Thank you again!

OK, last but not least the shell extension to have thumbnails in the Windows Explorer.

FrameX
Posts: 9
Joined: Sun Mar 14, 2010 6:18 pm

Re: VTF support

Post by FrameX » Fri May 21, 2010 3:51 pm

Is it likely, that VTF thumbnail support for the Windows Explorer will be added?

OmegaThree
Posts: 2
Joined: Mon Sep 13, 2010 3:43 pm

Re: VTF support

Post by OmegaThree » Mon Sep 13, 2010 3:48 pm

Thumbnail support was discussed here. The solution is here.

Post Reply