feat: add persistent per-game compatibility profiles (#449)

* feat(profiles): add persistent per-game compatibility profiles

* fix(profiles): show Windows component overrides

Include per-game Windows component selections in the resolved profile summary so the session overlay marks those games as custom and shows the selected components.

* fix(session): detect Proton games across runtime paths

* fix(profiles): select the active Gamescope game

* fix(profiles): improve per-game reset feedback

* fix(profiles): align session components with game overrides

* fix(session): prefer selected Steam game during refresh

* fix(session): resume profile following when reopening games

* chore: keep local dev testing outside the repository

* test(session): remove local dev package path

* fix(session): preserve profiles when refresh fails

* fix(session): reject empty game profile reset scope

* perf(session): cache drawer inventory by refresh revision

* fix(profiles): align game presets and profile reset behavior

* fix(profiles): preserve originals and normalize shortcut ids

* fix(profiles): keep editor scope stable after rebase

* fix(tests): host Compose tests in both build variants

* fix(profiles): recover interrupted component selection saves

---------

Co-authored-by: Kurt Himebauch <136133082+xXJSONDeruloXx@users.noreply.github.com>
This commit is contained in:
Juan MartíandKurt Himebauch authored and GitHub committed 2026-10-11 17:00:28 -04:00
1 parent 78fcb60fd5
commit 435beb7f19
46 files changed
+3501 -150

No files matched your search

+50 -1
View File
@@ -58,7 +58,7 @@
<string name="game_env_save">Save</string>
<string name="game_env_remove">Remove</string>
<string name="game_env_restore">Inherit again</string>
<string name="game_env_reset">Reset this profile</string>
<string name="game_env_reset">Clear environment overrides</string>
<string name="game_env_unset">Unset for this profile</string>
<string name="game_env_empty">No variables set.</string>
<string name="game_env_inherited">Inherited</string>
@@ -413,6 +413,41 @@
<string name="comp_check_nightlies">Check the Nightlies for new packages</string>
<string name="comp_proton">Proton</string>
<string name="comp_proton_note">The Proton chosen here runs every game that has not picked its own in Steam, and a change made in Steam shows here too. Steam replaces Valve\'s Proton when it updates; originals are kept per build.</string>
<string name="comp_scope">Configuration</string>
<string name="comp_profile_configure">Configure profile</string>
<string name="comp_profile">Profile</string>
<string name="comp_scope_general">Default profile</string>
<string name="comp_scope_general_detail">Used automatically by games without overrides.</string>
<string name="comp_profile_game_detail">Saved settings used automatically when %1$s launches.</string>
<string name="comp_game_hint">Choose only the settings this game needs. Everything else continues to use the Default profile.</string>
<string name="comp_game_fex">FEX preset</string>
<string name="comp_game_fex_inherited">Using the Default profile preset.</string>
<string name="comp_game_fex_override">Custom preset saved for this game.</string>
<string name="comp_game_fex_custom">Custom FEX variables</string>
<string name="comp_game_use_general">Use Default</string>
<string name="comp_game_compatibility">Game compatibility</string>
<string name="comp_game_environment_hint">Proton, DXVK, VKD3D and synchronization environment options for this game.</string>
<string name="comp_game_proton_inherited">Using the Default profile Proton.</string>
<string name="comp_game_proton_override">Custom Proton saved for this game through Steam compatibility mapping.</string>
<string name="comp_no_proton_short">No Proton</string>
<string name="comp_game_dxvk">DXVK</string>
<string name="comp_game_vkd3d">VKD3D-Proton</string>
<string name="comp_game_component_runtime">Uses the Default profile package from %1$s unless this game selects another package.</string>
<string name="comp_game_component_general">Uses the Default profile component package.</string>
<string name="comp_game_component_override">Uses %1$s only for this game.</string>
<string name="comp_game_runtime_options">Runtime options</string>
<string name="comp_game_environment_other_hint">Other per-game Proton, DXVK, VKD3D-Proton and synchronization environment options.</string>
<string name="comp_game_saved_next">%1$s\'s profile is saved for the next game launch.</string>
<string name="comp_game_proton_live">%1$s\'s Proton choice is saved and available in Steam now.</string>
<string name="comp_game_proton_next">%1$s\'s Proton choice is saved. Restart Steam before launching the game.</string>
<string name="comp_game_proton_not_runnable">%1$s cannot use the selected Proton on this device.</string>
<string name="comp_game_load_failed">Could not load %1$s\'s profile: %2$s</string>
<string name="comp_game_save_failed">The game profile could not be saved: %1$s</string>
<string name="comp_game_reset">Reset game profile</string>
<string name="comp_game_reset_title">Reset %1$s\'s profile?</string>
<string name="comp_game_reset_body">Remove this game\'s Proton, FEX, component package, environment, texture filtering, and Windows component overrides? It will use the Default profile.</string>
<string name="comp_game_reset_done">%1$s now uses the Default profile.</string>
<string name="comp_game_reset_failed">The game profile could not be reset completely: %1$s</string>
<string name="comp_default_live">%1$s now runs every game that has not picked its own Proton in Steam.</string>
<string name="comp_default_next">%1$s will run every game that has not picked its own Proton, from the next time Steam starts.</string>
<string name="comp_default_not_runnable">%1$s cannot start games here, so it cannot be the default.</string>
@@ -576,6 +611,19 @@
<string name="drawer_stop_title">Stop session?</string>
<string name="drawer_running_now">Running now</string>
<string name="drawer_no_game">No game is running on a Proton</string>
<string name="drawer_selected_profile">Game profile</string>
<string name="drawer_selected_profile_none">Profile details are not available yet.</string>
<string name="drawer_profile_refresh_failed_initial">Couldn\'t load game profiles. Retrying automatically.</string>
<string name="drawer_profile_refresh_failed_stale">Couldn\'t refresh game profiles. Showing the last available data; retrying automatically.</string>
<string name="drawer_profile_inspect_hint">View and edit the saved settings used on the next launch.</string>
<string name="drawer_profile_default">Using Default profile</string>
<string name="drawer_profile_custom">Custom profile</string>
<string name="drawer_component_inherited">Using %1$s from the Default profile.</string>
<string name="drawer_game_components_note">Changes are saved to %1$s\'s profile and apply the next time the game launches.</string>
<plurals name="drawer_profile_environment_overrides">
<item quantity="one">%1$d game override</item>
<item quantity="other">%1$d game overrides</item>
</plurals>
<string name="drawer_no_proton">No Proton is installed yet.</string>
<string name="drawer_game_running">game running</string>
<string name="drawer_reapplied">re-applied at launch %1$s</string>
@@ -1257,6 +1305,7 @@
<!-- Shown as "Auto (direct)" in the drawer's touch setting -->
<string name="session_touch_auto_direct">direct</string>
<string name="session_swap_failed">Swap failed: %1$s</string>
<string name="session_profile_save_failed">Profile save failed: %1$s</string>
<string name="session_desktop_paused">The desktop is paused</string>
<!-- %1$s is the program's name -->
<string name="session_named_paused">%1$s is paused</string>