GRUP STEAM
Linux User Group s-lug
GRUP STEAM
Linux User Group s-lug
428
ÎN JOC
2,866
ONLINE
Creat la
16 aprilie 2010
Limbă
Engleză
Toate discuțiile > Linux Tech Chat/Help > Detaliile subiectului
[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.
Editat ultima dată de lightwo; 5 nov. 2022 la 12:36
Toate discuțiile > Linux Tech Chat/Help > Detaliile subiectului