Skip to content

feat(presets): a "VTF" preset to make Valve textures from any picture - #1611

Merged
KnifeLemon merged 4 commits into
KnifeLemon:mainfrom
ltsammy:feat/vtf-preset
Nov 17, 2026
Merged

KnifeLemon merged 4 commits into
KnifeLemon:mainfrom
ltsammy:feat/vtf-preset

Conversation

@ltsammy

@ltsammy ltsammy commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

What does this change?

Follow-up to #1478 / #1483: a "VTF" preset, so a picture can become a Valve texture from the donut.

Since #1483, VTF has been a target (any picture → .vtf, and .vtf files learn the images donut), but no preset made one. The only way was to build your own preset, so in practice PNG → VTF looked impossible. This adds the preset:

  • "VTF" sits in the palette after HEIC, in the Games field (off in a new install). It is not on a donut.
  • Schema step 95 adds it to existing libraries, after HEIC like in a new one.

Independent of the Source PRs (#1591, #1608, #1609, #1610). They use schema steps 95–98 too, so whichever lands second needs renumbering. I'll take care of that on my side.

Type of change

  • Bug fix
  • New feature or improvement
  • New format or engine
  • Translation
  • Documentation
  • Build, CI or dependencies

How was it tested?

  • dotnet format --verify-no-changes
  • dotnet test (Core: VtfFormatTests gets the v94 → v95 migration: after HEIC, vtf target, not on a donut)
  • Tried it in the app (what you converted or clicked, and on which OS):

Checklist

  • New UI strings are in all src/Filee.App/Assets/i18n/*.json files (none added)
  • New third-party code or binaries are listed in THIRD-PARTY-NOTICES.md (none added)
  • The PR does one thing (unrelated changes go in a separate PR)

VTF has been a target since KnifeLemon#1483, but no preset made one, so a picture
couldn't become a texture from the donut. "VTF" now sits in the palette after
HEIC, in the Games field; existing libraries get it in settings schema 95.
Not on a donut. Follow-up to KnifeLemon#1478.
KnifeLemon and others added 2 commits November 18, 2026 01:33
…akes settings schema 98

Main took 95 (Windows app packages), and the Source PRs took 96 and 97.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
KnifeLemon added a commit that referenced this pull request Nov 17, 2026
#1591 took 96 for the Source engine archives, and 97 and 98 are kept for
the Source engine presets in #1608 and #1611.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

@KnifeLemon KnifeLemon left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @ltsammy. This closes the gap left after #1483: VTF was a target, but no preset made one.

  • The preset sits after HEIC in a new library. The migration puts it in the same place with AddLikeNewLibrary, and only when the library doesn't have it yet.
  • It's in the palette only, not on a donut, and it shows only with the Games field on, like the other game formats.

Main moved, and I handled it: #1585 (Windows app packages) took schema step 95, and #1591 and #1608 then took 96 and 97. So I merged main into your branch (c37c83d) and moved this step to 98:

  • AppSettings.CurrentSchemaVersion is 98;
  • the comment in BuiltInData and the v98 step in UserDataStore say 98;
  • the test is now Version_97_libraries_get_the_vtf_preset_after_heic;
  • the TranslatePresetMigrationTests filter keeps both "to-gma" and BuiltInData.VtfId.

CI is green on the updated head.

@KnifeLemon
KnifeLemon merged commit 46d0612 into KnifeLemon:main Nov 17, 2026
20 of 22 checks passed
KnifeLemon added a commit that referenced this pull request Nov 17, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants