Per-game setting profiles #8

Closed
opened 2022-05-13 21:16:19 +01:00 by NGnius · 4 comments
NGnius commented 2022-05-13 21:16:19 +01:00 (Migrated from github.com)

Describe what you'd like to be able to do
Choose & apply settings based on the currently-running game, instead of globally

Describe alternatives you've considered
Manually changing the settings after each game is launched. This is tedious and requires a good memory/notepad.

Additional context
Investigation is required to find out how Steam handles it's per-game configs for non-Steam apps. For steam games, there's probably sufficient information in ~/.steam/registry.vdf

**Describe what you'd like to be able to do** Choose & apply settings based on the currently-running game, instead of globally **Describe alternatives you've considered** Manually changing the settings after each game is launched. This is tedious and requires a good memory/notepad. **Additional context** Investigation is required to find out how Steam handles it's per-game configs for non-Steam apps. For steam games, there's probably sufficient information in `~/.steam/registry.vdf`
notimp commented 2022-05-14 05:50:38 +01:00 (Migrated from github.com)

After reboot Power Tools is disabled and should remain so. Please document, how you will enable profile loading (triggered?) by game (loading?) as well. :) Thank you.

After reboot Power Tools is disabled and should remain so. Please document, how you will enable profile loading (triggered?) by game (loading?) as well. :) Thank you.
NGnius commented 2022-05-14 06:05:26 +01:00 (Migrated from github.com)

When v0.5.0 is released next week there will be a toggle to enable keeping your PowerTools settings after a reboot. Per-game settings will be an extension of this persistence functionality.

I do plan on documenting how detection of games is done, and I will document how & where settings are saved if/when I find a good way to load settings when a game is launched (in v0.5.0 the single settings file will only be loaded when PowerTools is loaded -- at boot -- so this does not apply).

When v0.5.0 is released next week there will be a toggle to enable keeping your PowerTools settings after a reboot. Per-game settings will be an extension of this persistence functionality. I do plan on documenting how detection of games is done, and I will document how & where settings are saved if/when I find a good way to load settings when a game is launched (in v0.5.0 the single settings file will only be loaded when PowerTools is loaded -- at boot -- so this does not apply).
NGnius commented 2022-05-21 04:39:09 +01:00 (Migrated from github.com)

Code for detecting game launch, thanks to AAGaming

SteamClient.Apps.RegisterForGameActionStart((actionType, data) => {
  console.log("start", appStore.GetAppOverviewByGameID(data))
})
Code for detecting game launch, thanks to AAGaming ```javascript SteamClient.Apps.RegisterForGameActionStart((actionType, data) => { console.log("start", appStore.GetAppOverviewByGameID(data)) }) ```
NGnius commented 2022-05-23 03:20:07 +01:00 (Migrated from github.com)

Implemented in 7158ac3596, still need to do some testing to convince myself it's less buggy than v0.5.0

Implemented in 7158ac3596f9e8ec93e05b87bc853973540e695b, still need to do some testing to convince myself it's less buggy than v0.5.0
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: NG-SD-Plugins/PowerTools#8
No description provided.