Repository navigation
feat: per-game profiles for Steam games - #170
Merged
Merged
Conversation
While a session runs, Steam's running game (RunningAppID) is read on
every Tick. A game with a profile gets its resolution, HDR, FPS limit
and audio output applied when it starts, and the game screen goes back
to how it was when it closes or another game starts. Profiles are
saved from the session menu ("Game profile" row, shown while a Steam
game runs) from what the game screen uses at that moment, and listed
and deleted in Settings and in the console System tab. Each part is
applied on its own, so one that fails is logged and the rest still
apply; going back to the PC restores the desk as before.
Closes #69
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes Per-game Steam profiles from detection and application through restoration, management UI, localization, documentation, and pure-logic tests.
- Profile lifecycle
ConsoleEnginedetects game starts, ends, and switches, applies configured display/HDR/FPS/audio values, and restores the captured game baseline. - Profile management The session menu saves/removes the current game's profile; desktop Settings and console System provide saved-profile lists and deletion.
- Steam and config support Profiles persist in
AppConfig, while game names are resolved from Steam registry data or library manifests. - Supporting updates Localization catalogs, paired guides, the manual testing checklist, changelogs, and unit tests cover the feature.
gpt-6-luna | 𝕏
# Conflicts: # CHANGELOG.en-US.md # CHANGELOG.md # docs/GUIDE.de-DE.md # docs/GUIDE.es-ES.md # docs/GUIDE.fr-FR.md # docs/GUIDE.md # docs/GUIDE.pt-BR.md # docs/GUIDE.ru-RU.md # docs/TESTING.md # src/ConsoleMode/Models/Models.cs # src/ConsoleMode/Resources/Strings.de-DE.json # src/ConsoleMode/Resources/Strings.en-US.json # src/ConsoleMode/Resources/Strings.es-ES.json # src/ConsoleMode/Resources/Strings.fr-FR.json # src/ConsoleMode/Resources/Strings.pt-BR.json # src/ConsoleMode/Resources/Strings.ru-RU.json # src/ConsoleMode/Services/ConsoleEngine.cs # src/ConsoleMode/Services/LocalizationService.cs # src/ConsoleMode/ViewModels/MainViewModel.cs # src/ConsoleMode/Views/ConsoleHomeView.xaml # src/ConsoleMode/Views/SettingsView.xaml # tests/ConsoleMode.Tests/ConsoleMode.Tests.csproj
Contributor
There was a problem hiding this comment.
Important
This merge leaves the Console System view's XAML malformed, which is expected to prevent the Windows app from building.
Reviewed changes The merge from current main was reviewed for its net changes since the prior Pullfrog review.
- Merged current
mainThe merge incorporated the latest Console System settings markup alongside the per-game profile row.
gpt-6-luna | 𝕏
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Closed
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.

Closes #69.
Each Steam game can keep its own resolution/refresh rate, HDR, FPS limit and audio output. The profile is applied when the game starts during a session and undone when it closes.
How it works
ConsoleEngine.TickGameProfilereads Steam'sRunningAppID(the same registry valueSteamShutdownalready uses) on every Tick, in all launch modes. So a Steam game is caught whether it was opened from Big Picture, Playnite or the Xbox app.GameProfiles.Change(pure, tested) turns two reads into Started / Ended / Switched; an unknown read changes nothing.ApplyFocusMode,SetHdrFromMenu,Rtss.SetLimit,Audio.SetOutput). A part that fails is logged in Portuguese and the rest still apply; an audio output that is gone is skipped.appmanifest_*.acf(parsed inGameProfiles, tested).AppConfig.GameProfiles(an empty list for older configs). Strings are in all 6 catalogs, the GUIDE paragraph is in all 6 languages, and TESTING.md has a checklist.Verified
dotnet test: 510 passed (15 new: change detection, upsert/remove/find, summary, manifest/library parsing, JSON round-trip, old configs).Note: the README roadmap line still lists #69 (and #30) as planned. I left it to the release prep so the three open feature PRs don't conflict on that line.
🤖 Generated with Claude Code