Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Glossary:Command line arguments"

From PCGamingWiki, the wiki about fixing PC games
m (updated template usage)
(→‎Windows: added GOG Galaxy example)
Line 27: Line 27:
 
# Click on the '''Set Launch Options''' button located at the bottom.
 
# Click on the '''Set Launch Options''' button located at the bottom.
 
# Write any arguments in the text field, then click '''OK'''.
 
# Write any arguments in the text field, then click '''OK'''.
 +
}}
 +
 +
===GOG Galaxy===
 +
[[File:GOG Galaxy Custom settings.png|160px|right]]
 +
{{Fixbox|description=Instructions|ref=<ref>{{Refcheck|user=Orzelek303|date=2018-02-01|comment=}}</ref>|fix=
 +
# {{key|Right Click}} on the game's title and select '''Settings'''.
 +
# Fill the checkbox next to '''Add command line arguments'''.
 +
# Write any arguments in the text box.
 
}}
 
}}
  

Revision as of 03:45, 1 February 2018

Commonly used to force windowed modes, custom specific resolutions or force certain hidden settings.

Windows

Create a shortcut then follow the instructions from the list for the desired environment.

Desktop shortcuts

Desktop Shortcut Example.png
For generic Windows desktop shortcuts.
Instructions[1]
  1. Create a new shortcut, then Right Click on the shortcut and choose Properties.
  2. Under the Shortcut tab, find the Target field.
  3. Write any arguments after the quotes, then click OK.
"<path-to-game>\game.exe" -command

Notes

Use the Arrow Keys or End to get the cursor at the end of the path.
Push Space if more spaces are required, right after the quotes.

Steam

Instructions[2]
  1. Open the Library, then Right Click on the desired game and select Properties.
  2. Click on the Set Launch Options button located at the bottom.
  3. Write any arguments in the text field, then click OK.

GOG Galaxy

Instructions[3]
  1. Right Click on the game's title and select Settings.
  2. Fill the checkbox next to Add command line arguments.
  3. Write any arguments in the text box.

Origin

Instructions[4]
  1. Open the Library, then Right Click on the game's box art and select Game Properties.
  2. Select Advanced Launch Options.
  3. Write any arguments in the field box, then click Save.

Uplay

Instructions[5]
  1. Open Games tab on the top-left menu, then select a game by clicking on it.
  2. Select Properties on the menu below Play button.
  3. Click on Add launch arguments button at the bottom of the page.
  4. Write any arguments in the text field, then click Save button.

Battle.net

Instructions[5]
  1. Open Games tab on the top-left menu, then select a game by clicking on it.
  2. Select Options on the menu below the game's title.
  3. Select Game Settings on the drop down menu.
  4. Tick the Additional command line arguments radio button.
  5. Write any arguments in the text field, then click Done button at the bottom of the page.


References

  1. How to Add a Command Line Parameter to a Windows Shortcut
  2. Verified by User:Hawaii_Beach on 2017-01-09
  3. Verified by User:Orzelek303 on 2018-02-01
  4. Verified by User:Blackbird on 2016-11-02
  5. 5.0 5.1 Verified by User:Dr4Wm4N on 2016-12-15