Red Faction Command Line Parameters: Difference between revisions

From Red Faction Wiki
No edit summary
Line 47: Line 47:


===Dash Faction===
===Dash Faction===
* This table lists new command line parameters introduced in Dash Faction. Dash Faction is run from <code>DashFactionLauncher.exe</code>, and any command line parameters must be aswell.
* This table lists new command line parameters introduced in Dash Faction. Dash Faction is run from <code>DashFactionLauncher.exe</code>, and any command line parameters must be as well.
* Note that all command line parameters listed above under Base Game are also still usable in Dash Faction (just run <code>DashFactionLauncher.exe</code> with them).
* Note that all command line parameters listed above under Base Game are also still usable in Dash Faction (by running <code>DashFactionLauncher.exe</code> with them).
{| class="wikitable sortable"
{| class="wikitable sortable"
|-
|-

Revision as of 02:23, 31 August 2020

Red Faction has a number of command line parameters available when launching the game.

Available Parameters

Base Game

  • This table lists command line parameters available as of the latest official client version (v1.20) of rf.exe.
Parameter Syntax Function
-level [filename] Immediately loads into the specified level filename in single player mode when the game launches. .rfl file with corresponding filename must be in a directory loadable by the game (either the stock game files, or within a .vpp file in \user_maps\multi\ or \user_maps\single\.
-mod [mod name] Launch the game (or server, if run in conjunction with -dedicated) with the specified total conversion mod. [mod name] must exactly match the name of the mod's corresponding folder in \mods\.
-dedicated [config name] Launch a dedicated server with the specified config from dedicated_server.txt. If no config name parameter is specified, it will default to the first configuration.
-port [port number] Launch the game (or server, if run in conjunction with -dedicated) on the specified UDP port. If this parameter is not specified, defaults to UDP 7755.
-lanonly Only relevant when launching a dedicated server (via -dedicated). Stops your server from reporting to the multiplayer game tracker. NOTE: Using this parameter does not restrict non-LAN connections.
-timedemo [filename] Launch the game, immediately load into the specified level filename in single player mode, spawn at the origin of the level (XYZ: 0, 0, 0) and spin in a circle once. Framerate statistics are displayed in the console and dumped to timedemo.txt.
-timedemo [filename] Does the same as -timedemo, but the test is performed at the origin, then again at each path node in the level. WARNING: This process could take some time to complete, and you will be unable to exit the game during the test unless you forcefully kill the process via taskkill or Task Manager.
-voodoo Launch the game with Voodoo GPU compatibility.
-voodoo3 Launch the game with Voodoo3 GPU compatibility.
-startpos [coordinates] (Undocumented) Used by RED to start the level at the camera position. (Format: -startpos [0|1],x;[0|1],y;[0|1],z Note: 0 is for negative coordinates and 1 is for positive coordinates)
-startdir [coordinates] (Undocumented) Used by RED to start the level facing a specific direction. (Format: -startdir [0|1],integer;[0|1],integer;[0|1],integer Note: 0 is for negtive orientation and 1 is for positive orientation)
-trackerip [ip/hostname] (Undocumented) Used to specify an alternate multiplayer server tracker. If not specified, game will use the tracker configured in the registry (via launcher options).

Dash Faction

  • This table lists new command line parameters introduced in Dash Faction. Dash Faction is run from DashFactionLauncher.exe, and any command line parameters must be as well.
  • Note that all command line parameters listed above under Base Game are also still usable in Dash Faction (by running DashFactionLauncher.exe with them).
Parameter Syntax Required Dash Version Function
-game 1.3.0+ Launch the game immediately without displaying the launcher window.
-editor 1.3.0+ Launch the level editor immediately without displaying the launcher window.
-win32-console 1.4.1+ Only relevant when launching a dedicated server (via -dedicated). Launch the server in a native Win32 console window.
-exe-path [path] 1.5.0+ Use the specified file path (RF.exe or RED.exe) instead of the one configured under Game executable in the Options panel. As an example, this option is very useful for running multiple dedicated servers using separate game directories.

MP Test

Parameter Syntax Function
-multilog Only relevant when launching a dedicated server (via -dedicated). Writes a log of joining players and runtime to NAME_DayMoDD_HHMM.txt.
  • Example formatting for NAME_DayMoDD_HHMM.txt:
12/16 15:37:38~ Player Default has joined
12/16 15:38:18~ Player nick has joined
12/16 16:18:43~ Red Faction has been active for 0 hours, 42 minutes, and 1 seconds
12/16 17:00:44~ Red Faction has been active for 1 hours, 24 minutes, and 2 seconds
12/16 17:42:45~ Red Faction has been active for 2 hours, 6 minutes, and 3 seconds
12/16 18:16:20~ Player digi has joined

RED Command-line switches

See RED Editor

Related Pages