Difference between revisions of "Command-line parameters"
Jessietail (talk | contribs) m |
Jessietail (talk | contribs) |
||
Line 183: | Line 183: | ||
|- | |- | ||
| -{{text anchor|reduceflics}} | | -{{text anchor|reduceflics}} | ||
| Disables all [[ | | Disables all [[Flic file|flic animations]] | ||
|- | |- | ||
| -{{text anchor|reduceimages}} | | -{{text anchor|reduceimages}} |
Revision as of 23:10, 5 January 2018
Command-line parameters, also called arguments, flags, or switches, are options for the initial execution of software. These options are commonly supplied in a command-line window or shortcut, and always come after the executable's file name. Available parameters, syntax, and effect all depend on the game or software they are used with. A common use for these options is for running games in debug mode or different resolutions.
Example:
"C:\Program Files\OldGame\Game.exe" -firstoption -secondoption
"C:\Program Files\NewGame\Game.exe" /FIRSTOPTION /SECONDOPTION
- For further information, see Command-line interface § Arguments on Wikipedia.
Currently, five LEGO video games for Windows are known to have command-line parameters:
LEGO Racers
There are seven command-line parameters in the 1999 version of LEGO Racers, and eight in the 2001 version. Entering an incorrect parameter will cause LEGO Racers to terminate its launch and open an error message box, which displays a list of all parameters and their functions (except for -fov).
Argument | Effect |
---|---|
-alphatrans | Forces use of alpha transparency |
-horzres [res] | Sets the value in pixels for horizontal display resolution. Replace [res] with an integer. |
-novideo | Disables playback of opening videos |
-primary | Forces use of primary display device. This parameter will be ignored if -select3d is also used. |
-select3d | Allows display driver and Direct3D device selection before the game launches (may not work with the Japanese version)[verify] |
-vertres [res] | Sets the value in pixels for vertical display resolution. Replace [res] with an integer. |
-window | Allows the game to be launched in a window when in 16-bit color depth. The window will minimize if focus is lost. |
The following parameter only works with the 2001 version: | |
-fov [deg] | Sets the value in degrees for the in-game camera's field of view. Replace [deg] with an integer. 90 is the default value. Values above 180 will invert the field of view. Values of 360 and onward can be used, but will be read as their coterminal equivalent below 360 degrees (e.g. 450=90). |
LEGO Racers 2
There are twenty-six command-line parameters in LEGO Racers 2.
Argument | Effect |
---|---|
/backlevel | Untested |
/bpp | Untested |
/cars | Untested |
/device | Untested |
/explore | Untested |
/foyer | Untested |
/hz | Untested |
/levelname | Untested |
/nomusic | No Game Music |
/nosfx | No Sound Effects |
/options | An options window appears on game start |
/overdraw | Untested |
/racers [range] | Changes the number of racers Replace [range] with an integer between 1 and 8 |
/script | Untested |
/startpos | Changes your starting position |
/track | Untested |
/windowed | Starts the game in windowed mode |
/windowx | Untested |
/windowy | Untested |
/wireframe | Everything is now in wireframe. |
/height | Untested |
/width | Untested |
/savecontroldata | Untested |
/loadcontroldata | Untested |
/lowqualitysound | Untested |
/highqualitysound | Untested |
LEGO Rock Raiders
There are twenty-four command-line parameters in LEGO Rock Raiders.
Argument | Effect |
---|---|
-best | Launches the game with maximum graphics settings, skipping the Mode Selection prompt |
-cleansaves | Deletes all saved games |
-debug | Allows for display resolutions of 640x480, 800x600, or 1024x768 to be selected. However, only the positions and dimensions of interface items for a 640x480 resolution are defined in Lego.cfg by default; without extensive edits to designate coordinates for the latter two resolutions, selecting either of those options will cause the game to immediately crash. (Does not enable debug mode) |
-debugcomplete | Untested |
-dualmouse | Untested |
-flags | Followed with an integer to turn on certain debug feature[verify] |
-fpslock | Enables VSync, which locks the frame rate to the monitor refresh rate when running in a window |
-ftm | Forces the video card to use all available texture memory and disables in-game dynamic lighting (except for walls) |
-fvf | Creates a gradual fog effect while in eye view or shoulder view |
-insistOnCD | Makes the game request the disc before it starts |
-nm | Disables texture management for Voodoo2-based cards. Incorrectly listed as -nom in the readme file. |
-nosound | Mutes all in-game sound |
-programmer | Enables debug keys and allows the opening logos to be skipped |
-reduceanimation | Disables the rockfall transition animation in the main menu |
-reduceflics | Disables all flic animations |
-reduceimages | Texture sizes are halved at load time, reducing the memory overhead |
-reducepromeshes | Reduces the number of LOD meshes |
-reducesamples | Disables sounds on the menu (except for clicking and music), voices (except for Chief's briefings), and cave ambiance. Streamed sounds, such as the aforementioned music and briefings, are unaffected. |
-reward | Disables Chief's animation on the reward screen |
-showversion | Displays the game's version number (V.0.121) in the bottom-right corner of the main menu, level select, and pause menu |
-startlevel | Launches the game directly into a level[verify] |
-testercall | Unlocks all levels at start |
-testlevels | Unlocks all levels at start |
-window | Allows the game to be launched in a window when in 16-bit color mode |
LEGO Stunt Rally
These parameters must be used in a shortcut to _msr.exe, not StuntRally.exe
- 0.3.5.1 is the version number for the original release of the game.
- 0.3.8.1 is the version number for the later, more common releases of the game, as well as the Japanese demo by Eidos.
- 0.4.0.7 is the version number for all other demo versions of the game.
Argument | Effect |
---|---|
/FREEFORM | Disables automatic steering |
/FROMLAUNCHER | Untested |
The following parameters do not work in demo versions except the Japanese one by Eidos Interactive | |
/FILES | Untested |
/IGTEST | Disables respawning |
/NOINTROVIDEO | Untested |
RESTART | Untested |
/XAFTOXBF | Untested |
The following parameters do not work in version 0.3.8.1, but do work in version 0.3.5.1 and the Japanese demo | |
/NORES | Untested |
/RES_FILES | Untested |
The following parameters only work with version 0.3.5.1 | |
/ALLAI | Untested |
/CDIN | Untested |
/DEBUGINFO | Untested |
/LOAD_TEXT | Untested |
/WINDOWED | Untested |
LEGOLAND
There are only two command-line parameters in LEGOLAND.
Argument | Effect |
---|---|
-nointro | Disables playback of opening videos |
-nomusic | Disables in-game music |
To do: Needs categories