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

simple script to add gamemoderun to all your steam launch options #177

Open
frostworx opened this issue Dec 12, 2019 · 0 comments
Open

simple script to add gamemoderun to all your steam launch options #177

frostworx opened this issue Dec 12, 2019 · 0 comments

Comments

@frostworx
Copy link

haven't found an easy way to add gamemoderun to all steam launch options for all my games, so I just wrote this little script.
It's far from perfect, but works for me and maybe someone else has some use for it as well.
Some things worth to mention

  • the script doesn't edit your original ~/.steam/steam/userdata/$YOURSTEAMID/config/localconfig.vdf
    but works with a copy in /tmp/
  • you have to insert your proper ID (valid directory name in ~/.steam/steam/userdata/)
  • it removes every LaunchOptions line first
  • then inserts
    "LaunchOptions" "gamemoderun %command%"
    before every line with "Playtime"
  • you have to copy the edited config manually back and make sure to close steam before.
  • use at your own risk

GamemoderunSteamCommands.txt

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

No branches or pull requests

1 participant