Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

AndrewBetson/KIO-VTF-Thumb-Creator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A KF5 update of KIO-VTF-Thumb-Creator by Mathias "Panzi" Panzenböck.

Run build_and_install.sh to build and install (duh).

Notes

  • Depends on VTFLib.
  • Pass -DUSE_LIBTXC_DXTN=OFF when generating VTFLibs build files if you don't want to have to download, build and install libtxc_dxtn first.
  • Ensure you have the necessary Qt5 and KF5 development packages installed. (you're unfortunately on your own wrt figuring out exactly which packages those are, as I can't find any concrete answers to that myself...)

TODO

  • Fix DXT1 alpha bug.
  • Find out if there's a way to require that a file has both the .vtf extension and VTF\x00 magic to fix VPK thumbnail bug.
  • Maybe add animated hover-over preview for animated textures.

Preview

preview

Original README

KIO Thumbnail VTF Plugin

Plugin for KDE KIO thumbnail to load Valve Texture Files (read-only). Using this you will be able to preview VTF files in KDE programs like Dolphin.

For a general read-only integration into Qt applications (e.g. view VTF files in Gwenview) see qvtf and for the same for Gtk+ see pixbufloader-vtf.

Setup

git clone https://github.com/panzi/KIO-VTF-Thumb-Creator.git
mkdir KIO-VTF-Thumb-Creator/build
cd KIO-VTF-Thumb-Creator/build
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr
make
sudo make install

To enable previews in Dolphin open the settings dialog (Control -> Configure Dolphin...) and enable Valve Texture Format under General -> Previews.

Dependencies

License

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

About

KIO Thumbnail Creator plugin for Valve Texture Files

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C++ 58.9%
  • CMake 39.1%
  • Shell 2.0%