SKUPINA SLUŽBY STEAM
Linux User Group s-lug
SKUPINA SLUŽBY STEAM
Linux User Group s-lug
312
VE HŘE
2,381
ONLINE
Založena
16. dubna 2010
Jazyk
Angličtina
[Worked around] Very specific awk/sed situation
Edit
I found that DXVK state cache[github.com] is a better idea than abusing Steam launch options. Some ready to use cache files can be obtained here[github.com].



Launching games on Steam offers a neat feature, using %command% to insert the command given by the client.

What I want to do is to replace the last argument, which always appears to be the executable path, with a custom path I set, so that I can run my custom instance of the game.

The problem is that the executable path uses quotes, and no instant solution worked because of that.

Preview of %command% for Teardown:
/home/user/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1167630 -- /home/user/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/user/.local/share/Steam/steamapps/common/SteamLinuxRuntime_soldier'/_v2-entry-point --verb=waitforexitandrun -- '/home/user/.local/share/Steam/steamapps/common/Proton 7.0'/proton waitforexitandrun '/path/to/SteamLibrary/steamapps/common/Teardown/teardown.exe'

I want to do this because I don't know how to manually set up shader cache for Steam games launched outside of Steam, since it helps with performance.

Also, I will be totally honest, I have no idea how to use these. It is what I'm least familiar with and not very interested in learning how to use.
Naposledy upravil lightwo; 5. lis. 2022 v 12.36