Difference between revisions of "Command-line parameters"

From RRU Knowledge Base
(found a new one)
Line 14: Line 14:
! Effect
! Effect
|-
|-
| '''-alphatrans'''
| -alphatrans
| Force use of alpha transparency
| Force use of alpha transparency
|-
|-
| '''-horzres''' [res]
| -horzres [res]
| Set horizontal resolution<br />Replace <tt>[res]</tt> with an integer
| Set horizontal resolution<br />Replace <tt>[res]</tt> with an integer
|-
|-
| '''-fov'''
| -fov
| ''Unknown''
| ''Unknown''
|-
|-
| '''-novideo'''
| -novideo
| Disables startup videos
| Disables startup videos
|-
|-
| '''-primary'''
| -primary
| Force use of primary display device
| Force use of primary display device
|-
|-
| '''-select3d '''
| -select3d  
| Allows 3D device selection
| Allows 3D device selection
|-
|-
| '''-vertres''' [res]
| -vertres [res]
| Set vertical resolution<br />Replace <tt>[res]</tt> with an integer
| Set vertical resolution<br />Replace <tt>[res]</tt> with an integer
|-
|-
| '''-window'''
| -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 48: Line 48:
! Effect
! Effect
|-
|-
| '''-best'''
| -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'''
| -cleansaves
| Deletes all saved games
| Deletes all saved games
|-
|-
| '''-debug'''
| -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'''
| -debugcomplete
| ''Unknown''
| ''Unknown''
|-
|-
| '''-dualmouse'''
| -dualmouse
| ''Unknown''
| ''Unknown''
|-
|-
| '''-flags'''
| -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'''
| -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'''
| -ftm
| Makes the video card use all available texture memory (from readme). Also turns off game lighting. Lighting still effects game models{{Verify}}.
| Makes the video card use all available texture memory (from readme). Also turns off game lighting. Lighting still effects game models{{Verify}}.
|-
|-
| '''-fvf'''
| -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'''
| -insistOnCD
| Make the game request the disc before it starts
| Make the game request the disc before it starts
|-
|-
| '''-nom'''
| -nom
| Disables texture management for Voodoo2 based cards
| Disables texture management for Voodoo2 based cards
|-
|-
| '''-nosound'''
| -nosound
| Mutes all in-game sound
| Mutes all in-game sound
|-
|-
| '''-programmer'''
| -programmer
| Enables [[Debug keys#LEGO Rock Raiders (Windows PC)|debug keys]] and allows the opening logos to be skipped{{Verify}}
| Enables [[Debug keys#LEGO Rock Raiders (Windows PC)|debug keys]] and allows the opening logos to be skipped{{Verify}}
|-
|-
| '''-reduceanimation'''
| -reduceanimation
| Disables the rockfall transition animation in the main menu
| Disables the rockfall transition animation in the main menu
|-
|-
| '''-reduceflics'''
| -reduceflics
| Disables all FLIC animations
| Disables all FLIC animations
|-
|-
| '''-reduceimages'''
| -reduceimages
| Texture sizes are halved at load time, reducing the memory overhead
| Texture sizes are halved at load time, reducing the memory overhead
|-
|-
| '''-reducepromeshes'''
| -reducepromeshes
| Reduces the number of LOD meshes
| Reduces the number of LOD meshes
|-
|-
| '''-reducesamples'''
| -reducesamples
| Disables sounds on the menu (except for clicking and music), voices (except for Chief's briefings), and cave ambiance
| Disables sounds on the menu (except for clicking and music), voices (except for Chief's briefings), and cave ambiance
|-
|-
| '''-reward'''
| -reward
| Disables [[Chief]]'s animation on the reward screen
| Disables [[Chief]]'s animation on the reward screen
|-
|-
| '''-showversion'''
| -showversion
| Displays the game's version number (V.0.121) in the bottom right corner
| Displays the game's version number (V.0.121) in the bottom right corner
|-
|-
| '''-startlevel'''
| -startlevel
| Launches the game directly into a level{{Needs evidence}}
| Launches the game directly into a level{{Needs evidence}}
|-
|-
| '''-testercall'''
| -testercall
| Unlocks all levels at start
| Unlocks all levels at start
|-
|-
| '''-testlevels'''
| -testlevels
| Unlocks all levels at start
| Unlocks all levels at start
|-
|-
| '''-window'''
| -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
|}
|}

Revision as of 16:27, 17 September 2017

This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.

To do: Would it be better to name this Command-line arguments?

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.

Example

C:\Program Files\Game\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 Rock Raiders

Below is a complete list LEGO Rock Raiders has a large number of command-line arguments, some of which

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 Makes the video card use all available texture memory (from readme). Also turns off game lighting. Lighting still effects game models[verify].
-fvf Creates a gradual fog effect while in eye view or shoulder view
-insistOnCD Make the game request the disc before it starts
-nom Disables texture management for Voodoo2 based cards
-nosound Mutes all in-game sound
-programmer Enables debug keys and allows the opening logos to be skipped[verify]
-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
-reward Disables Chief's animation on the reward screen
-showversion Displays the game's version number (V.0.121) in the bottom right corner
-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