Skip to content

Update Steam/Proton compatibility#582

Merged
loathingKernel merged 5 commits intoRareDevs:mainfrom
loathingKernel:develop
Aug 18, 2025
Merged

Update Steam/Proton compatibility#582
loathingKernel merged 5 commits intoRareDevs:mainfrom
loathingKernel:develop

Conversation

@loathingKernel
Copy link
Contributor

  • Compatibility: export needed environment variables for per-game shader cache
  • Compat: set STEAM_COMPAT_LIBRARY_PATHS and STEAM_COMPAT_INSTALL_PATH correctly
  • ProtonSettings: add selection combobox for compat data path
  • WineResolver: Set some env variables Proton expects unless they are already set.
  • Paths: skip shader cleanup on nvidia

…r cache

The controlling environment variable is now `STEAM_COMPAT_SHADER_PATH` which
some custom protons also understand. For the moment, Rare will set up the
effective environment in a way that each game gets its own shader cache dir
even when a common compatibility data dir is used.
The combobox has three options, shared, isolated and custom. Shared sets it
to the default prefix, i.e. the one shaders between games. Isolated uses a
unique prefix for that game, incurring the usual space and setup time cost,
but keeping thing clean. Custom uses a user-specified prefix.
@loathingKernel loathingKernel merged commit a705a8d into RareDevs:main Aug 18, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant