Difference between revisions of "Command-line parameters"
From RRU Knowledge Base
Jessietail (talk | contribs) |
Jessietail (talk | contribs) |
||
Line 1: | Line 1: | ||
'''<!--Executable-->Command-line parameters''', also called '''arguments'''<!--command-line options, 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. | <!--WHEN LINKING TO PARAMETERS ON THIS PAGE: A few conflicting parameter names have been given anchor renames: | ||
/nomusic for LEGO Racers 2 is "/nomusic (LEGO Racers 2)" | |||
-nomusic for LEGOLAND is "-nomusic (LEGOLAND)" | |||
-window for LEGO Racers is "window (LEGO Racers" | |||
-window for LEGO Rock Raiders is "window (LEGO Rock Raiders)" | |||
-->'''<!--Executable-->Command-line parameters''', also called '''arguments'''<!--command-line options, 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. | |||
For further detail, see the [[Wikipedia:Command-line interface#Arguments|Wikipedia article]]. | For further detail, see the [[Wikipedia:Command-line interface#Arguments|Wikipedia article]]. | ||
Line 15: | Line 20: | ||
! Effect | ! Effect | ||
|- | |- | ||
| -alphatrans | | {{text anchor|-alphatrans}} | ||
| Force use of alpha transparency | | Force use of alpha transparency | ||
|- | |- | ||
| -horzres [res] | | {{text anchor|-horzres}} [res] | ||
| Set horizontal resolution<br />Replace <kbd>[res]</kbd> with an integer | | Set horizontal resolution<br />Replace <kbd>[res]</kbd> with an integer | ||
|- | |- | ||
| -fov | | {{text anchor|-fov}} | ||
| ''Unknown'' | | ''Unknown'' | ||
|- | |- | ||
| -novideo | | {{text anchor|-novideo}} | ||
| Disables startup videos | | Disables startup videos | ||
|- | |- | ||
| -primary | | {{text anchor|-primary}} | ||
| Force use of primary display device | | Force use of primary display device | ||
|- | |- | ||
| -select3d | | {{text anchor|-select3d}} | ||
| Allows 3D device selection | | Allows 3D device selection | ||
|- | |- | ||
| -vertres [res] | | {{text anchor|-vertres}} [res] | ||
| Set vertical resolution<br />Replace <kbd>[res]</kbd> with an integer | | Set vertical resolution<br />Replace <kbd>[res]</kbd> with an integer | ||
|- | |- | ||
| -window | | {{text anchor|-window|-window (LEGO Racers)}} | ||
| Run in windowed mode (16-bit depth only). However, it minimizes if it is clicked out of. | | Run in windowed mode (16-bit depth only). However, it minimizes if it is clicked out of. | ||
|} | |} | ||
Line 47: | Line 52: | ||
! Effect | ! Effect | ||
|- | |- | ||
| /backlevel | | {{text anchor|/backlevel}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /bpp | | {{text anchor|/bpp}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /cars | | {{text anchor|/cars}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /device | | {{text anchor|/device}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /explore | | {{text anchor|/explore}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /foyer | | {{text anchor|/foyer}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /hz | | {{text anchor|/hz}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /levelname | | {{text anchor|/levelname}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /nomusic | | {{text anchor|/nomusic|/nomusic (LEGO Racers 2)}} | ||
| No Game Music | | No Game Music | ||
|- | |- | ||
| /nosfx | | {{text anchor|/nosfx}} | ||
| No Sound Effects | | No Sound Effects | ||
|- | |- | ||
| /options | | {{text anchor|/options}} | ||
| An options window appears on game start | | An options window appears on game start | ||
|- | |- | ||
| /overdraw | | {{text anchor|/overdraw}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /racers [range] | | {{text anchor|/racers}} [range] | ||
| Changes the number of racers<br />Replace <kbd>[range]</kbd> with an integer between 1 and 8 | | Changes the number of racers<br />Replace <kbd>[range]</kbd> with an integer between 1 and 8 | ||
|- | |- | ||
| /script | | {{text anchor|/script}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /startpos | | {{text anchor|/startpos}} | ||
| Changes your starting position | | Changes your starting position | ||
|- | |- | ||
| /track | | {{text anchor|/track}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /windowed | | {{text anchor|/windowed}} | ||
| Starts the game in windowed mode | | Starts the game in windowed mode | ||
|- | |- | ||
| /windowx | | {{text anchor|/windowx}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /windowy | | {{text anchor|/windowy}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /wireframe | | {{text anchor|/wireframe}} | ||
| Everything is now in wireframe. | | Everything is now in wireframe. | ||
|- | |- | ||
| /height | | {{text anchor|/height}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /width | | {{text anchor|/width}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /savecontroldata | | {{text anchor|/savecontroldata}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /loadcontroldata | | {{text anchor|/loadcontroldata}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /lowqualitysound | | {{text anchor|/lowqualitysound}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /highqualitysound | | {{text anchor|/highqualitysound}} | ||
| Unknown | | Unknown | ||
|} | |} | ||
Line 132: | Line 137: | ||
! Effect | ! Effect | ||
|- | |- | ||
| -best | | {{text anchor|-best}} | ||
| Launches the game with maximum graphics settings, skipping the Mode Selection prompt | | Launches the game with maximum graphics settings, skipping the Mode Selection prompt | ||
|- | |- | ||
| -cleansaves | | {{text anchor|-cleansaves}} | ||
| Deletes all saved games | | Deletes all saved games | ||
|- | |- | ||
| -debug | | {{text anchor|-debug}} | ||
| Allows for display resolutions of 640x480, 800x600, or 1024x768 to be selected; without extensive edits to [[Lego.cfg]], selecting either of the latter options will cause a crash | | Allows for display resolutions of 640x480, 800x600, or 1024x768 to be selected; without extensive edits to [[Lego.cfg]], selecting either of the latter options will cause a crash | ||
|- | |- | ||
| -debugcomplete | | {{text anchor|-debugcomplete}} | ||
| ''Unknown'' | | ''Unknown'' | ||
|- | |- | ||
| -dualmouse | | {{text anchor|-dualmouse}} | ||
| ''Unknown'' | | ''Unknown'' | ||
|- | |- | ||
| -flags | | {{text anchor|-flags}} | ||
| Followed with an integer to turn on certain debug feature{{Needs evidence}} | | Followed with an integer to turn on certain debug feature{{Needs evidence}} | ||
|- | |- | ||
| -fpslock | | {{text anchor|-fpslock}} | ||
| Enables VSync, which locks the frame rate to the monitor refresh rate when running in a window | | Enables VSync, which locks the frame rate to the monitor refresh rate when running in a window | ||
|- | |- | ||
| -ftm | | {{text anchor|-ftm}} | ||
| Forces video card to use all available texture memory and disables in-game dynamic lighting (except for walls) | | Forces video card to use all available texture memory and disables in-game dynamic lighting (except for walls) | ||
|- | |- | ||
| -fvf | | {{text anchor|-fvf}} | ||
| Creates a gradual fog effect while in eye view or shoulder view | | Creates a gradual fog effect while in eye view or shoulder view | ||
|- | |- | ||
| -insistOnCD | | {{text anchor|-insistOnCD}} | ||
| Make the game request the disc before it starts | | Make the game request the disc before it starts | ||
|- | |- | ||
| -nm | | {{text anchor|-nm}} | ||
| Disables texture management for [[Wikipedia:Voodoo2|Voodoo2]]-based cards. Incorrectly listed as <kbd>-nom</kbd> in the readme file. | | Disables texture management for [[Wikipedia:Voodoo2|Voodoo2]]-based cards. Incorrectly listed as <kbd>-nom</kbd> in the readme file. | ||
|- | |- | ||
| -nosound | | {{text anchor|-nosound}} | ||
| Mutes all in-game sound | | Mutes all in-game sound | ||
|- | |- | ||
| -programmer | | {{text anchor|-programmer}} | ||
| Enables [[Debug keys#LEGO Rock Raiders|debug keys]] and allows the opening logos to be skipped | | Enables [[Debug keys#LEGO Rock Raiders|debug keys]] and allows the opening logos to be skipped | ||
|- | |- | ||
| -reduceanimation | | {{text anchor|-reduceanimation}} | ||
| Disables the rockfall transition animation in the main menu | | Disables the rockfall transition animation in the main menu | ||
|- | |- | ||
| -reduceflics | | {{text anchor|-reduceflics}} | ||
| Disables all FLIC animations | | Disables all FLIC animations | ||
|- | |- | ||
| -reduceimages | | {{text anchor|-reduceimages}} | ||
| Texture sizes are halved at load time, reducing the memory overhead | | Texture sizes are halved at load time, reducing the memory overhead | ||
|- | |- | ||
| -reducepromeshes | | {{text anchor|-reducepromeshes}} | ||
| Reduces the number of LOD meshes | | Reduces the number of LOD meshes | ||
|- | |- | ||
| -reducesamples | | {{text anchor|-reducesamples}} | ||
| Disables sounds on the menu (except for clicking and music), voices (except for Chief's briefings), and cave ambiance. Streamed sounds are unaffected. | | Disables sounds on the menu (except for clicking and music), voices (except for Chief's briefings), and cave ambiance. Streamed sounds are unaffected. | ||
|- | |- | ||
| -reward | | {{text anchor|-reward}} | ||
| Disables [[Chief]]'s animation on the reward screen | | Disables [[Chief]]'s animation on the reward screen | ||
|- | |- | ||
| -showversion | | {{text anchor|-showversion}} | ||
| Displays the game's version number (V.0.121) in the bottom-right corner of the main menu, level select, and pause menu | | Displays the game's version number (V.0.121) in the bottom-right corner of the main menu, level select, and pause menu | ||
|- | |- | ||
| -startlevel | | {{text anchor|-startlevel}} | ||
| Launches the game directly into a level{{Needs evidence}} | | Launches the game directly into a level{{Needs evidence}} | ||
|- | |- | ||
| -testercall | | {{text anchor|-testercall}} | ||
| Unlocks all levels at start | | Unlocks all levels at start<!--testicle--> | ||
|- | |- | ||
| -testlevels | | {{text anchor|-testlevels}} | ||
| Unlocks all levels at start | | Unlocks all levels at start | ||
|- | |- | ||
| -window | | {{text anchor|-window|-window (LEGO Rock Raiders)}} | ||
| Allows the game to be launched in a window when in 16-bit color mode | | Allows the game to be launched in a window when in 16-bit color mode | ||
|} | |} | ||
Line 217: | Line 222: | ||
! Effect | ! Effect | ||
|- | |- | ||
| /FREEFORM | | {{text anchor|/FREEFORM}} | ||
| Disables automatic steering | | Disables automatic steering | ||
|- | |- | ||
| /FROMLAUNCHER | | {{text anchor|/FROMLAUNCHER}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
! colspan=2 | The following parameters do not work in demo versions except the Japanese one by Eidos Interactive | ! colspan=2 | The following parameters do not work in demo versions except the Japanese one by Eidos Interactive | ||
|- | |- | ||
| /FILES | | {{text anchor|/FILES}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /IGTEST | | {{text anchor|/IGTEST}} | ||
| Disables respawning | | Disables respawning | ||
|- | |- | ||
| /NOINTROVIDEO | | {{text anchor|/NOINTROVIDEO}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
Line 237: | Line 242: | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /XAFTOXBF | | {{text anchor|/XAFTOXBF}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
! colspan=2 | 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 | ! colspan=2 | 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 | | {{text anchor|/NORES}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /RES_FILES | | {{text anchor|/RES_FILES}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
! colspan=2 | The following parameters only work with version 0.3.5.1 | ! colspan=2 | The following parameters only work with version 0.3.5.1 | ||
|- | |- | ||
| /ALLAI | | {{text anchor|/ALLAI}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /CDIN | | {{text anchor|/CDIN}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /DEBUGINFO | | {{text anchor|/DEBUGINFO}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /LOAD_TEXT | | {{text anchor|/LOAD_TEXT}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| /WINDOWED | | {{text anchor|/WINDOWED}} | ||
| Unknown | | Unknown | ||
|} | |} | ||
Line 273: | Line 278: | ||
! scope="col" style="width: 250px;" | Effect | ! scope="col" style="width: 250px;" | Effect | ||
|- | |- | ||
| -nointro | | {{text anchor|-nointro}} | ||
| Disables startup videos | | Disables startup videos | ||
|- | |- | ||
| -nomusic | | {{text anchor|-nomusic|-nomusic (LEGOLAND)}} | ||
| Disables in-game music | | Disables in-game music | ||
|} | |} |
Revision as of 04:23, 2 December 2017
Command-line parameters, also called arguments 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.
For further detail, see the Wikipedia article.
To do: Flesh out. Would it be better to name this Command-line arguments?
Example:
"C:\Program Files\OldGame\Game.exe" -firstoption -secondoption
"C:\Program Files\NewGame\Game.exe" /FIRSTOPTION /SECONDOPTION
LEGO Racers
Argument | Effect |
---|---|
-alphatrans | Force use of alpha transparency |
-horzres [res] | Set horizontal resolution Replace [res] with an integer |
-fov | Unknown |
-novideo | Disables startup videos |
-primary | Force use of primary display device |
-select3d | Allows 3D device selection |
-vertres [res] | Set vertical resolution Replace [res] with an integer |
-window (LEGO Racers) | Run in windowed mode (16-bit depth only). However, it minimizes if it is clicked out of. |
LEGO Racers 2
Argument | Effect |
---|---|
/backlevel | Unknown |
/bpp | Unknown |
/cars | Unknown |
/device | Unknown |
/explore | Unknown |
/foyer | Unknown |
/hz | Unknown |
/levelname | Unknown |
/nomusic (LEGO Racers 2) | No Game Music |
/nosfx | No Sound Effects |
/options | An options window appears on game start |
/overdraw | Unknown |
/racers [range] | Changes the number of racers Replace [range] with an integer between 1 and 8 |
/script | Unknown |
/startpos | Changes your starting position |
/track | Unknown |
/windowed | Starts the game in windowed mode |
/windowx | Unknown |
/windowy | Unknown |
/wireframe | Everything is now in wireframe. |
/height | Unknown |
/width | Unknown |
/savecontroldata | Unknown |
/loadcontroldata | Unknown |
/lowqualitysound | Unknown |
/highqualitysound | Unknown |
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; without extensive edits to Lego.cfg, selecting either of the latter options will cause a crash |
-debugcomplete | Unknown |
-dualmouse | Unknown |
-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 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 | Make 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 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 (LEGO Rock Raiders) | 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 | Unknown |
The following parameters do not work in demo versions except the Japanese one by Eidos Interactive | |
/FILES | Unknown |
/IGTEST | Disables respawning |
/NOINTROVIDEO | Unknown |
RESTART | Unknown |
/XAFTOXBF | Unknown |
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 | Unknown |
/RES_FILES | Unknown |
The following parameters only work with version 0.3.5.1 | |
/ALLAI | Unknown |
/CDIN | Unknown |
/DEBUGINFO | Unknown |
/LOAD_TEXT | Unknown |
/WINDOWED | Unknown |
LEGOLAND
Argument | Effect |
---|---|
-nointro | Disables startup videos |
-nomusic (LEGOLAND) | Disables in-game music |