Steam for Linux

Steam for Linux

TiZ #HugLife 1 JUN 2013 a las 11:35
%command% not quoted
Hi there. I have a special script I use to start games in a separate X server. It works much like optirun or primusrun in that you just do gamerun bluh to run your thing. But for some games it just doesn't work, for example, Dungeons of Dredmor. In my error log for the game server, I see:

/home/trent/bin/gamerun.xinit: /home/trent/.local/share/Steam/SteamApps/common/Dungeons: No such file or directory

When in reality, the command is /home/trent/.local/share/Steam/SteamApps/common/Dungeons of Dredmor. It has spaces... ugh. I tried putting quotes around %command%, but it makes no diffference.

Short of making scripts just for this special little snowflake and any other developers that think it's a good idea to name their executables with spaces, is there anything I can do to get this to work?
< >
Mostrando 1-3 de 3 comentarios
[Linux] timopm 1 JUN 2013 a las 11:54 
Escape the spaces by using a backslash:

/home/trent/.local/share/Steam/SteamApps/common/Dungeons\ of\ Dredmor
TiZ #HugLife 1 JUN 2013 a las 11:59 
That would be a great thing to tell the Steam developers to do, sure. And yeah, I'm sure I could do that myself. It just kind of defeats the purpose of the %command% variable if I do it myself, you know?
TiZ #HugLife 1 JUN 2013 a las 12:15 
Ah, even more fun-ness. I just found out if I try to do it by manually inserting the command, it ignores the gamerun script entirely. HOORAY.

It seems that the %command% variable MUST be present in order to let wrappers do stuff with the executable.
Última edición por TiZ #HugLife; 1 JUN 2013 a las 12:16
< >
Mostrando 1-3 de 3 comentarios
Por página: 1530 50

Publicado el: 1 JUN 2013 a las 11:35
Mensajes: 3