Repository navigation
Conversation
…rips a wrapper folder installReplacer upper-cased the archive's folder names to find Generated, Public or Data, then made each file relative to that upper-cased folder. Linux paths are case-sensitive, so for an archive like Upscaled Tattoos and Makeup (UpscaledTattoos_Makeup/Generated/...) no file stayed below the folder, the installer returned no instructions and Vortex reported "Installation canceled". Match the folder names without case but keep the archive's spelling for the paths. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 21, 2026
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.
Adds
patches/0045-linux-bg3-replacer-folder-case.patch.The problem
Some Baldur's Gate 3 mods never install on Linux: Vortex shows "Installation canceled". When the mod is part of a collection, the collection can't finish. One example is Upscaled Tattoos and Makeup.
Why it happens
These mods put their files in a
Generated,PublicorDatafolder, wrapped in another folder:The BG3 extension's replacer installer looks for those folders by converting the folder names to upper case. It then uses the upper-case name (
UPSCALEDTATTOOS_MAKEUP) to strip the wrapper folder from each file's path.On Windows, paths ignore case, so this works. On Linux they don't: no file path starts with
UPSCALEDTATTOOS_MAKEUP, every file is dropped, and the installer returns nothing to install.The fix
Folder names are still compared without case, but the paths keep the archive's own spelling. Nothing changes on Windows.
Testing
installers.test.ts, with three archives: aGeneratedfolder inside a wrapper folder, aDatafolder inside a wrapper folder, and an archive that already starts atGenerated. The first two fail on master and pass with the patch.Notes
This is one of three separate pull requests (#37 and #39 are the others). Each one adds its patch at the same place in
PKGBUILDand.SRCINFO, so after the first one is merged the others will need a small conflict fix.Suggested changelog line: Baldur's Gate 3 mods whose archive wraps the Generated, Public or Data folder in another folder, such as Upscaled Tattoos and Makeup, no longer end as "Installation canceled".
🤖 Generated with Claude Code