[Tool] Commandozeilen Argumente

Okt - 11 2016 | By

Command-Line Arguments are directives which are added to the start up command of the game executable. There are directives which change the client’s behavior, streamline player login and enable diagnostics.

Command line arguments can be prefixed with either “-” or “/”, so these are the same:

/clientport 80
-clientport 80
Arguments can be separated by space (” “) or colon (“:”), so these are the same:

-clientport 80
Using Command-Line Arguments
Windows via shortcut
You can execute switches directly from your Guild Wars 2 shortcut:

Right click on your Guild Wars 2 shortcut and select ‘Properties’.
In the ‘Target Area’ field you will see the location of your Guild Wars 2 executable file:
…\Guild Wars 2\Gw2.exe
Write the desired command line arguments after the quote marks, each beginning with a space:
“…\Guild Wars 2\Gw2.exe” -perf -windowed
Windows via start/run
If you don’t plan on using an argument frequently, it can be easier to use the Windows’ Run command for a single invocation.

Click the “Start” button
Select “Run” (not required for Windows 7)
Enter the path to the GW2.exe in quotes followed by the arguments you wish to use (same as above, but in a single line).
Press enter.
Right/ctrl-click GuildWars2.app and choose ShowPackageContent
Find Contents>Resources>CiderSettings.plist
Using TextEdit find this line:
–cmdline “”
Add the command line arguments you want between the quotation marks like this:
–cmdline “-testVerticalFov”
macOS from terminal shell
Replace “/Applications/Guild\ Wars\ 2.app” for your game path, and “autologin” for your command line option.

/Applications/Guild\ Wars\ 2.app/Contents/MacOS/cider -use-dos-cwd C:Gw2 — C:\\GW2\\GW2.exe -autologin


Via PATH variables
An alternative is to add the GW2 directory to your user PATH environment variable. This allows gw2 to be executed as a command line command, enabling easy access to arguments. After performing the following, GW2 can be invoked as “gw2 -” from the command line:

Start the “run” dialogue, either with Win-R, or by hitting the windows key, entering “run”, and hitting enter.
Enter the following command, without quotes: “control sysdm.cpl”, and hit enter to run it.
Go to the Advanced tab.
Press the “Environment variables” button at the bottom.
Double click the PATH variable under “user variables”, the top section.
Prefix the list with “;” (without quotes and with the semi-colon)
List of Command-Line Arguments


Forces the game to run in 32-bit mode.

Used to specify the IP or DNS to use for downloading assets.
-authsrv [string]

Specifies the IP or DNS that can be used to connect to a login server.

Logs in automatically, if the client has been set to remember the Account Name and Password.

Forces the game to create lossless screenshots as .BMP files.
Used for creating higher-quality screenshots at the expense of much larger files.
-clientport 80

Instructs the client to connect to the game servers over port 80 (HTTP) instead of 6112 (commonly used for games).
Some ISPs may prioritize traffic at certain times, and some networks may block port 6112. This may be useful to avoid such scenarios.
Some ISPs, networks, and other forms of MITM attacks may modify traffic on port 80 which will lead to issues with the GW2 client if this option is used.
-clientport 443
Instructs the client to connect to the game servers over port 443 (HTTPS) instead of 6112 (commonly used for games).
Some ISPs may prioritize traffic at certain times, and some networks may block port 6112. This may be useful to avoid such scenarios.
Some ISPs, networks, and other forms of MITM attacks may modify traffic on port 443 which will lead to issues with the GW2 client if this option is used (this is less-likely to occur than with port 80).

Copies all the files in the current dat file to a new dat file.
-dat [string]

Uses the specified file instead of the default GW2.dat file.

Instead of launching the game, this command creates a detailed diagnostic file that contains diagnostic data that can be used for troubleshooting. The file, NetworkDiag.log, will be located in your game directory or “Documents\Guild Wars . If you want to use this feature, be sure to create a separate shortcut for it.

Enables the Direct3D 9c renderer in single-threaded mode.
This improves performance while running under Wine in most cases.
-email [string]

Used in conjunction with -password and -nopatchui to skip patching and login to the specified account directly.
note: does NOT change email address in Patcher-login screen. Thus it cannot be used WITHOUT -nopatchui.

Uses Forward Rendering instead of Deferred Rendering.
Shadows and lighting may not render properly while this is in-use due to the forward renderer being unfinished.
This is known to improve overall framerate for certain graphics cards (notably AMD).
-fps [number]

Sets maximum frames per second parameter.
This setting only has an effect while in the character selection screen and resets to the Frame Limiter setting configured in the Graphics Display Options when the game world is entered.

Runs the patch UI only in order to download any available updates; closes immediately without loading the login form.
Recommended: Create an extra Guild Wars 2 shortcut (e.g. “Guild Wars 2 Updater”) specifically to use this command line switch.

Enables the creation of a log file, used mostly by Support. The path for the generated file usually is:
Windows: %APPDATA%\Guild Wars 2\Gw2.log.
Note: %APPDATA% is an Environment Variable, which usually translates into C:\Users\\AppData\Roaming by default. See Environment Variable.

Shows diagnostic information during map loads, including load percentages and elapsed time.

Start the client with Windows Media Center compatibility, switching the game to full screen and restarting Media Center (if available) after the client is closed.

Hides the user interface during the update process.
This command must be used in conjunction with the -email and -password arguments to function, or it will result in a black screen.

Disables music and background music.

Disables the user interface. This does the same thing as pressing Ctrl Shift H in the game.

Disables audio system completely.
-password [string]

Enables auto-log-in with the specified password and either (A) is used with the -email option or (B) details have previously been saved using the “Remember Account Name” checkbox. This argument must not be preceded by any other argument other than -email. The -nopatchui argument must also be specified for this to work (as of Oct 13, 2012). This argument implies -autologin.
WARNING: This will store your password in the shortcut in plain text, readable by anyone. Putting your password in a shortcut or a batch file makes it easily accessible to anyone who can access your computer. It is strongly recommended not to use this command line due to the nature of your password being exposed in plain text and putting your account information at risk.
“\Guild Wars 2\Gw2.exe” -email myname@myprovider.com -password 12345 -nopatchui
Note If your password includes spaces, it needs to be enclosed in quote marks.
“\Guild Wars 2\Gw2.exe” -email myname@myprovider.com -password “1234 5” -nopatchui

Resets game settings.

Start the client, checks the files for errors and repairs them as needed. This can take a long time (1/2 hour or an hour) to run as it checks the entire contents of the 20-30 gigabyte archive.
This is rarely necessary as the archive is always checking for errors as it runs; if it finds an error, it will schedule a repair for the next time the game starts.
The archive reads and writes certain parts of the disk fairly frequently; if you are getting a lot of disk errors, this is a sign that your drive may be dying.

Opens the Gw2.dat file in shared mode so that it can be accessed from other processes while the game is running.

Spreads user interface across all monitors in a triple monitor setup.

Presents the uninstall dialog. If uninstall is accepted, it deletes the contents of the Guild Wars 2 installation folder except GW2.EXE itself and any manually created subfolders. Contents in subfolders (if any) are not deleted.

Disables the widescreen field-of-view enhancements and restores the original field-of-view.

Used to verify the .dat file.

Forces Guild Wars 2 to run in windowed mode.
In game, you can switch to windowed mode by pressing Alt+Enter or clicking the window icon in the upper right corner.
-umbra gpu

Forces the use of Umbra’s GPU accelerated culling.
This may result in higher CPU usage, lower GPU usage, and an overall decrease in framerate.