Skip to content

Conversation

@CyanVoxel
Copy link
Member

@CyanVoxel CyanVoxel commented Aug 5, 2025

Summary

This PR replaces the vtf2img library dependency with srctools in order to render VTF files.

Example VTF files used: https://github.com/TeamSpen210/srctools/tree/master/tests/test_vtf

Fixes #980.

vtf2img:
Image

srctools:
Image

Tasks Completed

  • Platforms Tested:
    • Windows x86
    • Windows ARM
    • macOS x86
    • macOS ARM
    • Linux x86
    • Linux ARM
  • Tested For:
    • Basic functionality
    • PyInstaller executable

@CyanVoxel CyanVoxel added this to the Alpha v9.5.3 milestone Aug 5, 2025
@CyanVoxel CyanVoxel added Type: Bug Something isn't working as intended Type: Refactor Code that needs to be restructured or cleaned up Type: Installation Installing, building, and/or launching the program Type: UI/UX User interface and/or user experience Priority: Low Doesn't require immediate attention Status: Review Needed A review of this is needed labels Aug 5, 2025
@CyanVoxel CyanVoxel moved this to 🏓 Ready for Review in TagStudio Development Aug 5, 2025
@Pheubel
Copy link
Contributor

Pheubel commented Aug 7, 2025

Testing this PR on windows (x64), build from source with pyinstaller.

image

Seems to be working as expected on my end. As far as i know VMT is outside the scope of the PR, so them not displaying is expected (and considering that they are materials, i don't think there is a good way to do it easily.)

@CyanVoxel CyanVoxel removed the Status: Review Needed A review of this is needed label Aug 7, 2025
@CyanVoxel CyanVoxel merged commit 77cfa69 into main Aug 7, 2025
10 checks passed
@github-project-automation github-project-automation bot moved this from 🏓 Ready for Review to ✅ Done in TagStudio Development Aug 7, 2025
@CyanVoxel CyanVoxel deleted the srctools-vtf branch August 7, 2025 01:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Priority: Low Doesn't require immediate attention Type: Bug Something isn't working as intended Type: Installation Installing, building, and/or launching the program Type: Refactor Code that needs to be restructured or cleaned up Type: UI/UX User interface and/or user experience

Projects

Status: ✅ Done

Development

Successfully merging this pull request may close these issues.

[Bug]: VTFs don't generate thumbnails

3 participants