Command-line parameters

From RRU Knowledge Base

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