Difference between revisions of "Command-line parameters"

From RRU Knowledge Base
(Created page with "{{WIP}} '''<!--Executable-->Command-line parameters'''<!--, also called command-line options, flags, or switches,--> are options for the initial execution of software. These o...")
 
Line 1: Line 1:
{{WIP}}
{{WIP}}
{{todo|Would it be better to name this Command-line parameters/options/arguments/switches?}}
'''<!--Executable-->Command-line parameters'''<!--, also called 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.
'''<!--Executable-->Command-line parameters'''<!--, also called 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.


=== Example ===
=== Example ===
<pre>C:\Program Files\Game\Game.exe -firstoption -secondoption</pre>
<pre>C:\Program Files\Game\Game.exe -firstoption -secondoption</pre>
==''LEGO Racers''==
{| class="wikitable" border="1"
|-
! Argument
! Effect
|-
| '''-alphatrans'''
| Force use of alpha transparency
|-
| '''-novideo'''
| Disables startup videos
|-
| '''-horzres'''
| Set horizontal resolution
|-
| '''-primary'''
| Force use of primary display device
|-
| '''-vertres'''
| Set vertical resolution
|-
| '''-window'''
| Run in windowed mode (16-bit depth only). However, it minimizes if it is clicked out of.
|}


==''LEGO Rock Raiders''==
==''LEGO Rock Raiders''==
Line 9: Line 36:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! scope="col" style="width: 160px;" | Command
! scope="col" style="width: 160px;" | Argument
! Effect
! Effect
|-
|-
Line 82: Line 109:
|-
|-
| '''-window'''
| '''-window'''
| Allows the game to be launched in a window when in 16 bit colour mode
| Allows the game to be launched in a window when in 16-bit color mode
|}
|}

Revision as of 03:17, 14 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 parameters/options/arguments/switches?

Command-line parameters 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.

Example

C:\Program Files\Game\Game.exe -firstoption -secondoption

LEGO Racers

Argument Effect
-alphatrans Force use of alpha transparency
-novideo Disables startup videos
-horzres Set horizontal resolution
-primary Force use of primary display device
-vertres Set vertical resolution
-window Run in windowed mode (16-bit depth only). However, it minimizes if it is clicked out of.

LEGO Rock Raiders

Below are

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 Unknown
-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