Command line arguments

From Guild Wars Wiki

(Redirected from Command line)
Jump to: navigation, search

Contents

There are multiple command line arguments which may be used to change the game's behavior during the start-up. These arguments can be set in the properties window of the game shortcut.

[edit] Using command line arguments

Instead of using the command line (see image on the right), you can execute switches directly from your Guild Wars shortcut:

  1. Right click on your Guild Wars shortcut and select 'Properties'.
  2. In the 'Target Area' field you will see the location of your Guild Wars executable file: "..\Guild Wars\Gw.exe"
  3. Write the desired command line arguments after the quote marks, each separated by a space:
    "..\Guild Wars\Gw.exe" -perf -windowed

It is easier to use the command line itself, reached by clicking the "Start" button and choosing "Run," when you are only needing to run guild wars with an argument once as some are set up for. Just type in the file path to Guild Wars in quotation marks, and add the appropriate switches afterwards, just like using the shortcut method above.

[edit] List of command line arguments

[edit] -bmp

Forces the game to create screenshots as .BMP files. Use for creating high-quality screenshots at the expense of much larger files.

[edit] -diag

Creates, at startup, a detailed diagnostic logfile which contains data about connection tests and hardware information, located in your game directory (..\Guild Wars\NetworkDiag.log). Useful for determining what is wrong when Guild Wars is not functioning properly.
Important: The program terminates after the logfile is created; since Guild Wars will not be able run with this parameter on, make sure to remove it once Guild Wars has finished creating the logfile.
Note: It is also possible to run the Guild Wars diagnostic utility by clicking the "Test My Computer" link on the login screen.

[edit] -dsound

Forces the use of old DirectSound software mixer. Good for users whose computers are not compatible with the newer version.

[edit] -dx8

Useful for troubleshooting. Forces DirectX 8 compatibility; good for users whose computers are not compatible with the newer version. Using this switch with -noshaders may improve performance as well.

[edit] -email

Sets the e-mail address on the login screen. Combine with -password to create an auto-login shortcut for a specific account.

[edit] -fps <Number>

Limits the frame rate to <Number> frames per second, saving computer resources.

[edit] -image

Forces the game to load a complete update.
Important: The program terminates after the update is completed; since Guild Wars will not be able run with this parameter on, make sure to remove it after all the content has been downloaded.
Downloading all the contents takes approximately 6 hours to complete at 150KB/s (broadband connection).
Recommended: Create an additional shortcut on your desktop to Guild Wars that is labeled "Guild Wars Updater" and has this command line switch.
Note: It's also possible to download all files simply by running the Guild Wars program and letting it "sit" on the login screen. You'll see a small lightning bolt near the bottom right corner that indicates downloading is in progress.

[edit] -mce

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

[edit] -mute

Disables audio output, but still processes audio data internally (so for instance, lip syncing will still function).

[edit] -noshaders

Troubleshooting option. Using this switch with -dx8 may improve performance as well.

[edit] -nosound

Disables audio system completely.

[edit] -noui

Disables the user interface, producing the same effect as when one pushes Ctrl + Shift + H in-game to toggle it.

[edit] -password <string>

Enables auto-login if <string> is your account's password. "Remember account name" option must be checked. This parameter must not be preceded by any other parameter except for email.
Warning: Putting your password in a shortcut or a batch file makes it easily accessible to everybody with access to your computer. Never use this option if you are sharing your computer with other people whom you do not trust.

[edit] -perf

Displays performance indicators. Triangles, frames per second and transfer rate in bytes per second are displayed in white text in the upper-right corner of the Guild Wars window.

[edit] -repair

Attempts to fix the GW.dat file, in which all update information is stored.
Warning: If a lot of content has already been downloaded through updates, be prepared for a long wait as Guild Wars reconstructs the file.

[edit] -sndasio

Useful for troubleshooting. Attempts to use an ASIO driver in software mode.

[edit] -sndwinmm

Attempts to use the Windows Multimedia audio driver in software mode.

[edit] -uninstall

Uninstalls Guild Wars.

[edit] -windowed

Forces Guild Wars to run in windowed mode.
Note: You can easily switch to windowed mode by pressing ALT + Enter or clicking the window icon in the upper right corner while the game is already running.

[edit] Unknown switches

The following command line arguments are known to exist but their exact effect is not known:

  • -authsrv
  • -exit
  • -map
  • -port
  • -resetmap
  • -sndfastbuf
  • -sndmultispk
  • -update
Personal tools