This topic has been locked
nepeggio Nov 1, 2018 @ 7:42am
How to set more than one launch options for a game?
i want to set two commands for a game to launch but steam does only take the first i write, how should i write them?
i wrote "VSYNC strangle 30 %command% primusrun %command%" maybe i have to separate them with some special syntax, help..
< >
Showing 1-15 of 17 comments
Phantom Nov 1, 2018 @ 7:49am 
Set your parameters within Steam itself.

https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947

Multiple launch options require spaces between them.

As per...

-autoconfig -safemode -novid -console

:yinyangflip:
nepeggio Nov 1, 2018 @ 7:53am 
Originally posted by Robin3sk:
Set your parameters within Steam itself.

https://support.steampowered.com/kb_article.php?ref=1040-JWMT-2947

Multiple launch options require spaces between them.

As per...

-autoconfig -safemode -novid -console

:yinyangflip:
yeah i tried that, as i wrote, but the game only get the first option i write.
Phantom Nov 1, 2018 @ 7:58am 
Can you take a screenshot of your parameters so we can confirm that everything's correct?

:yinyangflip:
nepeggio Nov 1, 2018 @ 8:03am 
Originally posted by Robin3sk:
Can you take a screenshot of your parameters so we can confirm that everything's correct?

:yinyangflip:
here it is http://tinypic.com/r/34ffng5/9
Phantom Nov 1, 2018 @ 11:40am 
Originally posted by nepeggio:
Originally posted by Robin3sk:
Can you take a screenshot of your parameters so we can confirm that everything's correct?

:yinyangflip:
here it is http://tinypic.com/r/34ffng5/9

Some of those actually won't work.

The parameters that can be inputted in that field start with a dash or a plus sign.

I'm ASSUMING that is the issue here.

:yinyangflip:
Tony Nov 1, 2018 @ 11:42am 
....
nepeggio Nov 1, 2018 @ 12:18pm 
Originally posted by Robin3sk:
Originally posted by nepeggio:
here it is http://tinypic.com/r/34ffng5/9

Some of those actually won't work.

The parameters that can be inputted in that field start with a dash or a plus sign.

I'm ASSUMING that is the issue here.

:yinyangflip:
" VSYNC strangle 30 %command% "AND "primusrun %command%" work when alone though.
Last edited by nepeggio; Nov 1, 2018 @ 12:19pm
nepeggio Nov 1, 2018 @ 12:20pm 
Originally posted by Pity Martinez qué loco que esta!:
....
?
aiusepsi Nov 1, 2018 @ 1:02pm 
How launch options are interpreted is specific to the game, so you should probably ask in a Factorio forum.
wocabec Apr 24, 2020 @ 5:24pm 
Originally posted by nepeggio:
i want to set two commands for a game to launch but steam does only take the first i write
Hello, did you find a solution?
ChekeredList71 Jun 30, 2020 @ 9:50am 
Originally posted by wocabec:
Originally posted by nepeggio:
i want to set two commands for a game to launch but steam does only take the first i write
Hello, did you find a solution?

bro, just put space after the firts command, then type the next one with this symbol: -
after pressing OK it should work. if not then maybe your command is incorrect

For an example:

if i type this in the launch options:

-language "hungarian" -console


this will happen:

https://imgur.com/eebE2OF

edit: sorry for the bad quality, looks like imgur downscaled my image
Last edited by ChekeredList71; Jun 30, 2020 @ 10:05am
I am looking for the same and I think it is the %command%. Other launch options just need to be separated with a space, but I have found no way to do multiple %command% options.
ReBoot Jul 9, 2021 @ 8:32am 
Originally posted by fabian_drinks_milk:
I am looking for the same and I think it is the %command%. Other launch options just need to be separated with a space, but I have found no way to do multiple %command% options.
Depends on the game. For Quake engine (and relatives) games, it's
+command1 +command2 +command3withval val
jason Jul 9, 2021 @ 9:14am 
You only set %command% once. Variables go first, programs which do things then run their arguments go in undefined order, depends on what you are doing, then %command% and finally any arguments to the game.

Three years ago the OP probably wanted.
STRANGLE_VSYNC=1 strangle 30 primusrun %command%

Or maybe primusrun strangle 30.
Earthling Z3R0 Dec 25, 2023 @ 12:13am 
2
2
4
The answer is SEMICOLON.

Somethling like

"wmctrl -s 7; sleep 2; gamemoderun %command%"

will switch to workspace 8, wait for 2 seconds and then start the game.

Works for me for all my games.

(wmctrl and sleep being linux commands, but this serves as an example.)
< >
Showing 1-15 of 17 comments
Per page: 1530 50

Date Posted: Nov 1, 2018 @ 7:42am
Posts: 17