Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

One-Time Run: Add option to reset entries back to default #833

Merged
merged 4 commits into from
Jun 11, 2023

Conversation

sonic2kk
Copy link
Owner

@sonic2kk sonic2kk commented Jun 11, 2023

Further work for #788.

Clears all One-Time Run related variables in the per-game config to be back to their default values. Blank values essentially reflect the defaults, as blank is false for checkboxes, none for paths, and the Proton version will be handled appropriately too.

Currently this is only implemented from the commandline, example usage:

$ steamtinkerlaunch otr 223280 --default

Also adds 'STEAM_COMPAT_CLIENT_INSTALL_PATH=', which the Proton script now seems to require to launch with Proton.


TODO:

  • Add button to One-Time Run GUI
  • Update help screen with new option
  • Update langfiles (if needed, for the "Default" button)
  • Update wiki

sonic2kk added 2 commits June 11, 2023 19:37
Clears all One-Time Run related variables in the per-game config
to be back to their default values. Blank values essentially
reflect the defaults, as blank is false for checkboxes, none for
paths, and the Proton version will be handled appropriately too.

Also adds 'STEAM_COMPAT_CLIENT_INSTALL_PATH=', which the
Proton script now seems to require to launch with Proton.
@sonic2kk
Copy link
Owner Author

Defaults button was added to the One-Time Run GUI.

image

The language string was re-used from the Main Menu. This is probably fine!

@sonic2kk
Copy link
Owner Author

Help screen updated, shellcheck is green. Wiki will be updated and this will be merged.

@sonic2kk
Copy link
Owner Author

@sonic2kk sonic2kk merged commit 88308c8 into master Jun 11, 2023
@sonic2kk sonic2kk mentioned this pull request Jun 11, 2023
6 tasks
@sonic2kk sonic2kk deleted the otr-default branch June 11, 2023 19:41
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