For non-Steam games: %command% in the launch options is not interpreted
Your system information
- Steam client version (build number or date): 1547865289 (Jan 19 2019, at 02:01:59)
- Distribution (e.g. Ubuntu): Arch Linux
- Opted into Steam client beta?: Yes
- Have you checked for system updates?: Yes
Please describe your issue in as much detail as possible:
So non-Steam windows games can be added via .exe file and launched through proton directly in the client now. However the %command% macro that works in the launch options for the other Steam games does not seem to be interpreted for those non-Steam launchers.
So setting something like :
DXVK_HUD=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command%
Will just append them as parameters to the launched executable.
Steps for reproducing this issue:
- Add a non-Steam windows game via its
.exe(Add a Non-Steam Game... > Browse > File type: All Files > Open a .exe) - In its properties select "Set launch options..."
- Set for instance
DXVK_HUD=1 PROTON_DUMP_DEBUG_COMMANDS=1 %command% - They will just be supplied as parameters to the launched executable
Does normal arguments like -devmode etc work? is it just the %command% param trick not working?
EDIT: Yes normall arguments seem to work, tested by me.
I can confirm that I have the same issue.
As a temporal workaround you could just start steam with specific env var, eg
DXVK_HUD=1 steam
As a temporal workaround you could just start steam with specific env var, eg
DXVK_HUD=1 steam
The better way to do it is renaming user_settings.sample.py to user_settings.py in proton and setting the variable there for now. But it would make more sense and be more practical to have that macro work for non-steam shortcuts.
~~Would love to see this "fixed". I mainly need this feature to be able to launch the game with optirun %command%.~~
nvidia-xrun is better.
Also having the same problem. Looking forward to a fix
I have this issue also
Just hit this issue as well (commenting to keep track of the status of this bug). "Set launch options" does not behave consistently between Steam and non-Steam games.
[edit] This issue affects also non-windows games. Linux native games (installed e.g. using apt or dnf) are affected.
Yeah its still a issue, I forgot this still existed until I started messing with skyrimse and used a whole heap of arguments etc to configure things on launch.
Commenting to say that this issue still occurs, I have the non-Steam version of GTA V and cannot use WINEDLLOVERRIDES=winedbg.exe=d %command% so instead have to use strace every time to get into GTA Online without crashing.
Is this ever going to be fixed? It has been almost 7 months now since this issue was opened.
I'll haft to test this again to see if its the case.
I'll haft to test this again to see if its the case.
Just tested myself. Still doesn't work
Issue still occurs with Proton 4.11-4.
This issue is not related to Proton.
Correct the issue is related to steam, there is a steam valve general github you can place the issue on I think?
I'm aware that this issue isn't related to Proton @dreamer, I wasn't saying that it is. Just that with the release of the latest Proton, the issue still occurs.
I ran into this issue and after an hour or so of looking through the Proton Python scripts I found that the environment variables are being set correctly before proton runs, and the code causing issues was only running when "VR_CONFIG_PATH" is in the environment. So my hacky temporary solution is to just include VR_CONFIG_PATH= with any other variables I'm setting before %command%.
The error is being triggered when Proton runs "[...]/wine winepath -w /home/USERNAME/.steam/steam/config" but I can't understand why winepath would fall apart in these circumstances because winepath shouldn't even be using the command line at all anyway. But is seems, to me, like an issue in Proton rather than the Steam client, because Proton is getting the correct environment variables and command line.
tl;dr: I got Grey Goo working by setting the launch options to this: VR_CONFIG_PATH= PROTON_NO_ESYNC=1 %command%
Have this same issue. Workaround launching steam with that env var works.
DXVK_HUD=1 steam
Problem with that is that some games work a lot better without DXVK_HUD=1, so it's not really suitable as a longterm solution, which is why I went through the code to find the VR_CONFIG_PATH= workaround, presumably it won't work for VR games launched via proton because they won't find their CONFIG_PATH, but that's less games than the EVERYTHING that's affected by setting the steam environment on launch