Difference between revisions of "Command-line parameters"

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