- Joined
- Aug 3, 2004
- Messages
- 710
These are the commands that are currently supported by Warcraft III, based on known information and some clever reverse engineering of the executables.
Commands
Video Mode
Changing the video mode can sometimes be used to increase performance or make Warcraft III run better in other environments like Wine.
This controls if the game is in fullscreen or windowed mode.
This simply controls whether the game runs as Reign of Chaos (classic) or The Frozen Throne.
This allows you to instantly start a replay or a map without going through the menu.
This is a single command that allows you to load all resources from a different directory. Useful for things like total conversions.[/SIZE]
Examples
To use this, simply create a shortcut to War3.exe and in Properties->Shortcut, modify the Target.
Commands
Video Mode
Changing the video mode can sometimes be used to increase performance or make Warcraft III run better in other environments like Wine.
- d3d (Starts the game using Direct3D. This is the default.). DEPRECATED AS OF 1.29 SEE BELOW
- opengl (Starts the game using Open Graphics Library.) DEPRECATED AS OF 1.29 SEE BELOW
- swtnl (Starts the game using Software Transform and Lighting). DEPRECATED AS OF 1.29 SEE BELOW
- graphicsapi <option> (This replaced d3d and opengl, and should be used with one of the options below)
- OpenGL2 (Works as the old opengl)
- OpenGL4 (CRASHES THE GAME)
- Direct3D9 (Works as the old d3d, still the default)
- Direct3D11 (CRASHES THE GAME)
- Direct3D12 (CRASHES THE GAME)
- Metal2 (CRASHES THE GAME)
- Null (CRASHES THE GAME)
- OpenGL2 (Works as the old opengl)
This controls if the game is in fullscreen or windowed mode.
- fullscreen (Starts the game in fake fullscreen mode. - default)
- window (Starts the game in windowed mode.)
- nativefullscr (Starts the game in normal fullscreen mode.)
- nowfpause (Stops the game from pausing when the window loses focus, useful for testing)
This simply controls whether the game runs as Reign of Chaos (classic) or The Frozen Throne.
- classic
This allows you to instantly start a replay or a map without going through the menu.
- loadfile <path> (Specifies which file to load, the file must be in a subdirectory of your Warcraft III installation. This also works with the editor.)
This is a single command that allows you to load all resources from a different directory. Useful for things like total conversions.[/SIZE]
- datadir <path>
- gametype <string> (It is unknown what this command does, but it works with loadfile and must be a number.)
- crash (Instantly crashes the game, maybe used to test the error reporter)
- assert
- locale <locale> (Appears to change the game from English to another language)
- rockey <key> (Possibly sets the Reign of Chaos CD-Key)
- tftkey <key> (Possible sets the The Frozen Throne CD-Key)
- plugindir <path?> (Are we getting plugins)
- routerconfig <string>
- routerapp
Examples
To use this, simply create a shortcut to War3.exe and in Properties->Shortcut, modify the Target.
- "C:\Games\Warcraft III\Warcraft III.exe" -window (Starts the game in windowed mode.)
- "C:\Games\Warcraft III\Warcraft III.exe" -window -graphicsapi OpenGL2 (Starts the game in windowed mode with OpenGL rendering.)
- "C:\Games\Warcraft III\Warcraft III.exe" -loadfile "C:\Games\Warcraft III\Maps\(2)BootyBay.w3m"
Last edited: