Repository navigation
feat(presets): a "VTF" preset to make Valve textures from any picture - #1611
Merged
Merged
Conversation
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.
This was referenced Nov 17, 2026
…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>
3 tasks done
1 task done
KnifeLemon
approved these changes
Nov 17, 2026
KnifeLemon
left a comment
Owner
There was a problem hiding this comment.
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.CurrentSchemaVersionis 98;- the comment in
BuiltInDataand thev98step inUserDataStoresay 98; - the test is now
Version_97_libraries_get_the_vtf_preset_after_heic; - the
TranslatePresetMigrationTestsfilter keeps both"to-gma"andBuiltInData.VtfId.
CI is green on the updated head.
KnifeLemon
added a commit
that referenced
this pull request
Nov 17, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.vtffiles 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: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
How was it tested?
dotnet format --verify-no-changesdotnet test(Core:VtfFormatTestsgets the v94 → v95 migration: after HEIC,vtftarget, not on a donut)Checklist
src/Filee.App/Assets/i18n/*.jsonfiles (none added)THIRD-PARTY-NOTICES.md(none added)