Command Line Options - thelivingdiamond/Chairloader GitHub Wiki

Command Line Options

This page lists all known command line options for Chairloader and Prey.

  1. Chairloader
  2. Engine
  3. Preditor

Chairloader

These options can be added to Prey.exe command line. In Steam, they can be set in Properties -> Launch Options.

Option name Description
-nochair Disable Chairloader and Mod DLLs.
-nopatches Disable optional patches for troubleshooting.
-chair_mods_path <path to a directory> Overrides the path to Mods directory.
-nodevmode Forcefully disables engine's developer mode, even in Debug builds. Overrides -devmode.
-devmode Enables the engine's developer mode. Automatically set in Debug builds. Enables asserts in Release builds.
-trainer Enables trainer functionality. Requires -devmode.
-editor Enables the In-Game Editor for mod development.
-noaudio Disables the engine's audio subsystem. Breaks all dialog triggers and hard-locks story progression. Reduces start up time by 10 seconds.
-renderdoc The engine will wait for 10 seconds until RenderDoc is injected.
-shadersdebug <int> (When shader compiler is enabled) Sets the value of r_shadersdebug.
-shaderthreads <int> (When shader compiler is enabled) Sets the number of threads to use to compile shaders.
-lua_storedebug <int> Enables (1) or disables (0) Lua debug output. Disabled by default in normal mode, enabled in dev mode.

Engine

These can be used in the same way as Chairloader's options. Some of these were found in CRYENGINE 5 source code and were not tested with Prey.

Option name Description
+command_name command_arg Not Tested Executes the console command when the game is started.
-epicuserid <string> Set by Epic Games Store launcher. Influences the save game path.
-nomouse Not Tested Disables mouse input, only leaving keyboard and gamepads.
-autodetect Not Tested Forces the game to auto-adjust graphics settings to match the hardware.
-norandom Not Tested Seeds all PRNGs with constant seed of 0.

Preditor

In addition to the options listed below, it accepts everything the engine and Chairloader support after. Engine options need to be set after --.

Option name Description
-- Mark the end of Preditor options. The following will be passed to the engine.
--extract Enable Extraction Mode. It will load the engine and extract paks set in ExtractList.xml.
--game-path <full path> Path to the root game directory (where GameSDK is).
--output-path <full path> Path to the output directory.
⚠️ **GitHub.com Fallback** ⚠️