Hello @tatsujb, this is a feature request for Steam rather than Proton, because it's Steam that handles downloading and managing content, so I've transferred this feature request to the steam-for-linux issue tracker.
I've got an example use-case : https://github.com/tatsujb/installFAFscript
my script allows an ubuntu user to enjoy FAF (the unofficial client) + supreme commander forged alliance.
the script unfortunately is not 100% automated, it still requires user input at certain moments, moments which I really feel could easily be fixed.
enabling steam play for all games.
is there is a non gui-way to do this? I would be most pleased to know.
@kisak-valve , hi, is there any pointers I can get on this? I'm sure that doing it is actually already possible but that I simply do not know where to look.
perhaps it's a dumb as altering a .config file or something of the nature?
I haven't found anything for enabling proton by command line but for setting launch options there may yet be a solution :
for the game's settings I found localconfig.vdf
under ~/.steam/steam/userdata/63405752/config but replacing an entry with something else especially while steam is open, leads to steam replacing it from memory upon close/restart/menu change.
for example I am changing under "Software" :
"9420"
{
"LastPlayed" "1554153269"
}
into
"9420"
{
"LastPlayed" "1554153269"
"ViewedLaunchEULA" "1"
"ViewedSteamPlay" "1"
"BadgeData" "02000000080b"
"LaunchOptions" "PROTON_NO_ESYNC=1 %command%"
}
the result is not applied if steam was running.

+1 bumping this issue for a feature to set LaunchOptions programmatically, either via a steam:// URL, steamcmd or some API to manually refresh localconfig.vdf.
Current hack to kill steam, edit localconfig.vdf, and restart steam is pretty hacky.
Any updates?
@tatsujb does this imply that something like sudo killall steam and then modifying your localconfig.vdf, then restarting steam would apply those changes?
Feature Request
I'd like for it to be possible to streamline the installation of a game via command line / terminal.
right now this is almost possible using steam + steamcmd but the issue remains that you cannot set "proton for all games" to enabled via the command line.
also you cannot edit a game's individual environment commands. (or maybe you can if you know what file to edit but this is not documented.)
I confirm:
contain this feature already.
Description