L Mar 27, 2022 @ 12:38pm
What is meaning of - and + in launch command?
Can someone explain pls
Last edited by L; Mar 27, 2022 @ 12:40pm

Something went wrong while displaying this content. Refresh

Error Reference: Community_9745725_
Loading CSS chunk 7561 failed.
(error: https://community.fastly.steamstatic.com/public/css/applications/community/communityawardsapp.css?contenthash=789dd1fbdb6c6b5c773d)
Showing 1-7 of 7 comments
Cathulhu Mar 27, 2022 @ 12:42pm 
Usually it's:

+ = Do this.
- = Don't do this.

But can also mean when only - is available to do this.
Depends on the game.
Last edited by Cathulhu; Mar 27, 2022 @ 12:42pm
ReBoot Mar 27, 2022 @ 1:02pm 
Really REALLY depends on the game. For GoldSrc/Source engine games (also tends to stand true for ID engine), - denotes a launch parameter while + denotes an in-engine parameter passed via command line (instead of console or config file).
Last edited by ReBoot; Mar 27, 2022 @ 1:03pm
L Mar 28, 2022 @ 2:18pm 
Originally posted by ReBoot:
Really REALLY depends on the game. For GoldSrc/Source engine games (also tends to stand true for ID engine), - denotes a launch parameter while + denotes an in-engine parameter passed via command line (instead of console or config file).
Oh nice
L Mar 28, 2022 @ 2:18pm 
Originally posted by Cathulhu:
Usually it's:

+ = Do this.
- = Don't do this.

But can also mean when only - is available to do this.
Depends on the game.
Okay :)
Elucidator Mar 28, 2022 @ 11:57pm 
In java its exact
it gets vague with games as others said, as well with steam, but depends on the function.

steam.exe -console for example =
"do not hide the console" or "display the console"
-login (name) (pass)
"do not ask for login details, instead use these"
-log_voice
"do not ignore voice when logging" or "enable logging of voice"
-nofriendsui
This one is vague, due to - and no in the word, but the default is displaying... e.e;
"do not open steam friends and chat upon loading steam"

especially with that last example, you can see that they don't really standardize.

As for java
+XX:option_name enables the option
-XX:option_name disables it
also the names make sense towards the option.... usually.
cinedine Mar 29, 2022 @ 12:15am 
Originally posted by Elucidator:
This one is vague, due to - and no in the word

Not really. The other ones you all have jumped through hoops to follow your logic. Since you mentioned Java, you should also be familiar with the practice of "say what you do, not what you don't". For example getters for boolean are alway isSomething and should never be isSomethingNot.

Anyway, the hyphen is just used traditionally as a seperator for arguments. You should be perfectly able to chain the commands without a space.
[N]ebsun Mar 29, 2022 @ 12:43am 
Depends on the game / application, they can parse command line parameters any way they like.
Showing 1-7 of 7 comments
Per page: 1530 50

Date Posted: Mar 27, 2022 @ 12:38pm
Posts: 7