Difference between revisions of "Command-line parameters"
From RRU Knowledge Base
Jessietail (talk | contribs) |
Jessietail (talk | contribs) |
||
Line 15: | Line 15: | ||
! Effect | ! Effect | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|alphatrans}} | ||
| Force use of alpha transparency | | Force use of alpha transparency | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|fov}} | ||
| ''Unknown'' | | ''Unknown'' | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|novideo}} | ||
| Disables startup videos | | Disables startup videos | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|primary}} | ||
| Force use of primary display device | | Force use of primary display device | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|select3d}} | ||
| Allows 3D device selection | | Allows 3D device selection | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|window (LEGO Racers)|window}} | ||
| 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 47: | ||
! Effect | ! Effect | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|backlevel}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|bpp}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|cars}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|device}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|explore}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|foyer}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|hz}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|levelname}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|nomusic (LEGO Racers 2)|nomusic}} | ||
| No Game Music | | No Game Music | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|nosfx}} | ||
| No Sound Effects | | No Sound Effects | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|options}} | ||
| An options window appears on game start | | An options window appears on game start | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|overdraw}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{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 | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|script}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|startpos}} | ||
| Changes your starting position | | Changes your starting position | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|track}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|windowed}} | ||
| Starts the game in windowed mode | | Starts the game in windowed mode | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|windowx}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|windowy}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|wireframe}} | ||
| Everything is now in wireframe. | | Everything is now in wireframe. | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|height}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|width}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|savecontroldata}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|loadcontroldata}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|lowqualitysound}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|highqualitysound}} | ||
| Unknown | | Unknown | ||
|} | |} | ||
Line 132: | Line 132: | ||
! Effect | ! Effect | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|cleansaves}} | ||
| Deletes all saved games | | Deletes all saved games | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|debugcomplete}} | ||
| ''Unknown'' | | ''Unknown'' | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|dualmouse}} | ||
| ''Unknown'' | | ''Unknown'' | ||
|- | |- | ||
| {{text anchor| | | -{{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}} | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{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) | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|insistOnCD}} | ||
| Make the game request the disc before it starts | | Make the game request the disc before it starts | ||
|- | |- | ||
| {{text anchor| | | -{{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. | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|nosound}} | ||
| Mutes all in-game sound | | Mutes all in-game sound | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|reduceanimation}} | ||
| Disables the rockfall transition animation in the main menu | | Disables the rockfall transition animation in the main menu | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|reduceflics}} | ||
| Disables all FLIC animations | | Disables all FLIC animations | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|reducepromeshes}} | ||
| Reduces the number of LOD meshes | | Reduces the number of LOD meshes | ||
|- | |- | ||
| {{text anchor| | | -{{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. | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|reward}} | ||
| Disables [[Chief]]'s animation on the reward screen | | Disables [[Chief]]'s animation on the reward screen | ||
|- | |- | ||
| {{text anchor| | | -{{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 | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|startlevel}} | ||
| Launches the game directly into a level{{Needs evidence}} | | Launches the game directly into a level{{Needs evidence}} | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|testercall}} | ||
| Unlocks all levels at start<!--testicle--> | | Unlocks all levels at start<!--testicle--> | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|testlevels}} | ||
| Unlocks all levels at start | | Unlocks all levels at start | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|window (LEGO Rock Raiders)|window}} | ||
| 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 217: | ||
! Effect | ! Effect | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|FREEFORM}} | ||
| Disables automatic steering | | Disables automatic steering | ||
|- | |- | ||
| {{text anchor| | | /{{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 | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|FILES}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|IGTEST}} | ||
| Disables respawning | | Disables respawning | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|NOINTROVIDEO}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
Line 237: | Line 237: | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{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 | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|NORES}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{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 | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|ALLAI}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|CDIN}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|DEBUGINFO}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|LOAD_TEXT}} | ||
| Unknown | | Unknown | ||
|- | |- | ||
| {{text anchor| | | /{{text anchor|WINDOWED}} | ||
| Unknown | | Unknown | ||
|} | |} | ||
Line 273: | Line 273: | ||
! scope="col" style="width: 250px;" | Effect | ! scope="col" style="width: 250px;" | Effect | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|nointro}} | ||
| Disables startup videos | | Disables startup videos | ||
|- | |- | ||
| {{text anchor| | | -{{text anchor|nomusic (LEGOLAND)|nomusic}} | ||
| Disables in-game music | | Disables in-game music | ||
|} | |} |
Revision as of 04:37, 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 | 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 | 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 | 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 | Disables in-game music |