Repository navigation
Settings Reference
Every cvar registered by code in this repository (a REX_SETTING row, or a console command), plus the environment variables the build reads and the SDK cvars the code refers to. A cvar is one setting; it can be set in the pause menu (when a row exists), on the command line as --name=value, or in larecomp.toml. How and when the file is rewritten: Getting Started. The names in the tables are the flat names players use in larecomp.toml, after -- and as REX_<NAME> in the environment; LARecomp registers each as larecomp.<name> (larecomp.mcla_gpu_ao), and the SDK reads REX_LARECOMP_<NAME> too. The SDK's own settings have scoped names since 0.11 (gpu.vsync): see the table of SDK cvars.
Counts, from the rows of the tables below (the REX_SETTING rows of src/settings/generated/ and src/settings/larecomp_app_settings.h, and three REX_COMMAND entries):
| Page | Cvars |
|---|---|
| Graphics and performance | 90 |
| Audio | 9 |
| Input (controller, keyboard, wheel) | 105 |
| Camera and HUD | 90 |
| Gameplay and world | 61 |
| Online | 23 |
| Mods | 45 |
| Startup, saves and text | 9 |
| Debug and diagnostics | 70 |
| This page, total | 502 |
| Settings Renderer Advanced | 619 |
| All | 1121 |
The README states "155 settings". The REX_SETTING rows and commands found in the source number 1121 (1118 settings and 3 console commands, gpu_trace_next, menu_cam_dump and warp); the README figure is not reproduced here.
Set a setting in the pause menu, on the command line as --name=value, or in larecomp.toml beside the executable. Menu changes apply immediately and save when you leave the submenu.
FPS LIMIT is the frame rate cap: 30, 40, 45, 50, 60, 75, 90, 100, 120, 144, 165, 240 or uncapped. High frame rates are correct because the simulation is fed the measured frame time instead of the fixed 30 Hz timestep (REAL FRAME DELTA, on by default). That switch is a fix, not a frame rate setting, so it lives on the hidden DEBUG menu's FIXES page.
A flag the game cannot use does not stop it: the log (logs/larecomp_NNN.log) says [cli] --name=value ignored: and why, and near its start it lists the debug settings that are not at their default ([settings] name = value (command line)). Check the log first when a setting seems to do nothing.
Set REX_LOG_LEVEL=warn on builds that are not Release: they log at trace, which is enough disk writing to cause stutter. It has to be an environment variable.
| Column | Meaning |
|---|---|
| Name | The cvar name, as written in larecomp.toml and after --. |
| Type |
bool, string, double, int32, uint32, uint64, or command. |
| Default | The default in the REX_SETTING row. "" is an empty string. |
| Range / values | The Range or Allowed list of the row. - means none is declared. A range is not enforced by this wiki; it is what the row declares. |
| Where | The pause menu row (path, label, and the values the row steps through) when one exists. debug menu: is a row of the hidden DEBUG menu (below). toml / CLI means no menu row. |
| Effect | The description in the registration, shortened. "Needs a restart" marks settings with the kRequiresRestart lifecycle (one with kInitOnly says in its text that it cannot change while the game runs). "Debug only." marks kDebugOnly settings: a change made while the game runs lasts for that session and is not written to larecomp.toml. A live setting (no lifecycle trait) carries no note. |
| Source | The file that reads the setting. The rows themselves are in src/settings/generated/ (by category) and src/settings/larecomp_app_settings.h. |
Notes:
- Menu rows named for a
disable_*cvar are inverted: the row shows ON when the value is false. - While SUN SHADOWS (
perf_no_shadows) is off, FOLIAGE SHADOWS, SUN SHADOW DETAIL, SUN SHADOW FILTER and TRAFFIC SHADOWS are grey and keep their values. - RT rows depend on graphics card and driver support. A grey row keeps its saved value. CITY IN CAR PAINT RT can also report NEEDS CAR RT, NOT READY or BUILDING DATA. See Ray traced city.
- Some rows exist for one renderer only (
XeniaOnlyandNativeOnlyinsrc/mc_engine/menus/menu_items.h); the menu lists the rows of the renderer running at launch. - Row labels are copied as they appear in
src/mc_engine/menus/pause_menu.cpp, except that the rubberband row is written without its first word. - Steps listed for a numeric row are the values the menu cycles through. A value outside the steps can still be set in
larecomp.toml; the row then shows that value as an entry of its own (src/mc_engine/menus/menu_items.h). - Descriptions that were empty or not in English in the source are restated from the code.
Opened with Start or Escape, then the SETTINGS tab. The tree below is built from the menu tables in src/mc_engine/menus/pause_menu.cpp, src/mc_engine/menus/upscaling_menu.cpp, src/mc_engine/menus/frame_generation_menu.cpp, src/mc_engine/menus/display_menu.cpp, src/mc_engine/menus/debug_menu_pages.cpp and src/mc_engine/camera/camera_look.cpp, and agrees with documentation/RUNNING.md. Rows marked (NATIVE) exist only with the Plume renderer; rows marked (XENIA) only with the other one. The menu lists the rows of the renderer running at launch.
The renderer is not in the menus: the native one is the default, and the hidden compatibility renderer (the XENIA one) is chosen with gpu.driver, which the DEBUG menu's RENDERING > RENDERER row holds (below). The graphics API is not either: the launcher's Troubleshooting section sets it, and --graphics_backend=auto|d3d12|vulkan works on the command line. The developer switches live on the hidden DEBUG menu (below).
- RECOMP SETTINGS
- HIDE MOUSE POINTER (
hide_mouse_pointer) - MOUSE IN MENUS (
menu_mouse) - ORIGINAL INTRO SPEED (
intro_original_speed), next start - SKIP INTRO VIDEOS (
skip_intro), next start
- HIDE MOUSE POINTER (
- GRAPHICS
- DISPLAY, in this order
- DISPLAY MODE (
fullscreen,fullscreen_exclusive) - VSYNC (
mcla_gpu_vsync) (NATIVE) - RESOLUTION (
resolution) - ASPECT RATIO (
aspect_ratio) (NATIVE). FIT WINDOW, 16X9, 16X10, 21X9 or 32X9. - HDR (NATIVE), a page with HDR (
mcla_gpu_hdr), PAPER WHITE (mcla_gpu_hdr_paper_white_nits), PEAK BRIGHTNESS (mcla_gpu_hdr_peak_nits), HIGHLIGHTS (mcla_gpu_hdr_highlights) and TEST PATTERN (mcla_gpu_hdr_test_pattern). - DISPLAY GAMMA (
display_gamma) - FPS LIMIT (
fps_limit) - MSAA (
mcla_gpu_msaaon NATIVE,disable_msaaon XENIA) - POST AA (
mcla_gpu_aa) (NATIVE) - NVIDIA REFLEX or AMD ANTI-LAG 2 (
mcla_gpu_low_latency), by graphics card (NATIVE) - UPSCALING (
mcla_gpu_upscaler, withmcla_gpu_fsrfor FSR 1) (NATIVE). The row can show APPLYING, RESTART or NO ROOM. - RENDER SCALE or the chosen upscaler's mode (
mcla_gpu_resolution_scale,mcla_gpu_dlss_mode,mcla_gpu_fsr31_mode,mcla_gpu_fsr4_mode,mcla_gpu_fsr_preset). XENIA usesresolution_scale. - SHARPNESS (
mcla_gpu_upscaler_sharpness,mcla_gpu_fsr_sharpness) (NATIVE) - DLSS RAY RECONSTRUCTION or AMD FSR RAY REGENERATION (
mcla_gpu_vendor_denoiser) on supported systems (NATIVE). See Denoiser. - FRAME GENERATION (
mcla_gpu_frame_generation), FRAME GEN MULTIPLIER (mcla_gpu_frame_generation_multiplier), FRAME GEN FPS LIMIT (mcla_gpu_frame_generation_fps_limit) (NATIVE)
- DISPLAY MODE (
- PRESET (
mcla_gpu_preset) (NATIVE). See Graphics presets. - IMAGE QUALITY
- TEXTURE FILTERING (
mcla_gpu_anisotropyon NATIVE,anisotropic_overrideon XENIA) - DEPTH OF FIELD (
disable_dof) - MOTION BLUR (
disable_motion_blur)
- TEXTURE FILTERING (
- LIGHTING AND SHADOWS
- PHYSICALLY BASED LIGHTING (
mcla_gpu_pbr) (NATIVE). OFF or ON. Physically based lighting - SUN SHADOWS (
perf_no_shadows) - SUN SHADOW DETAIL (
mcla_gpu_shadow_resolution), SUN SHADOW FILTER (mcla_gpu_shadow_filter) (NATIVE) - FOLIAGE SHADOWS (
disable_imposter_shadows) - TRAFFIC SHADOWS (
mcla_gpu_traffic_shadows), PLAYER CAR SHADOWS (mcla_gpu_car_shadow_map), CONTACT SHADOWS (mcla_gpu_contact_shadows) (NATIVE). OFF, HIGH or ULTRA. TRAFFIC SHADOWS uses HIGH for nearby traffic and ULTRA for a wider area. With PLAYER CAR SHADOWS or TRAFFIC SHADOWS on and SUN SHADOWS RT in use, the shadow under those cars follows the car's height, its turn and the sun; without SUN SHADOWS RT, and with the rows OFF, the game's own shadow under them is kept. - SUN SHADOWS RT (
mcla_gpu_rt_shadows) (NATIVE). OFF, HIGH or ULTRA. Needs CONTACT SHADOWS and ray tracing support. - AMBIENT OCCLUSION / RT (
mcla_gpu_ao) (NATIVE). OFF, ON or RT. ON uses screen-space occlusion. - CAR OCCLUSION RT (
mcla_gpu_ao_rt) (NATIVE). OFF, OCCLUSION, SUN or BOTH. - OCCLUSION STRENGTH (
mcla_gpu_ao_intensity) (NATIVE). Levels 1 to 4. - BOUNCE LIGHT (
mcla_gpu_ssgi), BOUNCE LIGHT RT (mcla_gpu_rt_gi), BOUNCE STRENGTH (mcla_gpu_ssgi_intensity) (NATIVE). The first two offer OFF, HIGH or ULTRA. Strength runs from 1 to 5. The RT row can show (VRAM) when the selected level needs more video memory. - HEADLIGHTS (
mcla_gpu_headlights) (NATIVE) - LOCAL LIGHT SHADOWS (
mcla_gpu_light_shadows), LOCAL LIGHT SHADOWS RT (mcla_gpu_rt_lights) (NATIVE). The first offers OFF, MEDIUM, HIGH or ULTRA. The RT row offers OFF or ON. - NEON UNDERGLOW (
mcla_gpu_neon_light), LIGHT BOUNCE (mcla_gpu_light_bounce) (NATIVE). LIGHT BOUNCE reflects light from vehicle lamps, neon, street lamps and decorative lights onto nearby surfaces. - SUNBEAMS (
mcla_gpu_sun_shafts), LIGHT BEAMS (mcla_gpu_volumetrics), LIGHT BEAM STRENGTH (mcla_gpu_vol_strength) (NATIVE). SUNBEAMS offers OFF or levels 1 to 5. LIGHT BEAMS offers OFF, MEDIUM, HIGH or ULTRA. LIGHT BEAM STRENGTH offers levels 1 to 5, with 3 the default.
- PHYSICALLY BASED LIGHTING (
- REFLECTIONS (NATIVE)
- PLANAR REFLECTION DETAIL (
mcla_gpu_reflection_resolution). GAME, HIGH or ULTRA. - SURFACE REFLECTIONS (
mcla_gpu_ssr), SURFACE REFLECTIONS RT (mcla_gpu_ssr_rt). OFF, HIGH or ULTRA. The RT row needs SURFACE REFLECTIONS and ray tracing support. ULTRA reaches farther than HIGH. - PAINT REFLECTION DETAIL (
mcla_gpu_env_resolution). OFF or ON. - CAR SELF-REFLECTIONS (
mcla_gpu_car_selfrefl), CAR SELF-REFLECTIONS RT (mcla_gpu_car_selfrefl_rt). OFF or ON. The RT row needs CAR SELF-REFLECTIONS and ray tracing support. - CITY IN CAR PAINT RT (
mcla_gpu_rt_reflections). OFF or ON. Needs CAR SELF-REFLECTIONS RT and the city data. - MIRRORS (
mcla_gpu_side_mirrors). OFF or ON. Adds a working view to the side and cabin mirrors.
- PLANAR REFLECTION DETAIL (
- WORLD DETAIL
- TRAFFIC RANGE (
traffic_unspawn_dist) - PEDESTRIAN DENSITY (
ped_density_scale) - PARKED CAR DENSITY (
parked_car_scale) - PROP DISTANCE (
global_max_draw_distance) - TRAFFIC DETAIL DISTANCE (
lod_traffic_scale) - CITY DETAIL DISTANCE (
lod_city_scale)
- TRAFFIC RANGE (
- DISPLAY, in this order
- GAMEPLAY
- CAMERA
- CHASE CAMERA
- CAM SMOOTH FACTOR (
chase_cam_smoothing_factor) - CAMERA SHAKE (
camera_shake_scale)
- CAM SMOOTH FACTOR (
- FOV
- 1P FOV (
fov_1p_scale) - 3P FOV (
fov_3p_scale)
- 1P FOV (
- REAR VIEW
- REAR VIEW (
rearview) - REAR VIEW POS (
rearview_position) - REAR VIEW FRAME (
rearview_frame) - CARS IN REAR VIEW (
rearview_cars)
- REAR VIEW (
- LOOK AROUND
- MOUSE LOOK (
cam_freelook) - MOUSE SENS (
cam_freelook_sens) - INVERT MOUSE X (
cam_freelook_invert_x) - INVERT MOUSE Y (
cam_freelook_invert_y) - RECENTER DELAY (
cam_freelook_return_delay) - RECENTER SPEED (
cam_freelook_return_rate)
- MOUSE LOOK (
- CHASE CAMERA
- TIME OF DAY
- REAL CLOCK (
time_of_day_realtime) - HOLD TIME (
time_of_day_hold) - TIME (
time_of_day). Fog follows the requested or held hour. - DAY SPEED (
time_of_day_speed) - WEATHER (
weather)
- REAL CLOCK (
- CARBON FIBER
- DIFFICULTY
- PRESET (
difficulty_preset) - AI DIFFICULTY (
ai_difficulty) - CATCH-UP (AI BEHIND) (
rubberband_catchup_scale) - HOLD-BACK (AI AHEAD) (
rubberband_holdback_scale) - RUBBERBAND RANGE (
rubberband_distance_scale) - AI SHORTCUTS WHEN BEHIND (
rubberband_shortcut_scale) - NITRO FROM START (
rubberband_nitro_start_dist) - NITRO NEAR FINISH (
rubberband_nitro_finish_scale) - NITRO BEHIND YOU (
rubberband_nitro_behind_scale)
- PRESET (
- MAP MOUSE
- MAP MOUSE (
map_mouse) - MAP MOUSE ZOOM (
map_mouse_zoom) - HIDE POINTER ON MAP (
map_mouse_hide_cursor) - MAP CURSOR MAGNET (
map_mouse_magnet)
- MAP MOUSE (
- CAMERA
- CONTROLLER
- VIBRATION (
controller_vibration) - DUALSENSE RESISTANCE (
trigger_resistance) - DUALSENSE VIBRATION (
trigger_vibration) - DUALSENSE THROTTLE STRENGTH (
trigger_throttle) - DUALSENSE BRAKE STRENGTH (
trigger_brake) - XBOX TRIGGER RUMBLE (
impulse_triggers) - XBOX TRIGGER STRENGTH (
impulse_trigger_strength) - LEFT STICK DEAD ZONE (
left_stick_deadzone) - RIGHT STICK DEAD ZONE (
right_stick_deadzone) - BUTTON LAYOUT (
button_prompts)
- VIBRATION (
- INTERFACE
- UI
- MENU BLUE (
ui_theme_accent) - TITLES AND GLOBE (
ui_theme_title) - FRAME GRAY (
ui_theme_frame) - SPEED UNITS (
speed_units) - HUD WIDTH (
hud_width) (NATIVE)
- MENU BLUE (
- LANGUAGES
- LANGUAGE (
language)
- LANGUAGE (
- UI
- EXTRAS
- CUTSCENES
- CUTSCENE (
cutscene_replay)
- CUTSCENE (
- TEXTURE MODS (
texture_mods) (NATIVE) - EXTRA VINYL LAYERS (
extra_vinyl_layers) - NO 8 PLAYER LIMITS (
net_lift_big_session_limits) - START GARAGE (
start_garage)
- CUTSCENES
- DEBUG, only with the debug menu unlocked (below)
- QUIT
Open SETTINGS > GRAPHICS > PRESET in the native renderer. A preset sets IMAGE QUALITY, LIGHTING AND SHADOWS, REFLECTIONS and WORLD DETAIL. Choose resolution, anti-aliasing, upscaling, frame generation, HDR and the vendor denoiser on DISPLAY.
| Preset | What it sets |
|---|---|
| VANILLA | The original console look at your chosen resolution and frame rate, with LARecomp's fixes. |
| ENHANCED | Enhanced lighting and screen-space effects, including surface reflections. |
| ENHANCED RT | Enhanced graphics with ray traced lighting and reflections. Available on GPUs with ray tracing support. |
| CUSTOM | Your own choices on the four effect pages. |
On first start, the game selects the preset marked (RECOMMENDED). Low-class GPUs get VANILLA, High-class GPUs with strong ray tracing get ENHANCED RT, and all other GPUs get ENHANCED, including when the GPU class is unknown. Each effect level has the same settings on supported GPUs.
ENHANCED and ENHANCED RT use 16X texture filtering. VANILLA uses GAME.
A saved preset takes precedence. A Preview 2 configuration with saved graphics effect settings and no preset starts on CUSTOM. The old MSAA, POST AA and RT mirror keys also count for this migration. The old ENHANCED ULTRA and ENHANCED RT ULTRA presets load as ENHANCED and ENHANCED RT. Editing a covered row switches to CUSTOM. The game saves your edits and remembers the starting preset, so rows without a saved choice still inherit its values after a restart.
A tester's menu, hidden from players. Unlock it with --debug_menu on the command line, REX_DEBUG_MENU=1 in the environment, or debug_menu = true in larecomp.toml (written by hand; the game never writes it). The command line wins over the environment and the environment over the file, so --debug_menu=false locks it again for one run. The answer is fixed at start-up: a running game cannot unlock itself. Pages include FIXES (the fixes of the game's code), PICTURE FIXES (the fixes of the Plume renderer's picture; listed only while the Plume renderer runs), RENDERER FIXES (Plume), LIGHTING FIXES (Plume), PERFORMANCE, RENDERING, CAMERA, TOOLS, LOGGING, INFO (src/mc_engine/menus/debug_menu_pages.cpp). A page holds at most 24 rows.
LIGHTING FIXES holds comparison switches for sun shadows, bounce light and atmosphere. RENDERER FIXES holds SHARP UI, SHARP MINIMAP and RT DENOISE V2.
A setting tagged debug-only (the Effect column ends in "Debug only.") changed while the game runs, from the DEBUG menu, the F4 panel or the console, lasts for that session and is never written to larecomp.toml; a line you wrote in the file by hand keeps its value. The settings that differ from their default are listed in the log at every start, with where each value came from. REAL FRAME DELTA, for one, is a DEBUG row (FIXES), not a normal menu row.
Rows without a cvar:
| Menu | Row | Effect | Source |
|---|---|---|---|
| GAMEPLAY > CARBON FIBER | HOOD, TRUNK, DOORS, ROOF, BUMPERS, FENDERS & SKIRTS, SPOILER, GRILL & INTERCOOLER | Flip a bit in the customization data of the car being driven. | src/mc_engine/menus/pause_menu.cpp |
| EXTRAS > CUTSCENES | Play | Action; plays the chosen cutscene_replay cutscene. |
src/mc_engine/menus/pause_menu.cpp |
| DEBUG > FIXES | Reset | Puts the debug settings back to their defaults. | src/mc_engine/menus/debug_menu_pages.cpp |
| DEBUG > RENDERING | RENDERER | NATIVE, XENIA D3D12 or XENIA VULKAN: the renderer the next start runs (gpu.driver). The row holds the choice; leaving the menu writes gpu.driver to larecomp.toml and offers RESTART NOW. Grey (RENDERER (LAUNCH OPTION)) while --gpu.driver or REX_GPU_DRIVER is set. The XENIA renderer is the hidden compatibility renderer. |
src/mc_engine/menus/debug_menu_pages.cpp |
| DEBUG > TOOLS | Open the settings panel (F4), telemetry card (F3) | Open the overlays. | src/mc_engine/menus/debug_menu_pages.cpp |
| DEBUG > TOOLS | DUMP SCENE TEXTURES, RELOAD TEXTURE MODS | Actions (NATIVE renderer). Reload is the same as setting texture_reload. See Texture Modding. |
src/mc_engine/menus/debug_menu_pages.cpp |
| DEBUG > INFO | Show changed, Copy launch args, Reset | List the debug settings not at their default in the log, put their launch arguments on the clipboard, put them back to default. | src/mc_engine/menus/debug_menu_pages.cpp |
| QUIT | Yes, No, Restart | Close the game (the cursor starts on No), or restart it. | src/mc_engine/menus/pause_menu.cpp |
The README's tab list ("eight tabs": ReXGlue Settings, Recomp Settings, Performance, Fidelity FX, Debug Camera, Time of Day, Carbon Fiber, Languages) is out of date. The tree above is what the code builds.
Read from the process environment. Sources: src/larecomp_app.cpp, src/mc_engine/hooks/frame_timing.cpp, documentation/RUNNING.md.
| Variable | Default | Effect | Source |
|---|---|---|---|
REX_LOG_LEVEL |
trace on non-Release builds |
Log level. Use warn. Must be an environment variable. |
documentation/RUNNING.md |
LARECOMP_LOG_FILE |
automatic | Log file path. | src/spdlog_console.cpp |
LARECOMP_NO_CRASH_DIALOG |
unset |
1 skips the "crashed" message box: a crash writes its report to the log and the game ends at once (exit status 0xC4A50001 for an access violation), for test runs nobody watches. |
src/crash_options.h |
MCLA_GAME_DATA |
auto-detect | Folder holding default.xex. Invalid values are reported and ignored. |
src/larecomp_app.cpp |
LARECOMP_INSTALL_ISO |
unset | Path of an ISO to install unattended. | src/isoinstaller/larecomp_iso_installer.cpp |
MCLA_FPS_CAP |
unset | Overrides the fps_limit cvar. Read once at startup. |
src/mc_engine/hooks/frame_timing.cpp |
MCLA_MAX_FRAME_MS |
unset | A fixed cap, in ms, on how far one frame can advance the clock after a stall; wins over the frame_step_cap cvar. Clamped to 16 to 1000; the cap cannot be turned off. |
src/mc_engine/hooks/frame_timing.cpp |
MCLA_TIMING_LOG |
off | Frame timing log when set (1). |
src/mc_engine/hooks/timing_log.cpp |
MCLA_TEX_SOFT, MCLA_TEX_HARD
|
derived from adapter VRAM | Texture cache soft and hard limits in MB. Without them, and when larecomp.toml does not set the SDK limits, the hard limit is half the VRAM clamped to 768 to 4096, the soft limit three quarters of that clamped to 384 to 2560; 2048 hard when VRAM cannot be read. |
src/larecomp_app.cpp |
MCLA_TEX_RTT |
64 |
Render-to-texture cache limit in MB, unless larecomp.toml sets it. |
src/larecomp_app.cpp |
MCLA_VSYNC |
false |
Sets gpu.vsync (vsync) at startup. |
src/larecomp_app.cpp |
MCLA_REFRESH_RATE |
60 |
Sets ui.video_mode_refresh_rate (video_mode_refresh_rate) at startup. |
src/larecomp_app.cpp |
MCLA_ALLOW_INVALID_FETCH |
true |
Sets gpu.xenos.allow_invalid_fetch_constants (gpu_allow_invalid_fetch_constants). |
src/larecomp_app.cpp |
MCLA_PROFILE |
unset |
1 enables the guest profiler (same as guest_profile). |
src/mc_engine/core/guest_profiler.cpp |
MCLA_PROFILE_SLOW_MS |
built-in | Slow-frame threshold for the guest profiler; accepted when greater than 0.5 and less than 1000. | src/mc_engine/core/guest_profiler.cpp |
MCLA_PROFILE_THREAD |
unset | Thread name filter for the guest profiler. | src/mc_engine/core/guest_profiler.cpp |
MCLA_RESOLVE_SYMBOLS |
unset |
1 turns on symbol resolution in logs. Also on when REX_LOG_LEVEL is debug. |
src/mcla_symbol_resolver.h |
MCLA_STRINGS_FILE |
unset | Extra path searched by the symbol resolver. | src/mcla_symbol_resolver.h |
MCLA_SLEEP_SPIN |
unset |
1 restores the legacy sleep spin. Undocumented beyond the code. |
src/mc_engine/core/threading.cpp |
MCLA_SPIN_COUNTERS |
unset |
1 turns on the fence spin counters. |
src/mc_engine/hooks/frame_timing.cpp |
Any cvar: --name=value. Values from the command line are used for that run only and are never written to larecomp.toml (src/mc_engine/core/config_save.cpp). --game_data_root picks the game data folder. A few cvars do a job and close the program: see the next heading.
The launch argument --join_server=host[:port][,race|room:<gamertag>] joins a server by itself: see Online Play.
A few cvars do a job without starting the game: no window, no graphics, and the process ends when the job is done. The launcher's setup runs them; they can be run by hand too. The ones for the shader packs and the graphics pipelines are build_shader_packs and precache_pipelines (see Settings Renderer Advanced). The ray tracing effects read files built on your PC from your own game files, in the city folder of the shader pack folder; three actions make and check them:
| Action | Does | Exit code |
|---|---|---|
--build_city_pack |
the city pack (the city's geometry, and its lamps) | 0 built, up to date or not needed; 1 otherwise |
--build_city_hit |
the city's pictures, then the hit file (its surfaces) over the pack in place; the result is no pack when there is no pack |
the same |
--check_city_hit |
stat only (a moment): is the hit data in place and current? | 0 up to date; 1 not current |
--check_city_hit --check_city_hit_deep=true |
reads the city pack, the hit file and every picture of the texture file back (seconds) | 0 whole; 1 problems, with their counts |
--build_city_pack_force=true and --build_city_hit_force=true build even when the files in place are current. --build_city_hit_force also works as a bare flag. Several actions on one command line run in this order and stop at the first failure: --build_city_pack, --build_city_hit, --check_city_hit. Progress is printed as @citypack| lines (fields separated by |, the free text last). The city pack build, hit data build and hit data check report a phases table before phase progress. The launcher runs each action in its own process. The progress lines are folder, phase, step (at most five a second), log and, last, result with one of ok, up to date, not needed, cancelled, failed, no archive, no pack or not current. The logs are logs/city_pack_build.txt, logs/city_hit_build.txt and logs/city_hit_check.txt. Ending the process cancels it and is safe at any moment: the files are written under temporary names and the stamp last. The game builds the same files itself, in the background, when they are missing and an effect that reads them is on, so none of this is required. What the files are and how big: Ray traced city. The rows of the actions are in Settings Renderer Advanced (build_city_pack, build_city_hit, check_city_hit and their force and deep switches).
These are registered by the ReXGlue SDK, not by code here, so type, default and range are not documented in the source of this repository.
| Name | 0.11 name | Where referenced | Notes |
|---|---|---|---|
fullscreen |
ui.fullscreen |
menu: GRAPHICS > DISPLAY > DISPLAY MODE | Boolean; the DISPLAY MODE row sets it together with fullscreen_exclusive. |
vsync |
gpu.vsync |
debug menu: RENDERING > XENIA VSYNC (XENIA renderer); MCLA_VSYNC
|
Boolean. The Plume renderer's VSYNC row is mcla_gpu_vsync. |
resolution |
ui.resolution |
menu: GRAPHICS > DISPLAY > RESOLUTION (WINDOWED, BORDERLESS) | The window's size. Steps: "" (DEFAULT), 720p, 1080p, 1440p, 4k, from src/mc_engine/menus/pause_menu.cpp. FULLSCREEN does not use it: its size is fullscreen_resolution. |
resolution_scale |
gpu.resolution_scale_x and gpu.resolution_scale_y
|
menu: GRAPHICS > DISPLAY > RENDER SCALE (XENIA renderer only) | Steps: 1.0, 2.0, 3.0, 4.0. LARecomp converts the old name: one number sets both. |
game_data_root |
title.game_root |
src/larecomp_app.cpp, README |
Game data folder. See Getting Started. |
user_data_root |
app.user_root |
src/larecomp_app.cpp |
When set, LARecomp does not choose the user data folder itself. |
user_name |
kernel.user_name |
src/profile/larecomp_profile_picker.cpp |
Name of the save to play. Interacts with the save picker and profile_auto_select. |
bind_settings, bind_debug_overlay, bind_achievements
|
ui.bind.settings, ui.bind.debug, ui.bind.achievements
|
src/larecomp_app.cpp |
The SDK's own overlay keys. The app unbinds them so that LARecomp's panels take F4, F3 and F7 (ui.bind.mcla_settings, ui.bind.mcla_telemetry, ui.bind.mcla_achievements); a value you set for one still applies to the SDK's own overlay. |
gpu.driver |
gpu.driver (new in 0.11) |
debug menu: RENDERING > RENDERER; larecomp.toml; --gpu.driver; REX_GPU_DRIVER
|
The renderer. larecomp (the default) is the native Plume renderer; d3d12, vulkan and any (d3d12 on Windows, vulkan elsewhere) are the Xenia renderer, kept as the hidden compatibility renderer. Startup-only: the DEBUG row holds the choice and the next save writes it. A launch option or the environment variable beats the file. |
Further SDK settings get startup defaults from ApplyStartupDefaults in src/larecomp_app.cpp (gpu.driver, gpu.vsync off, ui.video_mode_refresh_rate 60, the texture cache limits gpu.xenos.texture_cache_memory_limit_*, gpu.anisotropic_override = 5, gpu.xenos.async_shader_compilation, gpu.d3d12.bindless, readback and submission flags). They are defaults of the title layer: a value you set in larecomp.toml, on the command line or in the environment wins. They are not intended as user settings.
Removed in 0.11 and ignored with one log line (not an unknown-setting warning): present_effect, present_fsr_quality_mode, present_cas_additional_sharpness, present_fsr_sharpness_reduction, present_fsr_max_upsampling_passes, host_present_from_non_ui_thread, mcla_gpu and mcla_native_gfx_nocp. An old larecomp.toml that chose the XENIA renderer with mcla_gpu = false or mcla_native_gfx_nocp = false is converted to gpu.driver. resolution_scale and input_backend (now hid.drivers) are converted too, because their values changed. The other SDK settings keep their flat names as aliases: src/settings/sdk_names.inc lists them (gpu.d3d12.*, gpu.vulkan.* and gpu.xenos.* for the Xenia GPU's, hid.*, kernel.*, log.*, apu.*, ui.*).
Types, defaults and ranges below are copied from the REX_SETTING rows. Where a cvar has no description in the source the row says so.
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
carbon_all_parts |
bool | true |
- | toml / CLI | Carbon fiber can be applied to any body part, not just the hood. Debug only. | src/mc_engine/gameplay/carbon_parts.cpp |
dbg_print |
bool | false |
- | toml / CLI | Enable DbgPrint console outputs. Needs a restart. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
real_frame_delta |
bool | true |
- | debug menu: FIXES > REAL FRAME DELTA; toml / CLI | Feeds the simulation the measured frame time instead of the engine's fixed 30 Hz timestep, and unlocks presentation from every-other-vblank. Required for correct physics, camera and traffic above 30 FPS. This is NOT a frame rate cap - see fps_limit for that. Debug only. | src/mc_engine/hooks/frame_timing.cpp |
intro_original_speed |
bool | true |
- | menu: RECOMP SETTINGS > ORIGINAL INTRO SPEED; toml / CLI | Present the start-up legal screens and logos 30 times a second, as the console does. They are drawn by a loop that never runs the engine timer, so fps_limit never reached them and they played as fast as the host could present. The screens play before the pause menu can be opened, so a change made there is seen at the next start. | src/mc_engine/hooks/frame_timing.cpp |
skip_intro |
bool | false |
- | menu: RECOMP SETTINGS > SKIP INTRO VIDEOS (next start); toml / CLI | Skip the intro videos to prevent graphical issues. Needs a restart. | src/mc_engine/hooks/ui.cpp |
disable_motion_blur |
bool | false |
- | menu: GRAPHICS > IMAGE QUALITY > MOTION BLUR (row shows ON when the value is false); toml / CLI | Disable Motion Blur completely. | src/mc_engine/hooks/graphics.cpp |
disable_imposter_shadows |
bool | true |
- | menu: GRAPHICS > LIGHTING AND SHADOWS > FOLIAGE SHADOWS (row shows ON when the value is false; grey with (NO SHADOW) while SHADOWS is off); toml / CLI |
Far trees are drawn as flat cards, and each casts a baked shadow silhouette into the sun's shadows. False refreshes those silhouettes, so far trees cast shadows; true skips the refresh, so they cast none. Daylight only, and only while perf_no_shadows is false (the pause menu's SHADOWS is on). |
src/mc_engine/hooks/graphics.cpp |
disable_msaa |
bool | false |
- | menu: GRAPHICS > DISPLAY > MSAA (XENIA renderer only); toml / CLI | Disables MSAA in the compatibility renderer. Needs a restart. | src/mc_engine/hooks/graphics.cpp |
disable_dof |
bool | true |
- | menu: GRAPHICS > IMAGE QUALITY > DEPTH OF FIELD (row shows ON when the value is false); toml / CLI | Disable Depth of Field (DoF) completely. | src/mc_engine/hooks/graphics.cpp |
aspect_ratio |
string | window |
one of auto, window, 16:9, 16:10, 21:9, 32:9
|
menu: GRAPHICS > DISPLAY > ASPECT RATIO; toml / CLI | FIT WINDOW fills the window. 16X9, 16X10, 21X9 and 32X9 keep a fixed shape with black bars where needed. Legacy auto uses FIT WINDOW. | src/mc_engine/hooks/graphics.cpp |
mcla_fix_guest_density_work |
bool | true |
- | debug menu: FIXES > DENSITY LOOKUP; toml / CLI | Reuse the ambient zone lookups and read density settings once per update. Live. Debug only. | src/settings/generated/settings_patches.h |
mcla_fix_guest_mirror_work |
bool | true |
- | debug menu: FIXES > MIRROR CAR LOOKUP; toml / CLI | Use an indexed lookup for cars selected for the rear view. Live. Debug only. | src/settings/generated/settings_patches.h |
mcla_fix_guest_shadow_work |
bool | true |
- | debug menu: LIGHTING FIXES > TRAFFIC SHADOW WORK; toml / CLI | Skip unused traffic-shadow viewport reads and select the two distances for the caster cutoff. Live. Debug only. | src/settings/generated/settings_patches.h |
disable_rubberbanding |
bool | false |
- | toml / CLI | Disable the computer-controlled opponents RubberBand system outright. Note this also removes MinThrottle, the leash that slows the computer-controlled opponents when it is AHEAD -- so it makes races harder, not fairer. Prefer the rubberband_* scales under MCLA/Difficulty. Needs a restart. Debug only. | src/mc_engine/hooks/rubberband.cpp |
break_pairwise_collision |
bool | false |
- | toml / CLI | Disables pairwise collision resolution. Live: the game's collision function is skipped or run again at its next call. Debug only. | src/mc_engine/hooks/vehicle.cpp |
unlock_ride_height |
bool | false |
- | toml / CLI | Allow the full stock ride-height table in the shop (down to rh_800 / -8). | src/mc_engine/hooks/vehicle.cpp |
unlock_wheel_fit |
bool | false |
- | toml / CLI | Allow every stock rim size, tire profile, tire width and ride height regardless of the car's clearance metrics. | src/mc_engine/hooks/vehicle.cpp |
warp_transition_fix |
bool | true |
- | toml / CLI | Finish a cinematic warp (pause menu -> garage from far away) whose camera flight ended between two frames. Debug only. | src/mc_engine/hooks/warper.cpp |
garage_tire_offset |
bool | true |
- | toml / CLI | Add a TIRE OFFSET row to the garage wheels > dimensions screen, editing the per-car TireOffset0/1 bytes retail parses but never uses. Debug only. | src/mc_engine/menus/pause_menu.cpp |
car_mesh_fixes |
bool | true |
- | toml / CLI | Raises the Impala 64's second rear bumper, which sits too low. | src/mc_engine/gameplay/car_mesh_fixes.cpp |
garage_camber |
bool | true |
- | toml / CLI | Adds CAMBER to the garage's WHEELS > DIMENSIONS screen. Set the front, rear or both axles from -15 to +5 degrees. 0 keeps the wheels upright. The angle is saved per car. | src/mc_engine/menus/pause_menu.cpp |
garage_menu_fixes |
bool | true |
- | toml / CLI | Adds the lowriders' side exhausts, the CLK63 AMG's missing third and fourth exterior part variants, and the city bus's performance list. | src/mc_engine/gameplay/garage_fixes.cpp |
garage_unlock_parts |
bool | false |
- | F4 / toml / CLI | Lets testers select locked entries in the garage's part menus. Parts bought during the test stay bought. Career unlocks stay as they were. Debug only. | src/mc_engine/gameplay/garage_part_unlock.cpp |
owned_cars_keep_all_generations |
bool | false |
- | toml / CLI | Keep all extra-car save files set aside from earlier saves, including files a later load finds unused. Needs a restart. Debug only. | src/mc_engine/hooks/owned_cars.cpp |
owned_cars_limit |
int32 | 30 |
- | toml / CLI | Garage capacity, from 30 to 255 cars per save. Above 30, extra cars go in mc4_owned_cars.bin beside the save. A build with the stock limit shows the first 30. If you save there, use owned_cars_recover_unmatched to bring the extra cars back. Needs a restart. |
src/mc_engine/hooks/owned_cars.cpp |
owned_cars_poison_static |
bool | false |
- | toml / CLI | Fill the original profile car slots with a test pattern while the expanded garage is active, to catch reads from those slots. Needs a restart. Debug only. | src/mc_engine/hooks/owned_cars.cpp |
owned_cars_recover_unmatched |
bool | false |
- | toml / CLI | With the expanded garage enabled, recover extra cars from the newest side file if the loaded save holds exactly 30 cars and has no matching side file. Enable for one start, then turn it off. Needs a restart. | src/mc_engine/hooks/owned_cars.cpp |
owned_cars_test_fill |
int32 | 0 |
- | toml / CLI | After loading a save, copy the current car until the garage has this many cars. 0 leaves the garage as loaded. Needs a restart. Debug only. | src/mc_engine/hooks/owned_cars.cpp |
tire_offset_step |
double | 0.012 |
- | toml / CLI | Metres of lateral wheel movement per TIRE OFFSET notch (17 notches, -8..+8, so the default spans about +/-10 cm). 0 disables the effect while leaving the garage row usable. Debug only. | src/mc_engine/gameplay/tire_offset.cpp |
tire_offset_targets |
uint32 | 31 |
- | toml / CLI | Bitmask (decimal) of the per-wheel matrix blocks TIRE OFFSET moves: 1 = model+1088 (the tyre), 2 = +1344, 4 = +1600, 8 = +1856, 16 = +1920. 31 moves all five; drop bits to find which block owns which part. Debug only. | src/mc_engine/gameplay/tire_offset.cpp |
frame_step_cap |
string | adaptive |
- | toml / CLI | How far one frame may advance the game's clock after a stall (a texture-streaming hitch, a long load): the step is cut to this and the game plays that instant in slow motion, as the console did, instead of jumping ahead. adaptive (the default) is 1.5 times the recent median frame time, never below 34 ms or above 125 ms: about 34 ms at 60 FPS, 50 ms at a steady 30 FPS (so a slow PC never runs in slow motion). Or a number of milliseconds for a fixed cap, 16 to 1000 (125 was the old fixed cap). The cap cannot be turned off, and the MCLA_MAX_FRAME_MS environment variable, when set, wins (as a fixed number). Debug only. | src/mc_engine/hooks/frame_timing.cpp |
hud_width |
int32 | 0 |
0 to 100 | menu: INTERFACE > UI > HUD WIDTH; toml / CLI | On a wide picture, how far the HUD's corner pieces (the minimap, speedometer, race position, lap and time, and the phone) move out toward the screen edges, in percent: 0 (Centered) keeps the whole HUD in the middle 16:9, 50 (Wider) is halfway, 100 (Full) puts each piece as far from its edge as on a 16:9 screen. | src/mc_engine/hooks/graphics.cpp |
mcla_fix_neon_30hz |
bool | true |
- | debug menu: FIXES > NEON PULSE 30 HZ; toml / CLI | Fix: the neon underglow's pulse follows the console's 30 Hz clock, not every frame. A fast flash rate is a wave of about 30 Hz; the console sampled it 30 times a second and showed a slow throb, and at 60 FPS or more the same wave blinks about 11 times a second (a strobe). On: every frame rate shows the console's throb. Off: the pulse is worked out at every frame. Debug only. | src/mc_engine/hooks/neon_pulse.cpp |
mcla_fix_neon_pulse_pin |
double | -1.0 |
-1.0 to 1.0 | toml / CLI | Diagnostic (the neon underglow's pulse, for tests): a number from 0 to 1 that every flashing neon shows at every update, whatever the game's clock, so that two runs of a scene show the same underglow (the pulse is a function of the clock, and a picture A/B of the neon's light cannot be judged when it differs by run). Below 0 (the default): the game's own pulse. Live. Debug only. | src/mc_engine/hooks/neon_pulse.cpp |
mcla_fast_exit |
bool | true |
- | debug menu: FIXES > FAST EXIT; toml / CLI | Fix: the game ends its process right after its orderly shutdown (saves, settings and logs written, the renderer and audio stopped), without running the destructors of its global objects. The SDK leaves a game thread that is slow to leave running while the game ends; a thread like that could still use an object the exit had just destroyed, and the game crashed a few milliseconds after it said it was exiting (about once in 1400 exits). On: the process ends at once, with the same exit code. Off: the old end through the C runtime's exit. Whatever this says, a shutdown that gets stuck is ended by a watchdog after 5 seconds without progress (8 seconds while the graphics driver takes the graphics device down, 12 at the most), with exit code 124 (not 0), and the log says [quit] close watchdog. Debug only. |
src/larecomp_app.cpp |
mcla_fix_checkpoint_fade |
bool | true |
- | debug menu: FIXES > CHECKPOINT SMOKE; toml / CLI | Fix: the smoke of a closed race checkpoint dissipates over about half a second at every frame rate. The game fades it by dt x 25 at every update, which is 0.83 per update on the console's 30 updates a second but 0.42 at 60 FPS and 0.17 at 144 FPS, so above 30 FPS the smoke vanished with the checkpoint. On: the same decay per second as the console at any frame rate. Off: the game's own number at every update. Debug only. | src/mc_engine/hooks/checkpoint_effect_fade.cpp |
mcla_skip_gpu_teardown |
bool | true |
- | debug menu: FIXES > SKIP GPU TEARDOWN; toml / CLI | With FAST EXIT enabled on a normal native-renderer shutdown, let the OS reclaim final GPU objects. The driver still tears them down on device loss or in diagnostics mode. Debug only. | src/gpu/shutdown_rules.h |
showroom_unlimited |
bool | true |
- | toml / CLI | The garage's showroom lists every vehicle on sale. Off = the game's own showroom: 70 rows, and a picture for at most 7 vehicles past the game's own. Needs a restart. Debug only. | src/mc_engine/hooks/showroom.cpp |
vehicle_records_relocate |
bool | true |
- | toml / CLI | Keep the parts bought for each car model in a table sized to the roster, so the game takes more than 77 vehicles. Off = the game's own 77-slot table: past 77 vehicles it overwrites other profile data, and a large roster crashes the boot. Needs a restart. Debug only. | src/mc_engine/hooks/vehicle_records.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
fma_float_fast |
bool | true |
- | toml / CLI | On a CPU without FMA3 (Intel before Haswell, AMD before Piledriver), fused multiply-adds whose operands are single-precision values are computed with a double multiply and add, which gives the same bits, instead of the C runtime's software fma (157 to 165 cycles a call). Nothing changes on a CPU with FMA3. Needs a restart. Debug only. | src/mc_engine/core/fma_fast.cpp |
fps_limit |
int32 | 60 |
0 to 360 | menu: GRAPHICS > DISPLAY > FPS LIMIT; steps: 30, 40, 45, 50, 60, 75, 90, 100, 120, 144, 165, 240, UNCAPPED; toml / CLI | Frame rate cap in FPS (0 = uncapped). The pause menu offers 30, 40, 45, 50, 60, 75, 90, 100, 120, 144, 165 and 240. While frame generation runs the cap counts the frames the game renders (twice as many are shown) and mcla_gpu_frame_generation_fps_limit is the cap instead. | src/mc_engine/hooks/frame_timing.cpp |
frame_limit_spin |
bool | true |
- | debug menu: PERFORMANCE > FPS LIMIT SPIN; toml / CLI | Hit the frame-limit deadline with a PAUSE spin. Off restores the sleep-then-yield wait, which gives the core back instead of burning it. Debug only. | src/mc_engine/hooks/frame_timing.cpp |
vsync_fast_poll |
bool | true |
- | toml / CLI | Drive the SDK's gpu_vsync_fast_poll. With vsync off the guest vblank interval is 1 ms, so fast poll keeps the GPU VSync worker spinning a whole core. Off restores the 1 ms sleep. Needs a restart. Debug only. | src/mc_engine/hooks/frame_timing.cpp |
pace_at_swap |
bool | true |
- | debug menu: PERFORMANCE > PACE AT PRESENTATION; toml / CLI | Hold each frame to the FPS limit right before it is presented instead of before the game's update: even present intervals (best on a variable refresh display), at the cost of up to one more frame of input latency. Debug only. | src/mc_engine/hooks/frame_timing.cpp |
fence_spin_throttle |
bool | true |
- | debug menu: PERFORMANCE > FENCE SPIN YIELD; toml / CLI | Off restores the stock guest spin. Debug only. | src/mc_engine/hooks/frame_timing.cpp |
single_tile |
bool | false |
- | debug menu: PERFORMANCE > SINGLE TILE; toml / CLI | Render the scene in a single predicated-tiling tile instead of two. Halves draw calls and state traffic with MSAA on. Requires the enlarged virtual EDRAM (SDK >= this build). Debug only. | src/mc_engine/hooks/graphics.cpp |
submit_on_primary_buffer_end |
bool | false |
- | toml / CLI | Drive the SDK's d3d12_submit_on_primary_buffer_end. Ends a D3D12 submission at every PM4 primary buffer end instead of batching the frame. Measured ~7% slower on a GTX 1650. With graphics_backend = vulkan the SDK's own vulkan_submit_on_primary_buffer_end (on by default) applies instead; not measured here, so it is left alone. Needs a restart. Debug only. | src/mc_engine/hooks/graphics.cpp |
pump_wake_on_demand |
bool | true |
- | debug menu: PERFORMANCE > FRAME PACING WAKE; toml / CLI | The game's frame-pacing thread (it frees the draw command ring's slots and sleeps out 7 ms a round) comes round at once when the main thread is waiting for a slot, instead of after its Sleep. Lifts the frame rate an uncapped game was held to when a frame takes less than 7 ms; changes nothing under a frame rate cap below that. Needs 4 or more logical processors, and a watchdog on the audio mixer turns it off if the audio runs dry. Off is the game's own Sleep. Debug only. | src/mc_engine/hooks/pump_wake.cpp |
perf_no_shadows |
bool | false |
- | menu: GRAPHICS > LIGHTING AND SHADOWS > SUN SHADOWS; toml / CLI | Turns off real-time sun shadows. Applies live. | src/mc_engine/hooks/render_phases.cpp |
perf_shadow_phase_bits |
string | 0x65E0 |
- | debug menu: PERFORMANCE > SHADOW PHASES; toml / CLI | Render phase bits perf_no_shadows clears in renderer+448 (hex). 0x65E0 = sun cascades (0x61E0, what the game's own 'noshadows' clears) plus the night/blend shadow phase 0x400 that it misses. 0x400 alone isolates the night path. Debug only. | src/mc_engine/hooks/render_phases.cpp |
perf_no_race_shadows |
bool | false |
- | toml / CLI | Drop the shadow pass during races only (dev switch 'noraceshadows'). Needs a restart. Debug only. | src/mc_engine/hooks/render_phases.cpp |
race_line_max_hz |
int32 | 30 |
0 to 240 | debug menu: FIXES > RACE LINE RATE; toml / CLI | The most often the game improves an AI racer's driving line (its Race Line job), per second and per racer. 30 is the console's rate (it ran at 30 FPS); 0 runs the job every frame, as before. A job always runs in the frame where the racer's control points changed, so only the speed numbers along the line are older, by at most one interval. The rate counts the game's own time: with a fixed step (mcla_fixed_step_fps) or a take it is the updates run times the step, so it holds however fast the frames come. The DEBUG menu row steps EVERY FRAME (0), 30 A SECOND and 60 A SECOND; the file and the command line take any value from 0 to 240. Live. Debug only. |
src/mc_engine/hooks/race_line.cpp |
cpu_limit_lp |
uint32 | 0 |
- | toml / CLI | Limit the process to the first N logical processors available in its affinity mask at startup. 0 leaves affinity alone. Debug only. | src/settings/larecomp_app_settings.h |
race_line_native_mask |
int32 | 3 |
0 to 3 | toml / CLI | Which of the Race Line's two busiest functions run as native host code instead of the recompiled version, as bits: 1 the backward speed pass, 2 the forward pass. 0 runs both recompiled (the A/B switch); 3 is the default. Their results are bit for bit the recompiled functions'. Needs FMA3; a call whose memory is not plain guest RAM always goes to the recompiled code. Read at start. Needs a restart. Debug only. | src/mc_engine/hooks/race_line.cpp |
race_line_check_calls |
int32 | 3000 |
0 to 1000000000 | toml / CLI | With the native Race Line passes on: the first this many calls of each pass are also run by the recompiled function on the same input and the results compared; any difference switches that native pass off for the rest of the session (a warning in the log says where). 0 = no check. Read at start. Needs a restart. Debug only. | src/mc_engine/hooks/race_line.cpp |
race_line_stats |
bool | false |
- | toml / CLI | Log one line every 10 s about the Race Line: the jobs queued, skipped by the cap and run, and the time they took. Live. Debug only. | src/mc_engine/hooks/race_line.cpp |
race_line_record |
string | "" |
- | toml / CLI | Write the inputs of Race Line jobs to this file (a debug recording for the Race Line test: the planner's blocks, 61 KB a job). Empty = off. Live; the file is opened by the first job. Debug only. | src/mc_engine/hooks/race_line.cpp |
race_line_record_every |
int32 | 50 |
1 to 100000 | toml / CLI | With race_line_record: record every this many jobs (1 = all). Debug only. | src/mc_engine/hooks/race_line.cpp |
race_line_record_count |
int32 | 300 |
1 to 100000 | toml / CLI | With race_line_record: stop after this many records. Debug only. | src/mc_engine/hooks/race_line.cpp |
perf_fast_vehicle_shadows |
bool | false |
- | debug menu: PERFORMANCE > CHEAP CAR SHADOW; toml / CLI | Draw cars into the shadow passes with less detail (dev switch 'fastVehShadows'): the game skips the extra, more detailed draw it adds for each car's shadow. Use instead of perf_no_shadows to keep world shadows. Takes effect at the next frame that draws shadows: no restart. Debug only. | src/mc_engine/hooks/render_phases.cpp |
perf_no_impostors |
bool | false |
- | toml / CLI | Do not allocate the foliage impostor render targets (dev switch 'noimpostors'). Distant trees lose their billboards. Applies at the next start of the game. Needs a restart. Debug only. | src/mc_engine/hooks/render_phases.cpp |
perf_no_trees |
bool | false |
- | debug menu: PERFORMANCE > FOLIAGE; toml / CLI | Skip loading the prop/foliage set (dev switch 'notrees'). Last resort. Applies on the next district load. Debug only. | src/mc_engine/hooks/render_phases.cpp |
perf_no_fullscreen_blur |
bool | false |
- | toml / CLI | Skip the full-screen blur pass (dev switch 'nofsblur'). Applies at the next start of the game. Needs a restart. Debug only. | src/mc_engine/hooks/render_phases.cpp |
enable_ambient_tuning |
bool | true |
- | toml / CLI | Enable ambient traffic and pedestrian density tuning. Debug only. | src/mc_engine/hooks/world_tuning.cpp |
race_line_twin |
int32 | 0 |
0 to 2 | toml / CLI | Which version of the Race Line's two path functions runs (sub_8216E408 the headings, curvature and speed limits of the path's samples, sub_8216F900 the samples from the control points): 0 the recompiled functions (the default until a race has been checked), 1 the host twins (hooks/race_line_twin.h: the same instructions over a local register file, bit for bit the recompiled functions' results. The first race_line_check_calls calls of each also run the recompiled function on the same input and any difference switches that twin off), 2 check (every call runs both and compares. The game keeps the recompiled result. The log counts the differences and names the first). Needs FMA3. A call whose memory is not plain guest RAM runs recompiled. Read at start. Debug only. | src/settings/generated/settings_performance.h |
race_line_twin_mask |
int32 | 3 |
0 to 3 | toml / CLI | Which path functions take part when race_line_twin is 1 or 2, as bits: 1 sub_8216E408, 2 sub_8216F900. Read at start. Debug only. | src/settings/generated/settings_performance.h |
render_wait_mode |
string | auto |
one of auto, wait, spin
|
debug menu: PERFORMANCE > RENDER THREAD WAIT; toml / CLI | AUTO and WAIT block the native render thread until work arrives or a present is due. SPIN restores polling for comparison. Applies on the next wait. Debug only. | src/settings/larecomp_app_settings.h |
mcla_gpu_vk_present_pacing |
bool | false |
- | debug menu: PERFORMANCE > VULKAN PRESENT PACING (Windows); toml / CLI | For compositor timing comparisons on Windows with NVIDIA Vulkan, caps presentation in windowed and borderless modes at the display refresh rate or 120 FPS, whichever is lower. Uses 60 FPS if refresh is unknown. Lower frame limits still apply. Live within one second. Debug only. | src/settings/larecomp_app_settings.h |
mcla_gpu_cross_adapter_present |
bool | true |
- | debug menu: PERFORMANCE > CROSS-ADAPTER PRESENT FIX (Windows); toml / CLI | On Windows, can skip a busy display update when the monitor and game use different GPUs. Applies live when VSync, present wait and frame generation are off. Debug only. | src/settings/larecomp_app_settings.h |
mcla_test_d3d12_latency_one |
bool | false |
- | CLI | Test a Direct3D 12 frame queue of one with frame generation off. Requires the debug menu. Read at startup. Debug only. | src/settings/larecomp_app_settings.h |
thread_qos |
int32 | 0 |
-1 to 2 | toml / CLI | Windows 10 1709 or later. 0 = off (default). 1 = requests HighQoS for the game process (execution speed throttling off) while its window has focus. Windows manages process throttling again when focus is lost and always chooses which cores run the threads. 2 = also requests HighQoS for the render thread, audio threads and frame generation pacer for the whole session. On hybrid CPUs, level 2 selects Pro Audio when audio_mixer_priority is automatic (-1). An explicit audio_mixer_priority overrides the Pro Audio choice. -1 = automatic (level 1). The log's [qos] lines say what was applied. Takes effect at the next start. See perf/HYBRID-QOS.md. Debug only. | src/settings/generated/settings_performance.h |
traffic_unspawn_dist |
double | 0.0 |
0.0 to 600.0 | menu: GRAPHICS > WORLD DETAIL > TRAFFIC RANGE; steps: 100M, 150M, 200M, 250M, 300M, 400M, 500M, 600M; toml / CLI | Distance at which traffic is removed. A legacy value of 0 uses 300 m. | src/mc_engine/hooks/world_tuning.cpp |
ped_density_scale |
double | -1.0 |
-1.0 to 2.0 | menu: GRAPHICS > WORLD DETAIL > PEDESTRIAN DENSITY; steps: 0X, 0.25X, 0.5X, 0.75X, 1X, 1.5X, 2X; toml / CLI | How many pedestrians are on the streets. 1X is the original amount. A legacy negative value uses 0.75X. | src/mc_engine/hooks/world_tuning.cpp |
parked_car_scale |
double | -1.0 |
-1.0 to 2.0 | menu: GRAPHICS > WORLD DETAIL > PARKED CAR DENSITY; steps: 0X, 0.25X, 0.5X, 0.75X, 1X, 1.5X, 2X; toml / CLI | How many parked cars are on the streets. 1X is the original amount. A legacy negative value uses 0.75X. | src/mc_engine/hooks/world_tuning.cpp |
traffic_density_scale |
double | 1.0 |
0.0 to 2.0 | toml / CLI (debug) | Moving traffic density scale (0.0 = no new traffic cars, 1.0 = the game's own, 2.0 = double), at every speed. Live for the cars that spawn from the next frame; cars already on the road leave by the unspawn radius (traffic_unspawn_dist). Needs enable_ambient_tuning. Debug setting for trailers and repeatable tests (with ped_density_scale and parked_car_scale at 0). |
src/mc_engine/hooks/world_tuning.cpp |
global_max_draw_distance |
double | 0.0 |
0.0 to 6000.0 | menu: GRAPHICS > WORLD DETAIL > PROP DISTANCE; steps: STOCK, 250M, 500M, 1000M, 1500M, 2000M, 3000M, 4000M; toml / CLI | Draw distance of breakable props such as poles, signs and fences. STOCK uses the original distance. | src/mc_engine/hooks/world_tuning.cpp |
breaking_frame_rate_limit |
double | 0.0 |
0.0 to 120.0 | debug menu: PERFORMANCE > BREAK FPS FLOOR; toml / CLI | fragTuneStruct::BreakingFrameRateLimit -- framerate floor under which the engine stops spawning new fragment breaks. 0 = keep the tune file's value (10); the engine's own constructor default is 30. Debug only. | src/mc_engine/hooks/world_tuning.cpp |
frame_pacing |
int32 | 1 |
0 to 1 | debug menu: PERFORMANCE > FRAME PACING; toml / CLI | 1: every frame stays on screen for exactly the time step the game simulated it with -- the renderer holds a frame that is ready early until its planned time, and the game steps by the planned interval. Stops the camera's back-and-forth jumps when the game does not hold the FPS LIMIT, for a few milliseconds of latency. 0: the step is the measured frame time and frames are shown when ready, as before. Needs the Plume renderer, and is idle with mcla_gpu_vsync. Debug only. | src/mc_engine/hooks/frame_pacing.cpp |
frame_pacing_recovery |
bool | true |
- | debug menu: PERFORMANCE > FRAME PACING RECOVERY; toml / CLI | For comparisons. On: when a frame waits for the previous frame's planned display time, that wait is not counted as the frame being late, so FRAME PACING learns its latency from how late frames really are. Off: the wait counts, as before; the learned latency can then climb to its limit and frames alternate between two intervals for the first seconds of a session | |
lzx_native |
bool | true |
- | toml / CLI | Decompress the game's streamed resources (LZX) with native code instead of the recompiled XMemDecompressStream. The first streams are decoded by both and compared; any difference switches the native decoder off for the rest of the session. Read at start. Needs a restart. Debug only. | src/mc_engine/hooks/lzx_native.cpp |
host_helpers_mask |
int32 | 255 |
0 to 255 | toml / CLI | Which of the game's small helper functions run as native host code instead of the recompiled version, as bits: 1 memcpy, 2 memset, 4 the row writer, 8 the shader-constant copy, 16 the constant-bank flush, 32 the C runtime's memcpy, 64 the fetch-constant bank flush, 128 the register block write. 0 runs all of them recompiled (the A/B switch); 255 is the default (63 = the first six only). A call the native version cannot reproduce exactly (overlapping ranges, register or physical-window addresses, a command-ring wrap) always goes to the recompiled code. Read at start. Needs a restart. Debug only. | src/mc_engine/hooks/host_helpers.cpp |
render_cpu_mask |
int32 | 15 |
0 to 15 | toml / CLI | Which of the small render-thread CPU savings run, as bits: 1 the per-draw timers of the statistics read the clock on one draw in seven (instead of every draw), 2 the check whether a physical range of the guest's memory is readable asks the address alias that answered last first, 4 the lookups by device address in the constant banks and the constant upload keep their last answer, 8 the side-view rule check of a depth target keeps its last answer. 0 runs all of them as they were (the A/B switch); 15 is the default. None of them changes a picture or a frame. Read at start. Needs a restart. Debug only. | src/gpu/scene.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
lod_traffic_scale |
double | 0.0 |
0.0 to 10.0 | menu: GRAPHICS > WORLD DETAIL > TRAFFIC DETAIL DISTANCE; steps: 0.5X, 1X, 1.5X, 2X, 3X, 5X; toml / CLI | How far away traffic keeps detailed models. 1X is the original distance. A legacy value of 0 uses 2X. | src/mc_engine/hooks/graphics.cpp |
lod_city_scale |
double | 0.0 |
0.0 to 10.0 | menu: GRAPHICS > WORLD DETAIL > CITY DETAIL DISTANCE; steps: 0.5X, 1X, 1.5X, 2X; toml / CLI | How far away the city keeps detailed models. 1X is the original distance. A legacy value of 0 uses 2X. | src/mc_engine/hooks/graphics.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
larecomp_texture_folder |
string | "" |
- | toml / CLI | Folder the texture dumps are written to. Empty: textures_dump/ in the mod folder (modloader/, mods/ or models/ beside the executable) Debug only. | src/mc_engine/core/texture_dump.cpp |
graphics_backend |
string | auto |
one of auto, d3d12, vulkan
|
launcher (Graphics API row); toml / CLI | Graphics API of the Plume renderer. Read at start-up. The XENIA renderer's API is gpu.driver (d3d12 or vulkan), which also picks the renderer. Needs a restart. |
src/gpu/backend.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
display_gamma |
string | tv |
one of tv, pc
|
menu: GRAPHICS > DISPLAY > DISPLAY GAMMA; toml / CLI | Display gamma ramp. tv: the console's for an HDTV (BT.709), as the game ships. pc: sRGB, for PC monitors, with brighter shadows. Live. | src/mc_engine/hooks/display_gamma.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
texture_mods |
bool | true |
- | menu: EXTRAS > TEXTURE MODS; toml / CLI | Use the texture mods (<mods>/<Mod>/textures_replace/). False shows the game's own textures; changing it re-indexes the mods at the start of the next frame. |
src/gpu/textures.cpp |
texture_reload |
bool | false |
- | toml / CLI | Set to true to reload the texture mods (<mods>/<Mod>/textures_replace/) at the start of the next frame, the same as RELOAD TEXTURE MODS on the DEBUG menu's TOOLS page. It clears itself afterwards. Debug only. |
src/gpu/textures.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
fullscreen_exclusive |
bool | false |
- | menu: GRAPHICS > DISPLAY > DISPLAY MODE (EXCLUSIVE); toml / CLI | With fullscreen on: exclusive fullscreen. The display is switched to the size of fullscreen_resolution (the nearest mode it lists; the display's own size when it is empty, the default) while the game has the focus, and put back when the game loses it or closes. Off is borderless fullscreen: a window without a frame the size of the display, the display left as it is. Windows only. |
src/mc_engine/display/display_mode.cpp |
fullscreen_resolution |
string | "" |
WxH or empty |
menu: GRAPHICS > DISPLAY > RESOLUTION (FULLSCREEN); toml / CLI | With fullscreen and fullscreen_exclusive on: the size the display is switched to (the nearest mode the display lists). Empty, the default: the display's own size, no switch. The window's size is resolution, which FULLSCREEN does not use (before, a window's size was taken as the display mode and could put the display in 1280x720). For supersampling, FULLSCREEN is not needed: RENDER SCALE above 100% works in every display mode. Windows only. |
src/mc_engine/display/display_mode.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
mcla_audio_output |
string | auto |
- | toml / CLI | auto: the default device, or silence when none opens. null: always silent. Needs a restart. Debug only. | src/mc_engine/music/audio_output.h |
audio_mixer_priority |
int32 | -1 |
-1 to 3 | toml / CLI | Host priority of the game's two audio threads: the guest thread that mixes each 5.33 ms frame (the game's request for a higher priority is ignored) and the SDK's audio worker that calls the game for each frame: 0 = normal, 1 = above normal, 2 = highest, 3 = highest and registered with the Windows multimedia scheduler ("Pro Audio"), -1 = automatic: 3 on a PC with 6 or fewer logical processors, 0 otherwise. On Linux 1 to 3 raise the threads' nice value if the system allows it (it usually does not for an ordinary user). Takes effect at the next start. Needs a restart. Debug only. | src/mc_engine/hooks/audio_mixer.cpp |
custom_music |
bool | false |
- | toml / CLI | Old host player: decodes <exe>/music/*.mp3 outside the game and plays them over it, with the guest radio carrying only the row. Off, because the native route (mc_engine/music) turns the same files into real game objects, real cues and real streaming wave banks -- the radio then behaves exactly as it does for a shipped song. Needs a restart. Debug only. |
src/mc_engine/mp3custom/mp3custom.cpp |
custom_music_announce |
bool | true |
- | toml / CLI | Print the song name on the HUD info strip (the bar under the speedometer that normally carries the district name) whenever the radio moves to a new track. Uses the game's own message channel, so it looks like any other line the game puts there; applies to the shipped radio as well as custom MP3s. | src/mc_engine/mp3custom/mp3custom.cpp |
custom_music_announce_seconds |
double | 15.0 |
1.0 to 60.0 | toml / CLI | How long the song name stays on the HUD info strip. The game's own uses of that channel are short (3 s for MUSIC OFF, 5 s for a district name), but a track title is worth reading, so this defaults longer. Anything the game itself puts on the strip replaces it before the time is up. | src/mc_engine/mp3custom/mp3custom.cpp |
custom_music_volume |
double | 0.5 |
- | toml / CLI | Trim applied on top of the in-game music slider for custom MP3 tracks. The shipped radio goes through the RAGE mixer and its ducking curves, which the host player does not, so 1.0 comes out noticeably louder. Debug only. | src/mc_engine/mp3custom/mp3custom.cpp |
custom_music_cue_gain_db |
double | 4.0 |
0.0 to 6.0 | toml / CLI | Gain for native custom music in the game's audio mixer, after the bank's 3 dB MP3 decode headroom. Shipped songs keep their original gain. | src/mc_engine/mp3custom/mp3custom.cpp |
music_bank_log |
bool | false |
- | debug menu: LOGGING > MUSIC BANK LOG; toml / CLI | Log every streaming wave bank the audio engine opens: the bank id (an index into the sounds.dat string table) and whether the file was found. Use it when a song plays silently -- it separates 'the bank was never asked for' from 'the bank was opened and decoded to nothing'. Debug only. | src/mc_engine/mp3custom/mp3custom.cpp |
music_list |
bool | false |
- | toml / CLI | Log the whole radio once, right after mcMusicManager finishes building it: every genre bucket with each song's hash code and title. This is how you tell whether a song added through the audio metadata (a rebuilt game.dat plus its wave bank) actually reached AddSong, since the game's own log line for that was compiled out. Needs a restart. Debug only. | src/mc_engine/mp3custom/mp3custom.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
adaptive_triggers |
bool | true |
- | toml / CLI | Old setting, replaced by trigger_resistance and trigger_vibration. False in an older settings file turns both off. | src/mc_engine/input/adaptive_triggers.cpp |
trigger_throttle |
int32 | 3 |
1 to 8 | menu: CONTROLLER > DUALSENSE THROTTLE STRENGTH; toml / CLI | R2 resistance at the end of its travel, 1 (light) to 8 (firm). Used by trigger_resistance. | src/mc_engine/input/adaptive_triggers.cpp |
trigger_brake |
int32 | 6 |
1 to 8 | menu: CONTROLLER > DUALSENSE BRAKE STRENGTH; toml / CLI | L2 resistance at the end of its travel, 1 (light) to 8 (firm). Used by trigger_resistance. | src/mc_engine/input/adaptive_triggers.cpp |
hide_mouse_pointer |
bool | true |
- | menu: RECOMP SETTINGS > HIDE MOUSE POINTER; toml / CLI | Hide the mouse pointer during play. It goes at once when a controller is used and after about 3 seconds without mouse movement, only over the game window while it has focus. Mouse movement, a click, the wheel or losing focus brings it back, and it stays while the mouse is over an overlay. | src/mc_engine/input/cursor_hide.cpp |
script_pad_latch_ms |
int32 | 100 |
0 to 500 | toml / CLI | A script that asks whether a button was pressed only every few updates (the title screen's Start above 30 FPS) misses a press that comes in an update it does not look in. It is told about that press, at its next look, if its previous look was at most this many milliseconds before. Without it the button has to be pressed several times. 0 = the game's own behaviour: a press is seen only by a script that looks in the update it happened in. Debug only. | src/mc_engine/hooks/script_input.cpp |
left_stick_deadzone |
double | 0.0 |
0.0 to 50.0 | menu: CONTROLLER > LEFT STICK DEAD ZONE; toml / CLI | Dead zone of the left stick, in percent of its range: a stick that rests off centre (drift) reads as centred inside it. 0 = none. | src/mc_engine/hooks/stick_deadzone.cpp |
right_stick_deadzone |
double | 0.0 |
0.0 to 50.0 | menu: CONTROLLER > RIGHT STICK DEAD ZONE; toml / CLI | Dead zone of the right stick, in percent of its range: a stick that rests off centre (drift) reads as centred inside it. 0 = none. | src/mc_engine/hooks/stick_deadzone.cpp |
controller_vibration |
bool | true |
- | menu: CONTROLLER > VIBRATION; toml / CLI | Controller vibration. Off keeps the game's rumble from reaching any controller and stops a motor that is running. | src/mc_engine/hooks/vibration.cpp |
keyboard_native |
bool | true |
- | debug menu: FIXES > NATIVE KEYBOARD; toml / CLI | Native keyboard, always on. Feeds the keyboard and the mouse buttons straight into the game's own input layer (rage ioMapper) from the window's key events: menus and driving get separate key sets, so Enter can be 'accept' in a menu and Pause on the road without ever being both. A debug switch to tell whether a bug comes from it (off = the keyboard does nothing). Debug only. | src/mc_engine/keyboard_native.cpp |
keycaps_dir |
string | "" |
- | toml / CLI | Folder of the 64x64 key cap PNGs the keyboard glyphs are painted from, named by lower-case key (return.png, escape.png, a.png, capslock.png ...). Empty = the set embedded in the executable (src/keycaps/). Debug only. | src/mc_engine/keyboard_native.cpp |
map_mouse |
bool | true |
- | menu: GAMEPLAY > MAP MOUSE > MAP MOUSE; toml / CLI | Drive the full map's cursor with the mouse. The pointer position is unprojected onto the map plane, so the cursor lands where you point instead of drifting like a stick would. | src/mc_engine/input/map_mouse.cpp |
map_mouse_fov |
double | 45.0 |
5.0 to 150.0 | toml / CLI | Vertical field of view, in degrees, of the camera the full map is drawn with. The only number the unprojection cannot read out of the game. Too small and the cursor lags behind the pointer towards the screen edges; too large and it runs ahead. The centre of the screen is correct at any value, so calibrate by pointing at a corner. Debug only. | src/mc_engine/input/map_mouse.cpp |
map_mouse_flip_x |
bool | false |
- | toml / CLI | Mirror the horizontal axis of the map cursor. Needed only if the camera basis rows turn out to be left-handed -- the cursor then moves the wrong way along one axis while the other tracks correctly. Debug only. | src/mc_engine/input/map_mouse.cpp |
map_mouse_flip_y |
bool | false |
- | toml / CLI | Mirror the vertical axis of the map cursor. See map_mouse_flip_x. Debug only. | src/mc_engine/input/map_mouse.cpp |
map_mouse_zoom |
bool | true |
- | menu: GAMEPLAY > MAP MOUSE > MAP MOUSE ZOOM; toml / CLI | Zoom the full map with the scroll wheel. The camera height is the zoom, so this walks it through the game's own min/max at +1124/+1128. | src/mc_engine/input/map_mouse.cpp |
map_mouse_zoom_step |
double | 1.15 |
1.01 to 3.0 | toml / CLI | Multiplier applied to the map camera's height per wheel detent. Debug only. | src/mc_engine/input/map_mouse.cpp |
menu_mouse |
bool | true |
- | menu: RECOMP SETTINGS > MOUSE IN MENUS; toml / CLI | Use the mouse in the game's menus: moving the pointer over a row highlights it, a left click is A on it (on the left or right part of a settings row, the arrow: it steps the value), the right button is B, the wheel moves the highlight. The pointer stays on screen while a menu is up and the mouse is what you last used. Off, the mouse does nothing in menus. Live. | src/mc_engine/input/menu_mouse.cpp |
kb_latency_log |
bool | false |
- | F4 / toml / CLI | Log keyboard timing from the window to the game's input poll. On Windows, also measure the time from the OS to the window. Reports poll count and the longest gap every five seconds. Debug only. | src/mc_engine/keyboard_native.cpp |
menu_mouse_dump |
bool | false |
- | toml / CLI (debug) | Debug: log once what the mouse sees of the menu that is up (the movie, its scale onto the stage, the list and the menu object the game drew last, the clip tree and every slot's place); again each time it is set to true. How a menu that falls back gets its rows read. | src/mc_engine/input/menu_mouse.cpp |
menu_mouse_dump_new |
bool | false |
- | toml / CLI (debug) | Debug: the same dump once for every new menu the mouse meets, fallbacks included, up to 24 a run. For test tours: set it before the first menu opens. | src/mc_engine/input/menu_mouse.cpp |
menu_mouse_row_offset |
double | 0.0 |
-60.0 to 60.0 | toml / CLI (debug) | Debug: moves every menu row's place for the mouse up or down, in the menu's own pixels (about -12 moves a row's origin to its middle). | src/mc_engine/input/menu_mouse.cpp |
menu_mouse_row_width |
double | 0.0 |
0.0 to 1280.0 | toml / CLI (debug) | Debug: the width of a menu row for the mouse, in the 1280 x 720 stage's pixels. 0 = from what the row holds (never under 320). Rows the pointer is said to be on but is not (or the reverse) at the right edge of the list: set this and look again. | src/mc_engine/input/menu_mouse.cpp |
menu_mouse_trust_layouts |
bool | false |
- | toml / CLI (debug) | Debug: hover and row clicks also on the menus whose layout is read from the menu file but not yet checked against pictures (the garage's other pages, dialogs). Off: those menus take a left click as ACCEPT on the highlighted row; the wheel and the right button work. The pause menu, the settings pages, the garage's first menu and its two-row pop-ups do not need it. | src/mc_engine/input/menu_mouse.cpp |
map_mouse_zoom_smooth |
double | 0.22 |
0.02 to 1.0 | toml / CLI | How much of the remaining distance to the wheel's target height the camera covers each frame. A detent is a step, and stepping the camera straight to it is what made the zoom read as jerky; this eases into it instead. 1.0 restores the instant jump. Debug only. | src/mc_engine/input/map_mouse.cpp |
map_mouse_zoom_to_cursor |
bool | true |
- | toml / CLI | Zoom around the point under the pointer instead of around the middle of the view. With this off the camera only changes height, which slides the world under a pointer that has not moved and drags the cursor towards the centre on every detent. Debug only. | src/mc_engine/input/map_mouse.cpp |
map_mouse_magnet |
bool | false |
- | menu: GAMEPLAY > MAP MOUSE > MAP CURSOR MAGNET; toml / CLI | Leave the map's cursor magnet alone. The map snaps the cursor onto the selected icon, both on selecting it and again on every frame it stays selected, which is how a thumbstick is made to feel sticky over waypoints and what welds a pointer to the first one it brushes. | src/mc_engine/input/map_mouse.cpp |
map_mouse_max_steps |
int32 | 96 |
1 to 512 | toml / CLI | Ceiling on how many stick-sized steps one frame may walk the cursor towards the pointer. The map's boundary sweep is written for the small deltas a stick produces and reads a null neighbour pointer when handed a long chord, so the move is subdivided rather than teleported. Debug only. | src/mc_engine/input/map_mouse.cpp |
map_mouse_hide_cursor |
bool | true |
- | menu: GAMEPLAY > MAP MOUSE > HIDE POINTER ON MAP; toml / CLI | Hide the OS pointer while the full map is up. The in-game cursor tracks it one to one, so the visible cursor is the game's own. | src/mc_engine/input/map_mouse.cpp |
map_mouse_diag |
bool | false |
- | debug menu: LOGGING > MAP MOUSE DIAG; toml / CLI | Log the map screen pointer, camera basis and the world point the mouse unprojects to, once a second. Debug only. | src/mc_engine/input/map_mouse.cpp |
impulse_trigger_strength |
double | 50.0 |
10.0 to 100.0 | menu: CONTROLLER > XBOX TRIGGER STRENGTH; toml / CLI | How strong the Xbox trigger rumble is, in percent of what the trigger motors can do (10 to 100). | src/mc_engine/input/impulse_triggers.cpp |
impulse_triggers |
bool | true |
- | menu: CONTROLLER > XBOX TRIGGER RUMBLE; toml / CLI | Xbox One and Xbox Series trigger rumble: the right trigger shakes while the driven wheels spin under power, the left while the brakes lock the wheels, harder the more they slip. Controllers without trigger motors, and a DualSense (which has its own settings), are not touched. | src/mc_engine/input/impulse_triggers.cpp |
input_log |
bool | false |
- | toml / CLI | Log every key, mouse and controller event that the active-device rules looked at and what they decided (counted, or why it was ignored), at most 4000 lines. The switches themselves are always logged. Debug only. | src/mc_engine/input/input_state.cpp |
input_test_pad_loss |
bool | false |
- | toml / CLI | Test only: set to true to act as if the controller in the player's hands had just been unplugged: the same rule as a real removal (only while a pad is the active device and the game is driven; the pad need not be real). The next pad poll takes it; set it to false and true again for another. Debug only. | src/mc_engine/input/input_state.cpp |
prompts_glyph_dump |
string | "" |
- | toml / CLI | Debug: a folder; when the UI's texture dictionary is first found, every small DXT5 bitmap in it is written there as raw RGBA (<name>_<w>x<h>.rgba, plus index.txt), to see which bitmap is which glyph. Empty = off. Read once at start. Debug only. | src/mc_engine/keyboard_native.cpp |
prompts_ps_map |
string | "" |
- | toml / CLI | Debug: which dictionary bitmaps hold the game's own PlayStation shoulder, Start and Back buttons, as SLOT=shared_N.dds pairs separated by commas (slots A B X Y LB RB LT RT Start Back Phone), e.g. "LB=shared_8.dds,RB=shared_32.dds". A slot with no entry here or in the built-in table (prompt_glyphs.h) gets the shipped picture (src/keycaps/ps_*.png). Used to try candidates without a build. Debug only. | src/mc_engine/keyboard_native.cpp |
trigger_resistance |
bool | true |
- | menu: CONTROLLER > DUALSENSE RESISTANCE; toml / CLI | DualSense trigger resistance: a throttle spring on R2 and brake resistance on L2 while a car is driven, slack everywhere else. Other controllers are not touched. | src/mc_engine/input/adaptive_triggers.cpp |
trigger_slip_log |
bool | false |
- | debug menu: LOGGING > TRIGGER SLIP LOG; toml / CLI | Development: once a second while a car is driven, write each wheel's ground speed, slip speed and the wheelspin and lock-up amounts the trigger effects use to the log. Debug only. | src/mc_engine/gameplay/wheel_slip.cpp |
trigger_vibration |
bool | true |
- | menu: CONTROLLER > DUALSENSE VIBRATION; toml / CLI | DualSense trigger vibration: R2 vibrates while the driven wheels spin under power and L2 while the brakes lock the wheels, harder the more they slip. Other controllers are not touched. | src/mc_engine/input/adaptive_triggers.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
kb_drive_steer_left |
string | A,Left |
- | toml / CLI | Driving: steer left (pairs with the right key at the same position) | src/mc_engine/keyboard_native.cpp |
kb_drive_steer_right |
string | D,Right |
- | toml / CLI | Driving: steer right | src/mc_engine/keyboard_native.cpp |
kb_drive_gas |
string | W,Up |
- | toml / CLI | Driving: accelerate | src/mc_engine/keyboard_native.cpp |
kb_drive_brake |
string | S,Down |
- | toml / CLI | Driving: brake / reverse | src/mc_engine/keyboard_native.cpp |
kb_drive_handbrake |
string | Space |
- | toml / CLI | Driving: handbrake (the pad's A) | src/mc_engine/keyboard_native.cpp |
kb_drive_weight |
string | Control |
- | toml / CLI | Driving: weight transfer, the 'turn in' of the pad's B (either Ctrl key) | src/mc_engine/keyboard_native.cpp |
kb_drive_nitro |
string | Shift,X,LMB |
- | toml / CLI | Driving: nitro (the pad's X). On the road the X prompt shows the first of these keys that has a cap. LMB is the left mouse button; the mouse buttons (LMB, RMB, MMB) and the wheel have caps too. | src/mc_engine/keyboard_native.cpp |
kb_drive_headlights |
string | H |
- | toml / CLI | Driving: headlights (the pad's Y) | src/mc_engine/keyboard_native.cpp |
kb_drive_horn |
string | G |
- | toml / CLI | Driving: horn | src/mc_engine/keyboard_native.cpp |
kb_drive_camera |
string | V |
- | toml / CLI | Driving: change camera, one step along the game's cycle (the pad's RB) | src/mc_engine/keyboard_native.cpp |
kb_drive_camera_keys |
string | 1,2,3,4,5 |
- | toml / CLI | Driving: keys that jump straight to a camera, slot 1..5 (empty = off). The game only has a button that steps through its cameras; the jump presses it for you, as many times as the cycle needs, and stops on the one asked for. | src/mc_engine/keyboard_native.cpp |
kb_drive_camera_views |
string | 4,0,3,2,1 |
- | toml / CLI | Driving: which camera each slot above selects, as the game numbers them: 0 bumper, 1 cockpit, 2/3/4 the chase views. Default: slot 1 action(4), 2 bumper(0), 3 classic(3), 4 static(2), 5 cockpit(1). Swap numbers here if 3 and 4 turn out the other way round. | src/mc_engine/keyboard_native.cpp |
kb_drive_lookback |
string | R,RMB |
- | toml / CLI | Driving: look back. RMB is the right mouse button. | src/mc_engine/keyboard_native.cpp |
kb_drive_map |
string | M |
- | toml / CLI | Driving: map | src/mc_engine/keyboard_native.cpp |
kb_drive_talk |
string | T |
- | toml / CLI | Driving: talk | src/mc_engine/keyboard_native.cpp |
kb_drive_shift_up |
string | E |
- | toml / CLI | Driving: gear up (manual transmission) | src/mc_engine/keyboard_native.cpp |
kb_drive_shift_down |
string | Q |
- | toml / CLI | Driving: gear down (manual transmission) | src/mc_engine/keyboard_native.cpp |
kb_drive_pause |
string | "" |
- | toml / CLI | Driving: the PAUSE action of the control map. Empty by default: the pause menu is opened by Start in the UI mapper (kb_ui_start), which is where the pad's Start goes as well. | src/mc_engine/keyboard_native.cpp |
kb_drive_popup_select |
string | "" |
- | toml / CLI | Driving: answer a pop-up with A (empty = pad only; Enter would also be Pause) | src/mc_engine/keyboard_native.cpp |
kb_drive_popup_back |
string | "" |
- | toml / CLI | Driving: answer a pop-up with B (empty = pad only) | src/mc_engine/keyboard_native.cpp |
kb_steer_log |
bool | false |
- | toml / CLI | Log the steering ramp: one line per input poll while a steering key is held or the wheel is coming back (at most 3000 lines). Debug only. | src/mc_engine/keyboard_native.cpp |
kb_steer_ramp |
bool | true |
- | debug menu: FIXES > KEYBOARD STEER RAMP; toml / CLI | Debug: the steering ramp above. Off = the old key pair, full lock at once and centre at once (it rebuilds the driving mapper). Debug only. | src/mc_engine/keyboard_native.cpp |
kb_steer_return |
double | 0.25 |
0.05 to 2.0 | toml / CLI | Keyboard steering: seconds from full lock back to centre when the steering key is let go, and the time the wheel takes to come through the centre when you steer the other way. Shorter = the car straightens up quicker. | src/mc_engine/keyboard_native.cpp |
kb_steer_rise |
double | 0.40 |
0.05 to 2.0 | toml / CLI | Keyboard steering: seconds from centre to full lock while a steering key is held (a tap is a small correction). Shorter = twitchier, 0.05 is nearly the old on / off steering. | src/mc_engine/keyboard_native.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
kb_ui_accept |
string | Return,Space |
- | toml / CLI | Menus: A / accept | src/mc_engine/keyboard_native.cpp |
kb_ui_back |
string | Escape,Backspace |
- | toml / CLI | Menus: B / back | src/mc_engine/keyboard_native.cpp |
kb_ui_x |
string | X |
- | toml / CLI | Menus: X | src/mc_engine/keyboard_native.cpp |
kb_ui_y |
string | Y |
- | toml / CLI | Menus: Y | src/mc_engine/keyboard_native.cpp |
kb_ui_lb |
string | Q |
- | toml / CLI | Menus: LB (previous tab) | src/mc_engine/keyboard_native.cpp |
kb_ui_rb |
string | E |
- | toml / CLI | Menus: RB (next tab) | src/mc_engine/keyboard_native.cpp |
kb_ui_lt |
string | PageUp |
- | toml / CLI | Menus: LT | src/mc_engine/keyboard_native.cpp |
kb_ui_rt |
string | PageDown |
- | toml / CLI | Menus: RT | src/mc_engine/keyboard_native.cpp |
kb_ui_up |
string | Up,W |
- | toml / CLI | Menus: up | src/mc_engine/keyboard_native.cpp |
kb_ui_down |
string | Down,S |
- | toml / CLI | Menus: down | src/mc_engine/keyboard_native.cpp |
kb_ui_left |
string | Left,A |
- | toml / CLI | Menus: left | src/mc_engine/keyboard_native.cpp |
kb_ui_right |
string | Right,D |
- | toml / CLI | Menus: right | src/mc_engine/keyboard_native.cpp |
kb_ui_start |
string | Return,Escape |
- | toml / CLI | Start: opens the pause menu on the road and answers "PRESS START" on the title screen. It is Start only while NO menu is open: with a menu up these keys are accept/back and nothing else, which is what keeps Enter from being accept and Start at once. | src/mc_engine/keyboard_native.cpp |
kb_ui_select |
string | Tab |
- | toml / CLI | Menus: the Back/Select button (GPS, map). Start has no key here on purpose. | src/mc_engine/keyboard_native.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
wheel_fake |
string | off |
one of off, pad, keys
|
toml / CLI | Present the game with a steering wheel without owning one. off: nothing changes. pad: the real pad or keyboard-and-mouse state is shown as a wheel (stick X steers, triggers are the pedals, bumpers shift). keys: A/D steer, W throttle, S brake, Q/E shift down/up. Takes effect on the next input poll. Debug only. | src/mc_engine/wheel/wheel_fake.cpp |
wheel_ffb_log |
bool | false |
- | toml / CLI | Log every force-feedback command the game sends while wheel_fake is on: effect id, type, duration and parameters. Capped so a long race cannot fill the log. Debug only. | src/mc_engine/wheel/wheel_fake.cpp |
wheel_ffb |
bool | true |
- | toml / CLI | Force feedback on the steering wheel. Off: the wheel is never given a force. The force is stopped when the game closes (window close, QUIT or RESTART). | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_strength |
int32 | 70 |
- | toml / CLI | Force feedback strength, 0-100: the share of the wheel's full force that the game's strongest effect reaches. The game's own forces are mostly 10-40% of its scale (it was written for a light 360 wheel), so a direct-drive wheel needs this high to feel them; a belt or gear wheel may want it lower. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_boost |
int32 | 200 |
- | toml / CLI | Multiplies the forces the GAME asks for (constant, vibration, its spring and damper), 100-500 %, before wheel_ffb_strength. The game's forces are mostly 10-40% of its scale, written for a light 360 wheel, so on a strong base they feel weak: 200 doubles them, with the result capped at the wheel's full force. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_sign |
string | auto |
one of auto, normal, inverted
|
toml / CLI | Which way a positive constant force turns the wheel (centring does not use it). auto: measured once per device with a gentle push (keep your hands off the wheel); normal / inverted: skip the test. If the game's constant forces push into the turn instead of against it, set the other one. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_centering |
int32 | 40 |
- | toml / CLI | Centring added by this program while the game is not running its own spring (it does not while free-roaming), 0-100: the most force the centring spring can reach, before wheel_ffb_strength. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_autocenter |
bool | true |
- | toml / CLI | Only used when wheel_ffb_centering is 0: leave the wheel driver's own centring spring on. With centring above 0 the driver's spring is switched off (two springs would fight). Takes effect when the wheel is opened. Debug only. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_panic |
bool | false |
- | toml / CLI | Emergency stop for the wheel's force feedback: switching it on stops every force and disarms until wheel_ffb_rearm is switched on. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_rearm |
bool | false |
- | toml / CLI | Switch on to arm force feedback again after an emergency stop (it re-checks the wheel first). Switch it off again before the next time. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_watchdog_ms |
int32 | 500 |
- | toml / CLI | Force goes to zero when the game has not run an input frame for this long (a loading screen, a hang) and comes back by itself when it does. Debug only. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_selftest |
bool | false |
- | toml / CLI | When force feedback arms, play a staged test and log it: 0.5 s push one way, 0.5 s the other, 2 s of centring spring (turn the wheel a little and let go), 1 s of damper. Every device call's result and the wheel's position (every 50 ms) go to the log, so a dead force path shows in the log whatever you feel. Needs the wheel to be free. Debug only. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_ffb_trace |
bool | false |
- | debug menu: LOGGING > WHEEL FFB TRACE; toml / CLI | Log the force sent to the wheel about four times a second, every device call's result, and every state change. Debug only. | src/mc_engine/wheel/wheel_ffb.cpp |
wheel_mode |
string | auto |
one of auto, wheel, gamepad
|
toml / CLI | Who drives when a wheel is connected. auto: the wheel until the gamepad is moved, the gamepad until the wheel is. wheel: always the wheel. gamepad: the wheel is ignored and the game sees the pad. Only the driving controls switch; Start, Back, A, B and the D-pad work from both. | src/mc_engine/wheel/wheel_input.cpp |
wheel_device |
string | auto |
- | toml / CLI | Which joystick is the wheel. auto: the first one SDL calls a wheel or a known wheel model. off: none. Anything else is matched against the device name (part of it, any case) or written as vendor:product in hex (046d:c24f) and opens that device even if SDL does not call it a wheel. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_device_range |
int32 | 900 |
- | toml / CLI | The lock-to-lock rotation the wheel is set to in its own driver, in degrees. The wheel reports -1..1 over that range; this and wheel_game_range turn it into the game's range. | src/mc_engine/wheel/wheel_input.cpp |
wheel_game_range |
int32 | 540 |
- | toml / CLI | The lock-to-lock rotation that reaches full steering lock in the game, in degrees. The game reads steering as 8 bits (255 steps), so a smaller range steers finer: 270 deg = 1.06 deg per step, 540 = 2.1, 900 = 3.5. Full lock is reached before the wheel's own end stop when this is smaller than wheel_device_range. | src/mc_engine/wheel/wheel_input.cpp |
wheel_steer_deadzone |
double | 0.01 |
- | toml / CLI | Fraction of the wheel's range around centre that reads as straight ahead (0.01 = 1%). | src/mc_engine/wheel/wheel_input.cpp |
wheel_steer_gamma |
double | 1.0 |
- | toml / CLI | Shapes steering after the range scaling: 1 is linear, above 1 softens the centre. The game applies its own curve afterwards, so leave this at 1 unless the car feels twitchy. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_virtual |
string | off |
one of off, low, high
|
toml / CLI | Test aid: create a virtual SDL wheel (type wheel, 4 axes, 20 buttons, a hat) driven from the keyboard (A/D steer, W throttle, S brake, Q/E paddles) so the whole SDL path can be run without hardware. off, low (pedals rest at -32768) or high (pedals rest at +32767). Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_learn |
bool | false |
- | toml / CLI | Run the wheel setup: a console window walks through the steering, the pedals, the paddles and the H-shifter, watches which axes and buttons move, and writes the wheel's section of wheel_profiles.ini. Switches itself off when it is done. Start the game with --wheel_learn=true before playing. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_auto_setup |
bool | true |
- | toml / CLI | The first time a wheel is found that has no section in wheel_profiles.ini, ask whether to run the setup now (a yes/no box, shown once the game window is up). Answering no writes a marker so it is not asked again; the setup can always be started with wheel_learn. Off: never ask. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_cancel_game_deadzone |
double | 0.05 |
- | toml / CLI | The game puts a dead zone of about 5% on its stick and pedal axes (measured: steering comes out as (x - 0.05) / 0.95), written for a thumb stick. A wheel is precise, so the first few degrees would do nothing. This lifts the wheel's output by that amount, so the game's own dead zone cancels and the response is linear. 0 turns it off. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_trace |
bool | false |
- | debug menu: LOGGING > WHEEL TRACE; toml / CLI | Log, once a second, every axis and pressed button SDL reads from the wheel and what the game is given (who drives, steering, pedals, buttons). For finding out why a wheel behaves oddly: start the game with it, reproduce the problem, send the log. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
wheel_pedal_autorange |
bool | true |
- | toml / CLI | Pedals that never reach the end of their travel read full once they have been pressed to where they do reach (after the first firm press). Off: the pedals use their full nominal range. A pedal with throttle_full / brake_full in the profile is never auto-ranged. Debug only. | src/mc_engine/wheel/wheel_input.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
extra_button_l4 |
string | "" |
- | toml / CLI | Host key(s) that the pad's L4 button sends (e.g. "Numpad4"; several: "Numpad4,F13"). The key stops acting as a keyboard key and becomes the game button L4; pressing it counts as the pad, so the prompts stay on the pad's glyphs. Empty = unused. | src/mc_engine/keyboard_native.cpp |
extra_button_l5 |
string | "" |
- | toml / CLI | Host key(s) that the pad's L5 button sends. See extra_button_l4. | src/mc_engine/keyboard_native.cpp |
extra_button_r4 |
string | "" |
- | toml / CLI | Host key(s) that the pad's R4 button sends. See extra_button_l4. | src/mc_engine/keyboard_native.cpp |
extra_button_r5 |
string | "" |
- | toml / CLI | Host key(s) that the pad's R5 button sends. See extra_button_l4. | src/mc_engine/keyboard_native.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
cam_freelook |
bool | true |
- | menu: GAMEPLAY > CAMERA > LOOK AROUND > MOUSE LOOK; toml / CLI | Mouse look on the gameplay camera. The shipped lookaround is four digital pan actions easing towards clamped limits, which is why the camera settles on a handful of angles instead of following you. With this on, the mouse steers the view directly while you drive with the keyboard and mouse: the pointer is hidden and locked (the window's relative mouse mode, raw counts from the mouse) and the view eases back behind the car when the mouse has been still for a moment. It is active only while the keyboard and mouse are the last thing you used, with the car on the road: no menu, map, phone or overlay up, and the window in front. A controller's right stick looks around as it always did. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_boom |
bool | false |
- | toml / CLI | Mouse look orbits the car's center in chase views and turns in place in the bumper and cockpit views. The game's camera collision still applies. Off keeps the original mouse look. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_inplace_dist |
double | 3.0 |
0.0 to 20.0 | F4 / toml / CLI | With cam_freelook_boom, gameplay cameras within this horizontal distance of the car's center turn in place. Cameras marked as mounted on the car also turn in place. Debug only. |
src/mc_engine/camera/camera_look.cpp |
cam_orbit_record |
bool | false |
- | F4 / toml / CLI | Record up to 36,000 gameplay camera updates while mouse look is engaged in cam_orbit.csv beside the executable. Works with either mouse look mode. Debug only. |
src/mc_engine/camera/camera_look.cpp |
mouse_menu_drag |
bool | true |
- | toml / CLI | Hold the left or right mouse button and drag to move the garage or photo camera as with the right stick. In the pause menu, drag sideways to enter photo mode. | src/mc_engine/input/mouse_look.cpp |
cam_freelook_sens |
double | 0.0035 |
0.0001 to 0.05 | menu: GAMEPLAY > CAMERA > LOOK AROUND > MOUSE SENS; toml / CLI | Mouse look sensitivity: radians of view movement per count the mouse reports. 0.0035 turns the view a full circle for about 6 cm of movement on an 800 DPI mouse and about 3 cm on a 1600 DPI one; a mouse with a higher DPI turns further for the same movement, so lower this for it. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_yaw_limit |
double | 3.14159 |
0.1 to 3.15 | toml / CLI | How far the view may turn left or right, in radians. Pi is all the way round. This is the cap on our own angle, not the game's -- the game's own limits are what this feature overwrites. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_pitch_limit |
double | 0.7 |
0.05 to 1.5 | toml / CLI | How much tilt the mouse may accumulate, in radians. This caps the input, not the result -- where the camera ends up is decided by the two elevation limits below, which are what keep it out of the ground. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_inplace_rigs |
string | 0,1 |
- | toml / CLI | Comma-separated camera rig indices that turn in place instead of orbiting: the views mounted on the car. Switch to a view, read the rig number out of the cam_freelook_diag line, add it here. Empty orbits everything. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_min_elev |
double | -0.08 |
-0.5 to 1.0 | toml / CLI | Lowest the camera may go, as an angle in radians above the horizontal through the point it orbits. 0 is dead level with the car; below that it goes under it and into the ground. Negative values are allowed for deliberately low shots, on the understanding that the ground is not consulted. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_max_elev |
double | 1.3 |
0.2 to 1.5 | toml / CLI | Highest the camera may go, same units. Short of pi/2 on purpose: at dead overhead the forward vector is parallel to world up and the yaw stops meaning anything. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_approach |
double | 0.0 |
0.0 to 200.0 | toml / CLI | LookaroundApproachRate while free look is on. 0 leaves the shipped value. The shipped one eases the view towards its target over a good fraction of a second, which reads as lag under a mouse. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_lerp |
double | 0.0 |
0.0 to 1.0 | toml / CLI | LookaroundLerpFactor while free look is on. 0 leaves the shipped value. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_return_delay |
double | 0.35 |
0.0 to 30.0 | menu: GAMEPLAY > CAMERA > LOOK AROUND > RECENTER DELAY; steps: OFF, 0.15, 0.35, 0.6, 1.0, 2.0; toml / CLI | Seconds the mouse has to sit still before the view starts easing back behind the car. The game's own equivalent is LookaroundDelayTime. Set it very high to keep the view wherever it was left. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_return_rate |
double | 4.0 |
0.1 to 40.0 | menu: GAMEPLAY > CAMERA > LOOK AROUND > RECENTER SPEED; steps: 1.0, 2.0, 4.0, 8.0, 16.0; toml / CLI | How quickly the view eases back once the delay is up, as a fraction of the remaining angle per second. The game's own equivalent is LookaroundDecayRate. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_invert_x |
bool | false |
- | menu: GAMEPLAY > CAMERA > LOOK AROUND > INVERT MOUSE X; toml / CLI | Mirror the horizontal axis. Needed if the tune's left/right limits turn out to be signed the other way round from what this assumes. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_invert_y |
bool | false |
- | menu: GAMEPLAY > CAMERA > LOOK AROUND > INVERT MOUSE Y; toml / CLI | Mirror the vertical axis. See cam_freelook_invert_x. | src/mc_engine/camera/camera_look.cpp |
cam_look_obj |
int32 | 860 |
0 to 4096 | toml / CLI | Byte offset into the camera system holding the pointer to the object the look lives in. 860 is what the field probe found. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_orbit |
double | 7.5 |
1.0 to 200.0 | toml / CLI | Distance from the camera to the point it turns around, used whenever the object's own +156 is not usable. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_look_phase |
int32 | 2 |
0 to 2 | toml / CLI | The camera collision lives on its own switch, cam_freelook_collide, and not on this one -- see there. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_cs_invert |
bool | false |
- | debug menu: CAMERA > COLLISION FLIP; toml / CLI | Flip the sign used when feeding the camera state's own two angle channels (cs+776 yaw, cs+772 pitch). If the view turns opposite to the mouse with cam_freelook_collide on, this is the switch. Only affects the collide path. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_collide |
bool | false |
- | debug menu: CAMERA > CAMERA COLLISION; toml / CLI | Turn cam_freelook_diag on with it -- the log says whether the hook ran, which camera state it got, and what CollideType that state carries. With this off, cam_look_phase decides everything, exactly as before. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_tune |
bool | false |
- | toml / CLI | Also pin the LookaroundLimit* tune fields, the first approach. It did not hold on its own and is kept only so the two can be tried together. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_freelook_diag |
bool | false |
- | toml / CLI | Log the lookaround tune fields as they are found and the angles being written, once a second. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_probe_mark |
bool | false |
- | toml / CLI | Button: snapshot the gameplay camera object. Flips back off. Do it with the car still and the view centred, then look around, then use cam_probe_dump. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_probe_dump |
bool | false |
- | toml / CLI | Button: snapshot the camera again, diff it against cam_probe_mark and write every float that moved to <exe>/cam_fields.txt. Flips back off. Debug only. |
src/mc_engine/camera/camera_look.cpp |
cam_probe_run |
bool | false |
- | toml / CLI | Button: run the whole camera measurement on a timer. Close the overlay when it is armed; the baseline is taken after cam_probe_arm_delay with the camera left alone, and the diff cam_probe_hold_delay after that with the look held. Both samples happen with nothing on screen. Flips back off. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_probe_arm_delay |
double | 4.0 |
1.0 to 30.0 | toml / CLI | Seconds between arming cam_probe_run and the baseline sample. Long enough to close the overlay and let the camera settle. Debug only. | src/mc_engine/camera/camera_look.cpp |
cam_probe_hold_delay |
double | 6.0 |
1.0 to 30.0 | toml / CLI | Seconds between the baseline sample and the diff. Hold the look for all of it. Debug only. | src/mc_engine/camera/camera_look.cpp |
fov_1p_scale |
double | 1.0 |
0.5 to 5.0 | menu: GAMEPLAY > CAMERA > FOV > 1P FOV; steps: 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0; toml / CLI | FOV scale -- 1st person / cockpit (0.5 = narrower, 2.0 = wider) | src/mc_engine/hooks/camera.cpp |
fov_3p_scale |
double | 1.0 |
0.5 to 5.0 | menu: GAMEPLAY > CAMERA > FOV > 3P FOV; steps: 0.8, 0.9, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9, 2.0; toml / CLI | FOV scale -- 3rd person / chase cam (0.5 = narrower, 2.0 = wider) | src/mc_engine/hooks/camera.cpp |
smooth_chase_cam |
bool | true |
- | debug menu: FIXES > SMOOTH CHASE CAM; toml / CLI | Fix: Smooth chase camera boom interpolation at 60 FPS using continuous-time exponential decay. Debug only. | src/mc_engine/hooks/camera.cpp |
chase_cam_smoothing_factor |
double | 1.0 |
0.1 to 3.0 | menu: GAMEPLAY > CAMERA > CHASE CAMERA > CAM SMOOTH FACTOR; steps: 0.2, 0.5, 0.8, 1.0, 1.2, 1.5, 2.0; toml / CLI | Chase camera boom smoothing factor multiplier (0.1 - 3.0). | src/mc_engine/hooks/camera.cpp |
smooth_camera_transitions |
bool | true |
- | debug menu: FIXES > SMOOTH CAMERA TRANSITIONS; toml / CLI | Fix: Eliminate camera transition jitter and 180-degree wrap flipping when transitioning between orbit, menu, and gameplay cameras. Debug only. | src/mc_engine/hooks/camera.cpp |
scale_camera_shake |
bool | true |
- | debug menu: FIXES > CAMERA SHAKE FIX; toml / CLI | Fix: Scale camera shake intensity across framerates (60+ FPS) to prevent violent noise jitter during drifts, burnouts, and crashes. Debug only. | src/mc_engine/hooks/camera.cpp |
camera_shake_scale |
double | 0.6 |
0.0 to 3.0 | menu: GAMEPLAY > CAMERA > CHASE CAMERA > CAMERA SHAKE; toml / CLI | Camera shake intensity multiplier (0.0 = disabled, 0.6 = balanced PC rumble, 1.0 = full console shake). | src/mc_engine/hooks/camera.cpp |
debug_cam |
string | off |
one of off, free
|
debug menu: CAMERA > FREECAM; toml / CLI | Free-fly camera during live gameplay: left stick moves, right stick looks, triggers change speed. Gameplay keeps running underneath (drive, traffic, physics). Debug only. | src/mc_engine/hooks/camera.cpp |
debug_cam_speed |
double | 40.0 |
1.0 to 500.0 | debug menu: CAMERA > CAM SPEED; toml / CLI | Free-fly camera move speed (world units/second). Debug only. | src/mc_engine/hooks/camera.cpp |
debug_cam_sens |
double | 2.5 |
0.2 to 10.0 | debug menu: CAMERA > FREECAM SENS; toml / CLI | Free-fly camera look sensitivity (radians/second at full stick). Debug only. | src/mc_engine/hooks/camera.cpp |
debug_cam_mouse |
bool | true |
- | debug menu: CAMERA > FREECAM MOUSE; toml / CLI | Free-fly camera: use the mouse to look (the pointer is hidden and locked while it is active). Debug only. | src/mc_engine/hooks/camera.cpp |
debug_cam_mouse_sens |
double | 0.0025 |
0.0002 to 0.02 | toml / CLI | Free-fly mouse look sensitivity (radians per raw mouse count). Debug only. | src/mc_engine/hooks/camera.cpp |
mouse_look_log |
bool | false |
- | toml / CLI | Log what the mouse look does: the raw mouse counts and the view angles about every tenth of a second while it moves (at most 4000 lines). The changes of relative mouse mode are always logged. Debug only. | src/mc_engine/input/mouse_look.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
menu_cam_lock |
bool | false |
- | debug menu: CAMERA > MENU CAM LOCK; toml / CLI | Always show the same shot instead of letting the game rotate. Off = the game picks (setMenuCam plus its own visibility probes) and menu_cam_slot is ignored; on = menu_cam_slot every time. This is the on/off switch -- the slot number by itself never locks anything. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_slot |
int32 | 0 |
- | debug menu: CAMERA > MENU CAM SLOT; toml / CLI | Which shot menu_cam_lock pins (0-63). Ignored while menu_cam_lock is off, so parking a number here is harmless. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_custom |
bool | false |
- | toml / CLI | Place the menu camera at the shot from <exe dir>/menu_cameras.txt matching the current slot. Slots with no line keep the stock camera. The file is re-read when it changes, so you can tune it with the menu on screen. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_only_custom |
bool | false |
- | toml / CLI | Show only your own shots. Whatever slot the game picks is remapped onto the lines present in menu_cameras.txt, so the stock cameras never appear. The game's rotation still decides which of your shots comes up; turn on menu_cam_lock to pin one. Needs menu_cam_custom. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_cycle |
double | 0.0 |
0.0 to 600.0 | toml / CLI | Seconds between shots, rotating through every line in menu_cameras.txt. 0 = no rotation. The game does not rotate the front-end camera itself -- it only calls setMenuCam for the network and garage menus, so without this the boot screen sits on one shot forever. Ignored while menu_cam_lock is on. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_record |
bool | false |
- | toml / CLI | Capture the game's own menu shots into menu_cameras.txt as 'cam' lines. There is no table of stock camera spots in the XEX -- they only exist as runtime state -- so this samples the real camera whenever it moves somewhere new (25+ units) and appends it with the next free slot number. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_diag |
bool | false |
- | toml / CLI | Log the camera the game hands to the renderer (mode id, position, matrix rows) once per mode change, and every shot this places. Turn on if a shot does not show up or points the wrong way. Debug only. | src/mc_engine/camera/menu_camera.cpp |
menu_cam_dump |
command | n/a | - | toml / CLI | Append the current spot to <exe dir>/menu_cameras.txt as a ready-to-use 'cam' line. Fly there with debug_cam = free first (the free-fly pose gives both the position and the look direction); without it the player car's position is used. Also records the menu camera currently on screen. Debug only. | src/mc_engine/camera/menu_camera.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
rearview |
bool | false |
- | menu: GAMEPLAY > CAMERA > REAR VIEW > REAR VIEW; toml / CLI | Shows the optional HUD rear-view widget. It hides while the cabin mirror is visible with MIRRORS on. Applies live. | src/mc_engine/hooks/rear_view.cpp |
rearview_position |
string | stock |
one of stock, left_top, middle_top, left_down, middle_footer, right_down
|
menu: GAMEPLAY > CAMERA > REAR VIEW > REAR VIEW POS; steps: stock, left_top (LEFT TOP), middle_top (MIDDLE TOP), left_down (LEFT DOWN), middle_footer (MIDDLE FOOTER), right_down (RIGHT DOWN); toml / CLI | Where the mirror sits: stock (under the race position, top right), left_top, middle_top, left_down, middle_footer or right_down. | src/mc_engine/hooks/rear_view.cpp |
rearview_frame |
bool | true |
- | menu: GAMEPLAY > CAMERA > REAR VIEW > REAR VIEW FRAME; toml / CLI | Draw the mirror's frame. The retail game ships the frame meshes without their textures (black_small.dds and rearView.dds are gone), so the frame comes out solid white. Off hides it and leaves just the mirror view. Takes effect immediately. | src/mc_engine/hooks/rear_view.cpp |
rearview_cars |
bool | false |
- | menu: GAMEPLAY > CAMERA > REAR VIEW > CARS IN REAR VIEW; toml / CLI | Shows racers in the HUD widget when the shared MIRRORS view is off. The shared view includes racers. | src/mc_engine/hooks/rear_view.cpp |
rearview_traffic |
bool | false |
- | toml / CLI | Put ambient traffic back in the mirror's phase, where retail has it. It draws nothing useful there (cars show up as black silhouettes, or not at all) and a car close to the mirror's camera blacks the view out, so it is taken out of the phase unless this is on. Needs rearview on. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_diag |
bool | false |
- | debug menu: LOGGING > REARVIEW DIAG; toml / CLI | Log, every couple of seconds, how many objects each render client holds when the mirror's phase begins. For working out why cars and traffic do not draw in it. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_shift_x |
int32 | 0 |
- | toml / CLI | Fine-tunes the mirror and its frame horizontally on top of rearview_position, in 1280x720 pixels. Negative is left. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_shift_y |
int32 | 0 |
- | toml / CLI | Fine-tunes the mirror and its frame vertically on top of rearview_position, in 1280x720 pixels. Positive is down. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_window_dx |
int32 | 22 |
- | toml / CLI | Offset of the scene viewport from the frame window's outer corner, horizontally, in pixels. The window's left and right edges lean, so the viewport rectangle has to start inside the narrowest part or its corner pokes out of the frame. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_window_dy |
int32 | 2 |
- | toml / CLI | Offset of the scene viewport from the frame window's outer corner, vertically, in pixels. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_window_w |
int32 | 229 |
- | toml / CLI | Width of the scene viewport in pixels. The widest rectangle that fits inside the leaning window is 229 wide. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_window_h |
int32 | 44 |
- | toml / CLI | Height of the scene viewport in pixels. The widest rectangle that fits inside the leaning window is 44 tall. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_fov_scale |
double | 1.0 |
0.1 to 1.0 | debug menu: CAMERA > REAR VIEW FOV X; toml / CLI | Debug, the cheap mirror: a multiple of the mirror camera's field of view (the mirror's picture is 5.2 times wider than tall, so the game's own field of view is very wide). 1.0 (the default) leaves it; 0.5 shows roughly half the angle, so the game's own culling keeps fewer draws. Only narrows (0.1 to 1.0); the picture changes. Live. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_far |
double | 150.0 |
0.0 to 5000.0 | debug menu: CAMERA > REAR VIEW FAR; toml / CLI | Limits the shared rear view's camera range in metres. 0 uses the game camera range. Applies live. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_lod_distance |
double | 0.0 |
0.0 to 2000.0 | debug menu: CAMERA > REAR VIEW CITY; toml / CLI | Debug, the cheap mirror: while the mirror's phase runs, a city sector is drawn in detail only within this many metres (the game's own radius is 300 m times lod_city_scale); the rest is the coarse one-model-a-sector city. 0 (the default) leaves it. Only ever shrinks the radius. It has an effect only if the game walks the city's sectors inside the mirror's phase (not confirmed yet: rearview_diag and the log's mirror draw count show whether it does). Live. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_cars_max |
int32 | 3 |
0 to 16 | debug menu: CAMERA > REAR VIEW CARS; toml / CLI | Limits the number of visible racers in the shared rear view, nearest first. 0 draws every visible racer. Applies live. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_cars_lod |
int32 | 2 |
0 to 2 | debug menu: CAMERA > REAR VIEW MODELS; toml / CLI | Minimum detail level for racers in the shared rear view. 2 uses the coarsest models, 1 uses medium or coarser, and 0 uses the game's choice. Applies live. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_every |
int32 | 1 |
1 to 8 | debug menu: CAMERA > REAR VIEW RATE; toml / CLI | Draw the shared rear view every N frames when timed refresh is disabled. 1 draws every frame. Applies live. Debug only. | src/mc_engine/hooks/rear_view.cpp |
rearview_hide_with_interior |
bool | true |
- | debug menu: CAMERA > HIDE HUD WITH CABIN MIRROR; toml / CLI | Hide the HUD rear view while the cabin mirror is drawn. Live. Debug only. | src/settings/generated/settings_hud.h |
rearview_interior |
bool | true |
- | debug menu: CAMERA > CABIN MIRROR; toml / CLI | Enable the functional cabin mirror when MIRRORS is on. Live. Debug only. | src/settings/generated/settings_hud.h |
rearview_refresh_hz |
int32 | 30 |
0 to 240 | toml / CLI | Shared rear view refreshes per second. 0 uses the frame interval. Camera cuts refresh immediately. Live. Debug only. | src/settings/generated/settings_hud.h |
speed_units |
string | mph |
one of game, kmh, mph
|
menu: INTERFACE > UI > SPEED UNITS; steps: game, kmh, mph; toml / CLI | Speedometer / distance units. Drives the game's own metric formatter (sub_8238DDF0): game = console profile default (mph on NTSC), kmh = metric (km/h, km, m), mph = imperial (mph, miles, ft). Converts both the number and the unit label; the analog dial tick art stays as authored. kmh also converts the live HUD speedometer, which does NOT go through that formatter: the HUD movie multiplies m/s by 2.237 in its own ActionScript, so hud_units.cpp rewrites that constant (and the per-glyph unit label) in guest memory. The radar detector's speed-limit sign follows it too, through the game's own km/h branch for it (rounded to the nearest 5), which the game never takes. | src/mc_engine/hooks/ui.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
button_prompts |
string | auto |
one of auto, xbox, playstation, keyboard
|
menu: CONTROLLER > BUTTON LAYOUT; toml / CLI | On-screen button glyphs. auto = the glyphs of what you used last, on every screen at once: PlayStation glyphs after a Sony controller, Xbox glyphs after any other, key caps after the keyboard or the mouse (the menu's keys while a menu is open, the driving keys on the road). F1 to F12 switch to key caps only when a kb_ setting names them, so opening an overlay does not change the glyphs; keys that a pad's extra buttons send (extra_button_l4 and the others) count as the pad. xbox = A/B/X/Y + LB/RB/LT/RT, playstation = cross/circle/square/triangle + L1/R1/L2/R2, keyboard = key caps, whatever you use. Every set is drawn into the same button bitmaps (keyboard_native.cpp), so a change reaches a screen that is already open on the next frame; the UI movies' own 'platform' flag stays on Xbox (see prompts_live). | src/mc_engine/hooks/ui.cpp |
ui_movie_pacing |
string | PHOTOALBUMMOVIE |
- | toml / CLI | Flash movies advanced at the console's 30 frames a second instead of one frame per rendered frame. The game steps every UI movie exactly one frame per update, which on the 360 was 30 times a second; above 30 FPS those movies play faster -- the photo album twice as fast at 60. Debug only. | src/mc_engine/hooks/ui.cpp |
ui_countdown_fix |
bool | true |
- | debug menu: FIXES > COUNTDOWN FIX; toml / CLI | Keep the race countdown (3, 2, 1, GO) in time when the HUD's gauge movie steps less often than the game updates (HUDGAUGE or '*' in ui_movie_pacing, or ui_interpolate on). Debug only. | src/mc_engine/hooks/ui.cpp |
ui_input_repeat_30hz |
bool | true |
- | debug menu: FIXES > MENU KEY REPEAT; toml / CLI | Menu cursor auto-repeat at the console's pace. The game repeats a held direction or button by counting frames -- the first repeat after 7, then one every 6 -- which on the 360 meant 233 ms and then 200 ms. Debug only. | src/mc_engine/hooks/ui.cpp |
ui_advance_on_input |
bool | true |
- | debug menu: FIXES > MENU INPUT; toml / CLI | Menus answer a key press on the update it arrives in. A menu movie paced to 30 steps a second (ui_movie_pacing) would otherwise show the highlight moving up to 33 ms after the press, 17 ms on average. Debug only. | src/mc_engine/hooks/ui.cpp |
ui_interpolate |
bool | true |
- | debug menu: FIXES > SMOOTH UI; toml / CLI | Smooth UI. Every UI movie (menus, pop-ups, map panels and the HUD) steps at the console's 30 a second, so they run at the console's speed at any frame rate, and what moved in the last step is drawn between where it was and where it is: needles, the song ticker, the menus' lists and highlights, page changes and fades glide instead of stepping. The picture is one step (up to 33 ms) behind the game; nothing is blended below about 47 FPS. Off, only the movies named in ui_movie_pacing step at 30 a second and nothing is blended. A developer switch (the hidden debug menu's FIXES page): it is on for everyone and is never saved. Debug only. | src/mc_engine/hooks/ui_smooth.cpp |
ui_interpolate_camera |
bool | true |
- | debug menu: FIXES > SMOOTH MENU 3D; toml / CLI | With ui_interpolate: also draw the pause menu's 3D between the movie's last two steps: the camera that swings in when the menu opens, between its pages and out again, and the place, size and turn of the 3D panels. Off leaves them in 30 Hz steps. Debug only. | src/mc_engine/hooks/ui_smooth.cpp |
ui_theme_accent |
string | "" |
- | menu: INTERFACE > UI > MENU BLUE; toml / CLI | Replaces the blue/teal that every menu uses (selection bar, highlights, arrows) with this color, as RRGGBB hex. Empty keeps the game's own. Shades of the original keep their brightness relative to it. | src/mc_engine/hooks/ui_theme.cpp |
ui_theme_title |
string | "" |
- | menu: INTERFACE > UI > TITLES AND GLOBE; toml / CLI | Replaces the yellow of the menu titles and the spinning globe, as RRGGBB hex. Empty keeps the game's own. | src/mc_engine/hooks/ui_theme.cpp |
ui_theme_frame |
string | "" |
- | menu: INTERFACE > UI > FRAME GRAY; toml / CLI | Replaces the gray of the menu frame, as RRGGBB hex. Empty keeps the game's own. | src/mc_engine/hooks/ui_theme.cpp |
ui_theme_skip_movies |
string | HUDMOVIE |
- | toml / CLI | Comma-separated Flash movie names the theme leaves alone. The HUD movie shares the menus' teal and yellow in its speedometer; empty themes every movie. Debug only. | src/mc_engine/hooks/ui_theme.cpp |
ui_color_buttons |
bool | true |
- | toml / CLI | Show the pause menu's color buttons (UI OPTIONS) as the garage's own PickColor: garage.xsf's color button, placed in the pause movie and driven the way the garage's Fillmenu drives it. Debug only. | src/mc_engine/menus/ui_palette.cpp |
prompts_live |
bool | true |
- | debug menu: FIXES > LIVE BUTTON PROMPTS; toml / CLI | Button prompts follow the device in use on screens that are already open (the garage, a pop-up, the pause menu). The UI movies are told they run on an Xbox, and the PlayStation set and the key caps are painted over the Xbox button bitmaps; a screen picks a changed 'platform' flag only when it is built again, so the flag cannot do this alone (KBM-P0). Off = the older way: the flag shows the PlayStation set, screens already open keep their glyphs until reopened, and only the keyboard's key caps are painted. A debug switch. Debug only. | src/mc_engine/hooks/ui.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
photo_album_keep_new_preview |
bool | true |
- | toml / CLI | Fix: while choosing the slot for a new photo, the album shows the photo you just took -- in the big picture and pulsing in the highlighted slot -- instead of the last saved photo the cursor passed over. The game decodes every photo into one shared preview image, and in the slot picker it let the slots overwrite the new one. Debug only. | src/mc_engine/hooks/photo_album.cpp |
photo_auto_readback |
bool | true |
- | toml / CLI | Fix: photo mode previews show an old frame or garbage. The game takes its picture on the CPU, by locking the front buffer and JPEG-encoding it, so it needs the GPU resolve copied back to guest memory. Debug only. | src/mc_engine/hooks/photo_mode.cpp |
photo_readback_debug |
bool | false |
- | toml / CLI | Diagnostics for photo_auto_readback: logs the photo album state machine's phase transitions and the front buffer addresses the readback is armed for. Pair with the GPU-side gpu_log_resolve_readback_misses to see whether the resolve that fills the front buffer actually lands in the armed range. Debug only. | src/mc_engine/hooks/photo_mode.cpp |
photo_album_export |
bool | true |
- | toml / CLI | The photo album's PUBLISH ALBUM button becomes EXPORT ALBUM: it saves every photo in the album as a JPEG in photo_album_export_dir instead of uploading the album to the Social Club (closed). Photos already in the folder are not written twice. | src/mc_engine/hooks/photo_export.cpp |
photo_album_export_dir |
string | "" |
- | toml / CLI | Folder EXPORT ALBUM writes the photos to. Empty = Pictures\LARecomp. | src/mc_engine/hooks/photo_export.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
warp_spot |
string | "" |
- | toml / CLI | Where F9 drops the car: "x y z heading" (heading in degrees, 0 = facing +Z). Empty = the first point a mod names in models/<mod>/warps.txt. The car is dropped onto whatever collision is below the point. Debug only. |
src/mc_engine/gameplay/map_warp.cpp |
start_garage_last |
string | hollywood |
- | toml / CLI | The garage nearest the car the last time it was driven (hollywood, beaches or sc); start_garage = last starts the session there. The game keeps it up to date. Debug only. | src/mc_engine/gameplay/map_warp.cpp |
start_garage |
string | hollywood |
- | menu: EXTRAS > START GARAGE (label shows RESTART); steps: hollywood, beaches, sc (SOUTH CENTRAL), last (LAST USED); toml / CLI | Which district garage the car starts the session at: hollywood (what the game always does), beaches, sc, or last (the garage nearest the car when the game was closed). The car is moved there once, when it first appears at Hollywood's door, so a change is seen at the next start of the game. Needs a restart. | src/mc_engine/gameplay/map_warp.cpp |
warp |
command | n/a | - | toml / CLI | Warp the car: 'warp <point>' (a mod's warps.txt), 'warp back' (to where it was), 'warp x y z [heading]', or 'warp' to list the points. The car is dropped onto whatever collision is below the point. Debug only. |
src/mc_engine/gameplay/map_warp.cpp |
mod_breakables |
bool | true |
- | toml / CLI | Props a mod baked into the city sectors break off when the car hits them fast enough (models/<mod>/breakables.bin); a slow bump still stops the car. Debug only. |
src/mc_engine/modloader/features/mod_breakables.cpp |
mod_breakable_speed_scale |
double | 1.0 |
- | toml / CLI | Multiplier on the speed a mod's breakable prop needs to break. Debug only. | src/mc_engine/modloader/features/mod_breakables.cpp |
mod_glows |
bool | true |
- | toml / CLI | Light glows a mod places in the world (models/<mod>/glows.bin), drawn by MCLA's glow renderer. Debug only. |
src/mc_engine/modloader/features/mod_glows.cpp |
mod_glows_max |
int32 | 64 |
- | toml / CLI | Mod glows submitted per frame, nearest first. MCLA draws 96 a frame in all, car lights included. Debug only. | src/mc_engine/modloader/features/mod_glows.cpp |
mod_glow_size |
double | 1.8 |
- | toml / CLI | Mod glow size multiplier (on top of each glow's own). Debug only. | src/mc_engine/modloader/features/mod_glows.cpp |
mod_glow_intensity |
double | 1.0 |
- | toml / CLI | Mod glow intensity multiplier. Debug only. | src/mc_engine/modloader/features/mod_glows.cpp |
mod_lights |
bool | true |
- | toml / CLI | Dynamic lights a mod adds to its part of the map (models/<mod>/lights.bin): its lamps light the ground and the cars at night, on a light grid of its own. Built at city load. Debug only. |
src/mc_engine/modloader/features/mod_lights.cpp |
mod_light_intensity |
double | 1.0 |
- | toml / CLI | Mod light intensity multiplier, applied when the mod's light grid is built (city load). Debug only. | src/mc_engine/modloader/features/mod_lights.cpp |
time_of_day_hold |
bool | false |
- | menu: GAMEPLAY > TIME OF DAY > HOLD TIME; toml / CLI | Freeze the world at time_of_day instead of letting the day cycle run. This is the on/off switch -- the hour by itself changes nothing while this is off, so you can park a value and arm it later. | src/mc_engine/gameplay/time_of_day.cpp |
time_of_day |
double | 12.0 |
0.0 to 24.0 | menu: GAMEPLAY > TIME OF DAY > TIME; steps: 0.0, 3.0, 6.0, 9.0, 12.0, 14.0, 16.75, 17.4, 19.0, 21.0, 23.5; toml / CLI | Hour to hold the world at (0-24, fractional), applied while time_of_day_hold is on. Takes effect every frame, so dragging the bar walks the sun across the sky live. Menu presets: 6.0 sunrise, 16.75 afternoon, 17.4 sunset, 23.5 night. | src/mc_engine/gameplay/time_of_day.cpp |
time_of_day_realtime |
bool | false |
- | menu: GAMEPLAY > TIME OF DAY > REAL CLOCK; toml / CLI | Follow your computer's clock: the world sits at the real local hour and keeps up with it. Outranks time_of_day_hold. | src/mc_engine/gameplay/time_of_day.cpp |
weather |
string | game |
one of game, real, nice, cloudy, stormy, foggy
|
menu: GAMEPLAY > TIME OF DAY > WEATHER; steps: game, real (REAL (LIVE)), nice, cloudy, stormy, foggy; toml / CLI | Force the weather. 'game' leaves it alone, including its own random changes; a named sky pins that one and stops the automatic changes. 'real' follows the actual weather where you are, refreshed once an hour (five minutes after a failed request). Only while it is on, two web services are asked: ipapi.co, which sees your public address and answers with your city and its latitude and longitude, and open-meteo.com, which is sent that latitude and longitude (to four decimal places) and, as any web server does, sees the address the request came from. Nothing else is sent (no name, save or game data), and nothing is sent with any other value. The log line [RealWeather] names your city and its coordinates to two decimal places: take it out before you post a log. On Linux and the Steam Deck it needs the system's libcurl (libcurl.so.4, or libcurl-gnutls.so.4); without it 'real' leaves the game's own weather and the log says why once. |
src/mc_engine/gameplay/time_of_day.cpp |
time_of_day_speed |
double | 1.0 |
0.0 to 100.0 | menu: GAMEPLAY > TIME OF DAY > DAY SPEED; steps: 1.0, 2.0, 3.0, 5.0, 10.0; toml / CLI | Multiplier on the day cycle speed. Only applies while time_of_day_hold is off -- a held hour does not advance at all. 1 = stock, 0 = frozen where it is, 10 = ten times faster. The stock rate varies with the hour (about 2 minutes per hour at midday, 3 at night). | src/mc_engine/gameplay/time_of_day.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
smooth_chassis_depth |
bool | true |
- | debug menu: FIXES > SUSPENSION FIX; toml / CLI | Fix: Smooth vehicle chassis suspension and ground depth damping at 60 FPS. Debug only. | src/mc_engine/hooks/vehicle.cpp |
smooth_vehicle_physics |
bool | true |
- | debug menu: FIXES > SMOOTH VEHICLE PHYSICS; toml / CLI | Fix: Continuous-time tire slip filter at 60+ FPS. Debug only. | src/mc_engine/hooks/vehicle.cpp |
smooth_bike_gyro |
bool | true |
- | toml / CLI | Fix: Step the motorcycle gyro's smoothing in continuous time, so bikes lean and settle the same at any frame rate. Debug only. | src/mc_engine/hooks/vehicle.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
rubberband_dump |
bool | false |
- | toml / CLI | Write every RubberBandTune entry to <exe>/rubberband_dump.txt and flip back off. Read it before picking the scales below. Debug only. |
src/mc_engine/hooks/rubberband.cpp |
rubberband_catchup_scale |
double | 1.0 |
0.0 to 2.0 | menu: GAMEPLAY > DIFFICULTY > CATCH-UP (AI BEHIND); toml / CLI | Scales how hard the computer-controlled opponents pulls when it is BEHIND: MaxThrottle, BehindMaxThrottle, HomeStretchBehindMaxThrottle, PlayerCloseMaxThrottle. Below 1 = less catch-up. | src/mc_engine/hooks/rubberband.cpp |
rubberband_holdback_scale |
double | 1.0 |
0.0 to 2.0 | menu: GAMEPLAY > DIFFICULTY > HOLD-BACK (AI AHEAD); toml / CLI | Scales MinThrottle, the throttle cap while the computer-controlled opponents is AHEAD. Below 1 = the leader backs off harder; above 1 = it runs away more freely. | src/mc_engine/hooks/rubberband.cpp |
rubberband_level |
int32 | -1 |
-1 to 10 | toml / CLI | Force which RubberBandTune level the computer-controlled opponents races at: -1 leaves the game's own choice, 0 = easiest, 10 = hardest. This is the direct way to make races harder -- the tune index the game normally derives from your racer level and the race's base. Debug only. | src/mc_engine/hooks/rubberband.cpp |
rubberband_distance_scale |
double | 1.0 |
0.1 to 4.0 | menu: GAMEPLAY > DIFFICULTY > RUBBERBAND RANGE; toml / CLI | Scales the distance bands the rubberband reacts within: MinDist, MaxDist, BehindMinDist, BehindMaxDist. Larger = the band engages from further away. | src/mc_engine/hooks/rubberband.cpp |
rubberband_nitro_start_dist |
double | -1.0 |
-1.0 to 8000.0 | menu: GAMEPLAY > DIFFICULTY > NITRO FROM START; toml / CLI | UseNitroMinDistFromStart in world units: how far into the race the computer-controlled opponents must be before it may touch nitrous. Stock is 100 at every difficulty level, which is why they empty the bottle off the line. -1 keeps stock. | src/mc_engine/hooks/rubberband.cpp |
rubberband_nitro_finish_scale |
double | 1.0 |
0.0 to 8.0 | menu: GAMEPLAY > DIFFICULTY > NITRO NEAR FINISH; toml / CLI | Scales UseNitroMinDistFromFinish, the gate tied to the run-in to the finish. | src/mc_engine/hooks/rubberband.cpp |
rubberband_nitro_behind_scale |
double | 1.0 |
0.0 to 8.0 | menu: GAMEPLAY > DIFFICULTY > NITRO BEHIND YOU; toml / CLI | Scales UseNitroMinDistBehindPlayer and UnlimitedNitroMinDistBehindPlayer -- how far behind you the computer-controlled opponents has to be before it spends nitrous, and before it gets unlimited. | src/mc_engine/hooks/rubberband.cpp |
ai_difficulty |
double | -1.0 |
-1.0 to 100.0 | menu: GAMEPLAY > DIFFICULTY > AI DIFFICULTY; toml / CLI | AI difficulty in percent: 0 = easiest, 100 = the game's hardest, each 10% one RubberBandTune level. -1 leaves the game's own choice. Ignored while rubberband_level is set. | src/mc_engine/hooks/rubberband.cpp |
difficulty_preset |
string | complete |
one of complete, original
|
menu: GAMEPLAY > DIFFICULTY > PRESET; toml / CLI | Whose AI rules races use: complete = the Complete Edition's, as shipped; original = the launch build's (December 2008), before the title update that eased it: the AI keeps its nitrous closer to the finish, the home-stretch hold-back is shorter, and the career difficulty starts at 3 and climbs and falls within the launch limits. | src/mc_engine/hooks/rubberband.cpp |
rubberband_shortcut_scale |
double | 1.0 |
0.0 to 8.0 | menu: GAMEPLAY > DIFFICULTY > AI SHORTCUTS WHEN BEHIND; toml / CLI | Scales DistBehindBeforeTakingShortcuts: how far behind you the AI must fall before it takes a track's alternate (shortcut) path. 0 = always takes them, above 1 = later. | src/mc_engine/hooks/rubberband.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
squash_stretch |
bool | false |
- | debug menu: TOOLS > SQUASH AND STRETCH; toml / CLI | Squash & stretch the player's car like the "Why's This Dealer?" meme. Visual only -- physics and collision are untouched. Debug only. | src/mc_engine/gameplay/squash_stretch.cpp |
squash_amplitude |
double | 0.25 |
- | toml / CLI | Squash depth, 0..0.9. 0.25 = the body loses a quarter of its height at the bottom of the cycle and gains half of that in width. Debug only. | src/mc_engine/gameplay/squash_stretch.cpp |
squash_hz |
double | 1.5 |
- | toml / CLI | Oscillations per second. Debug only. | src/mc_engine/gameplay/squash_stretch.cpp |
squash_pivot |
double | 0.0 |
- | toml / CLI | Pivot height in metres along the up axis, in car space. 0 = scale about the car origin (the body sinks and rises). Negative values push the pivot down toward the tyre contact patch so the car keeps its ground contact. Debug only. | src/mc_engine/gameplay/squash_stretch.cpp |
squash_up_axis |
int32 | 2 |
- | toml / CLI | Which car-space axis is up: 0 = X, 1 = Y, 2 = Z (RAGE default). The other two axes take the anti-phase widening. Debug only. | src/mc_engine/gameplay/squash_stretch.cpp |
squash_traffic |
bool | false |
- | toml / CLI | Apply the squash to every car in the world instead of just the player's. Debug only. | src/mc_engine/gameplay/squash_stretch.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
extra_vinyl_layers |
bool | false |
- | menu: EXTRAS > EXTRA VINYL LAYERS (label shows RESTART); toml / CLI | Raise the front/rear BUMPER vinyl caps from 16 to 31 layers each (64/64/64/31/31). Top and side caps stay at 64 because MCLA's vinyl composite pipeline hard-caps a single surface at 64 layers (fixed-64 work-area buffers; >64 overflows and crashes). Needs a restart. | src/mc_engine/hooks/vinyl.cpp |
export_vinyl |
bool | false |
- | toml / CLI | Export the current car's vinyl layers to a .vgp file in <exe dir>/vinyls/ (auto-named vinyl_<car>_<timestamp>.vgp). Toggle ON while in the garage with a car loaded; it fires once and flips back OFF. Share the file; import later. Debug only. |
src/mc_engine/hooks/vinyl.cpp |
import_vinyl |
string | "" |
- | toml / CLI | Import a .vgp vinyl package onto the current car. Type the file name (found in <exe dir>/vinyls/, with or without the .vgp extension) and press Enter while in the garage with a car loaded. It overwrites the car's current vinyl layers and re-composites, then clears the field. Debug only. | src/mc_engine/hooks/vinyl.cpp |
vinyl_auto_readback |
bool | true |
- | toml / CLI | Fix: car vinyls only load outside the Vinyl Editor when GPU readback is on (the game builds the decal texture on the CPU from a GPU composite). Debug only. | src/mc_engine/hooks/vinyl.cpp |
vinyl_layers_per_frame |
int32 | 32 |
1 to 224 | toml / CLI | How many vinyl layers the garage can draw per frame while rebuilding a car's vinyl in MANAGE VEHICLES or the Vinyl Editor. 1 restores the game's one-layer pace. | src/mc_engine/hooks/vinyl_batch.cpp |
vinyl_shape_prefetch |
int32 | 16 |
0 to 64 | toml / CLI | Keep this many shapes for upcoming vinyl layers ready while rebuilding. Each shape uses about 0.4 MB of streaming memory. 0 loads shapes one at a time. | src/mc_engine/hooks/vinyl_batch.cpp |
dump_vinyl_shapes |
bool | false |
- | toml / CLI | Dump the vinyl shape catalog (every ShapeIdx -> source bitmap filename + texture header) to <exe dir>/vinyls/vinyl_shapes.json. Enter the Vinyl editor once so the shape library loads, then toggle ON; it fires once and flips back OFF. Used to build the image->vinyl decomposer's brush set. Debug only. | src/mc_engine/hooks/vinyl_shapes.cpp |
capture_vinyl_shapes |
bool | false |
- | toml / CLI | Hands-free: force-load every vinyl shape a few at a time, hash each, and build the full ShapeIdx->hash map in vinyls/vinyl_shape_hashes.txt (+ .json) -- no manual browsing. Enter the Vinyl editor (main menu, not a picker grid), then toggle ON; it sweeps all ~894 shapes over a few seconds and logs when done. Debug only. | src/mc_engine/hooks/vinyl_shapes.cpp |
mod_bodykits |
bool | true |
- | toml / CLI | Line N of a car's body part shows wide body kit N-1 (widebody, spoiler_wide, hood_wide, door_l_wide, door_r_wide, trunk_wide index N-1). Shipped cars only have body_0/body_1 and are unaffected. Debug only. |
src/mc_engine/modloader/features/mod_bodykits.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
cutscene_replay |
string | cut_story_district_champs |
- | menu: EXTRAS > CUTSCENES > CUTSCENE; toml / CLI | Which cutscene the pause menu's CUTSCENES tab replays. Names match the scene's animation pack under $/resources/animation/cineanimpacks. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_play_now |
string | "" |
- | toml / CLI | Set to a cutscene name to play it immediately, without going through the menu. Clears itself once the scene starts. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_force_events |
bool | false |
- | toml / CLI | Leave it off; it is kept only to reproduce that. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_force_camera |
bool | false |
- | toml / CLI | It is a no-op when the camera is already running. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_menu_autoclose |
bool | true |
- | toml / CLI | Turn it off to arm the scene and close the menu by hand instead. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_skip_uses_teardown |
bool | false |
- | toml / CLI | Make the skip button end a REPLAY through our own teardown instead of the game's skip path. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_keep_movies |
bool | true |
- | toml / CLI | Clear mgr+316 before the scene tears down, so FinishScene does not run its movie teardown. The pause menu is a Flash movie (PAUSEMOVIE), and reopening it after a replay died on exactly that: a vfunc call through an object whose vtable had been zeroed. mgr+316 is set by SetSceneName, so every replay took that branch. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_probe_log |
bool | false |
- | debug menu: LOGGING > CUTSCENE PROBE LOG; toml / CLI | Print the per-frame trace of a replay: which characters stream in, every actor launch with its clip and entity, the camera hand-over, and each cine event as it fires with its name from the game's own table. Off by default because a 74 second scene is a few hundred lines. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_run_script |
string | "" |
- | toml / CLI | Start any script object by name, relative to $/script_obj, on the next frame. Clears itself once the script is mounted. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_setup |
bool | true |
- | toml / CLI | Run the game's own standalone-cutscene setup script before the scene. It slots four racers and nine character sets, which a built cutscene script assumes. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_bind_coordsys |
bool | false |
- | toml / CLI | Anchor the scene to the player's car before it plays, through the game's own CineScript_SetGameCoordSysBindingCopyRacer. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_pad_racers |
bool | true |
- | toml / CLI | Repeat the player into the cutscene's remaining car slots when the world has fewer racers than the scene wants. Wrong on screen -- several cars end up being the same one -- but it is what gets a scene past its 'insufficient number of racers slotted' guard in free roam. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_debug |
bool | false |
- | toml / CLI | Dump the whole script-thread tree and the scrThread array with each cutscene gate report. Off by default: it is ~200 lines a shot. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
cutscene_stop |
string | "" |
one of "", kill, finish
|
toml / CLI | Abort the running cutscene and dump which of mcCineScript's gates never opened. 'kill' raises the script's own kill flag; 'finish' runs the teardown directly, which is what gets the HUD back from a wedged scene. Debug only. | src/mc_engine/gameplay/cutscene_gallery.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
carbon_menu_diag |
bool | false |
- | toml / CLI | Log the garage menu state tree, per-state field dumps and the activate/command stream while the paint screen is open. Debug only. | src/mc_engine/gameplay/carbon_parts.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
leaderboards_enabled |
bool | true |
- | toml / CLI | Leaderboards: serve the Xbox LIVE stats boards (race wins, battle modes, race times) from our own backend, shared through the Rate My Ride server. Off = stock behaviour (empty boards). | src/mc_engine/online/leaderboards/lb_client.cpp |
leaderboards_diag |
bool | false |
- | debug menu: LOGGING > LEADERBOARDS DIAG; toml / CLI | Log every leaderboard read and write in detail. Debug only. | src/mc_engine/online/leaderboards/lb_client.cpp |
online_race_prop_guard |
bool | true |
- | toml / CLI | Skip the physics update of a prop whose owner is broken instead of crashing. Starting an online race re-syncs every race prop. Debug only. | src/mc_engine/online/race_props.cpp |
online_race_prop_watch |
string | "" |
- | toml / CLI | Diagnostic: guest address (hex) of a prop inst. Its owner's inst word is polled every frame and every change is logged. Empty = off. Debug only. | src/mc_engine/online/race_props.cpp |
rmr_enabled |
bool | true |
- | toml / CLI | Rate My Ride: serve the mode from our own backend instead of Rockstar's dead server. Off = stock behaviour ("server not available"). | src/mc_engine/online/rate_my_ride/rmr_client.cpp |
rmr_server |
string | "" |
- | toml / CLI | Rate My Ride server as host[:port]. Empty = the online relay host (mcla_online_server) when online is enabled, otherwise a local store shared by the profiles on this PC. "local" forces the local store. | src/mc_engine/online/rate_my_ride/rmr_client.cpp |
rmr_server_port |
int32 | 31002 |
- | toml / CLI | TCP port of the Rate My Ride server when it runs on the relay host (default 31002). A port typed into rmr_server overrides it. | src/mc_engine/online/rate_my_ride/rmr_client.cpp |
rmr_diag |
bool | false |
- | debug menu: LOGGING > RMR DIAG; toml / CLI | Log every Rate My Ride request and record in detail. Debug only. | src/mc_engine/online/rate_my_ride/rmr_client.cpp |
online_master_server |
string | 26.24.254.19:31003 |
- | toml / CLI | Server list for the server browser (F6): host or host:port of a larecomp_master_server (port 31003 if omitted). Blank (empty or only spaces) = no list: only server_browser_servers and the current server. Deleting the setting brings the default back. | src/mc_engine/online/server_browser/browser_query.cpp |
server_browser_servers |
string | "" |
- | toml / CLI | Your own servers for the server browser, comma-separated host:port. | src/mc_engine/online/server_browser/browser_ui.cpp |
server_browser_show_icons |
bool | true |
- | toml / CLI | Server browser: show each server's icon. | src/mc_engine/online/server_browser/browser_ui.cpp |
server_browser_pending |
string | "" |
- | toml / CLI | Set by the server browser when a room needs another server: the room to offer right after the restart (address\ Debug only. | src/mc_engine/online/server_browser/browser_ui.cpp |
online_ignore_content_check |
bool | true |
- | toml / CLI | Ignore the session DLC/content compatibility check when joining or hosting online. The check is symmetric and fails on any mask difference, so it wrongly demands DLC (South Central) even when nobody owns any. Turn off to restore the stock behaviour. Debug only. | src/mc_engine/online/system_link.cpp |
online_diag |
bool | false |
- | debug menu: LOGGING > ONLINE DIAG; toml / CLI | Log online session content masks and the valid-vehicle count at the join content check. Used to confirm whether the host's session properties transported. Verbose; leave off for normal play. Debug only. | src/mc_engine/online/system_link.cpp |
join_server |
string | "" |
- | toml / CLI | Launch argument, never saved: join a server by itself once the city is up. host[:port] = Cruise on it, host[:port],race = Race on it, host[:port],room: = the room that player hosts. Switches online on for this run, on that server (the same as mcla_online_enable and mcla_online_server on the command line). The result is in the log and in logs/join_server.txt. Debug only. | src/larecomp_app.cpp |
online_car_guard_notice |
bool | true |
- | toml / CLI | Show a message when LARecomp repairs broken vinyl layers or impossible tuning on a received car, Rate My Ride car or your own garage car. Garage notices appear when you drive the car. Repairs also run with the notice off. | src/mc_engine/online/car_guard.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
net_lift_big_session_limits |
bool | false |
- | menu: EXTRAS > NO 8 PLAYER LIMITS; toml / CLI | Sessions of more than 8 players keep damage, debris, world props and the default session settings that MCLA turns off above 8. Applies to the next session you host. | src/mc_engine/online/session_limits.cpp |
net_max_players |
int32 | 31 |
- | toml / CLI | Largest session size the host menu can offer (2 to 31). The menu offers even sizes and also the cap if it is odd. 16 restores the game's session limit. A race still has at most 16 racers. Needs a restart. | src/mc_engine/online/max_players.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
larecomp_discord_rpc |
bool | true |
- | toml / CLI | Enable Discord Rich Presence. Live: off clears the presence at once, on shows the game's current state at once. | src/discord_rpc/discord_rpc.cpp |
larecomp_discord_rpc_log_state |
bool | false |
- | toml / CLI | Log Discord RPC state changes with printf. Debug only. | src/discord_rpc/discord_rpc.cpp |
larecomp_discord_large_image |
string | mcla_logo |
- | toml / CLI | Discord RPC large image key. Debug only. | src/discord_rpc/discord_rpc.cpp |
larecomp_discord_rpc_language |
string | auto |
one of auto, en, pt, es
|
toml / CLI | Rich Presence language. 'auto' follows the game (user_language); or force en / pt / es. Discord itself does not translate presence text. | src/discord_rpc/discord_rpc.cpp |
larecomp_discord_activity |
bool | true |
- | toml / CLI | Enable Discord Rich Presence activity Debug only. | src/discord_rpc/rpc_client.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
model_mods |
bool | true |
- | toml / CLI | Load model replacements from <exe>/modloader/<mod>/<asset>.obj (or mods/, models/). Each .obj is baked into a native drawable and packed into xarchive_mods.rpf, which is appended to the archive list -- the engine's own last-mounted-wins rule makes it override per file. Game archives are never modified. Needs a restart. |
src/mc_engine/modloader/modloader.cpp |
model_mods_bone |
int32 | -1 |
- | toml / CLI | -1 keeps a skinned mesh's own weights (glTF with JOINTS_0/WEIGHTS_0), matching its joints to the driver's bones by bind-pose position, so the model follows the seated pose. Any value >= 0 ignores the weights and rides the whole mesh rigidly on that one bone, which is all a .obj can do. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_offset_y |
double | 0.0 |
- | toml / CLI | Extra height for the replacement model, in metres, on top of the automatic lift onto its bone. Positive raises it. Use this if the model still sits below or above the seat -- it takes a restart but no rebuild. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_offset_x |
double | 0.0 |
- | toml / CLI | Sideways nudge for the replacement model, in metres. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_offset_z |
double | 0.0 |
- | toml / CLI | Forward/back nudge for the replacement model, in metres. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_yaw |
double | 0.0 |
- | toml / CLI | Turns the replacement model about the vertical axis, in degrees. Source models rarely face the same way the game does -- 180 turns a model that sits with its back to the wheel. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_pitch |
double | 0.0 |
- | toml / CLI | Tips the replacement model forward or back, in degrees. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_roll |
double | 0.0 |
- | toml / CLI | Rolls the replacement model sideways, in degrees. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_scale |
double | 1.0 |
- | toml / CLI | Size multiplier on top of the automatic fit, which matches the model's height to the driver's. 1.0 leaves it alone. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_submeshes |
bool | true |
- | toml / CLI | Spread the replacement mesh across every submesh of the character instead of the largest one alone. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_decimate |
bool | false |
- | toml / CLI | Whether a replacement mesh larger than the slot it has to live in may be welded down to fit: a character, a rim, or a part replaced on a shipped car. A car built on a donor is always welded to its ceilings (model_mods_car_budget for the body) and ignores this. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_proportions |
double | 0.0 |
- | toml / CLI | How much of the replacement model's own build to keep when it is reposed onto the driver's skeleton, 0 to 1. At 0 every joint lands exactly on the bone it was matched to, which is what the game's skinning expects and what a human-shaped model wants. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_textures |
bool | true |
- | toml / CLI | Use the replacement model's own textures. The images embedded in a .glb (one per material) are packed into a single atlas, each primitive's UVs are remapped into its own cell, and the result is written over the character's diffuse map in place -- same address, same size, same format. Off leaves the mesh wearing the original driver's skin. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_textures |
bool | true |
- | toml / CLI | Give a replacement car body its own textures. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_autoalign |
bool | true |
- | toml / CLI | Put a replacement wheel on the game's axle, in two steps. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_keep_badge |
bool | true |
- | toml / CLI | Leave the wheel's badge quad as it shipped instead of silencing it. It is nine vertices on its own material, and that material is the only one on the wheel that samples a texture -- so silencing it, which is what the geometry rewrite did to every unused submesh, takes the badge off the car and leaves a mod's paint read by nothing. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_shade_profile |
bool | true |
- | toml / CLI | Rebuild a replaced wheel's baked shading from the template instead of flooding it with one average. A shipped wheel carries its ambient occlusion per vertex, and it is not a small effect: measured across five of them the lane runs the full 0..255 with a deviation above fifty. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_texture_mode |
int32 | -1 |
- | toml / CLI | Where a wheel mod's own image is applied: -1 auto, 0 the hub cap, 1 the whole rim. A shipped wheel keeps no skin. Its metal is the shader and the baked per-vertex shade, and its texture is a decal sheet -- the maker's logo plus a few lug nuts and valve stems, most of it transparent -- sampled by a nine-vertex quad sitting on the hub. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_band_profile |
bool | false |
- | toml / CLI | Carry the template wheel's material bands onto the replacement instead of flooding one. texcoord1.x is the rim's material selector: xRimMain's VS_Common indexes materialHookups and tintColors with it, and PS_Multi then reflects a dual-paraboloid environment map through whatever material came out. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_shade_occlusion |
bool | true |
- | toml / CLI | Bake the wheel's shade lane from occlusion measured on the replacement. A shipped wheel carries a baked lane: measured on three of them it runs 0..252 with a deviation near fifty (bbs_ch 0..252 mean 155 dev 52, amer_razor 5..254 mean 186 dev 45, 5zigen_5zr 0..249 mean 144 dev 55). Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_inherit_shade |
bool | false |
- | toml / CLI | Diagnostic. Copy the shipped wheel's per-vertex shading onto the replacement, vertex by vertex from whichever original vertex is nearest. This is what a character replacement does, and it works there because the mesh has been reposed onto the very skeleton it replaces. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_offset_x |
double | 0.0 |
- | toml / CLI | Nudge for a replacement wheel along its axle, where one unit is the wheel's own diameter. Positive pushes it further into the tyre, negative pulls it out. Only needed when the automatic flush above lands slightly off for a particular model. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_yaw |
double | 0.0 |
- | toml / CLI | Turns a replacement wheel about the vertical axis, in degrees. Separate from the character angles because a wheel and a driver never want the same correction. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_pitch |
double | 0.0 |
- | toml / CLI | Tips a replacement wheel forward or back, in degrees. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_roll |
double | 0.0 |
- | toml / CLI | Rolls a replacement wheel sideways, in degrees. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_rim_scale |
double | 1.0 |
- | toml / CLI | Size multiplier for a replacement wheel, on top of the automatic fit to the shipped wheel's own bounds. 1.0 leaves it alone. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_yaw |
double | 180.0 |
- | toml / CLI | Turns a replacement car about the vertical axis before its parts are placed, in degrees. 180 is the normal value and the default: glTF has a model face +Z and MCLA has it face -Z, which is checked rather than assumed -- the shipped cars keep their headlights at negative Z and their tail lights at positive Z, and an exported car has it the other way round. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_scale |
double | 1.0 |
- | toml / CLI | Size multiplier for a replacement car, on top of the automatic fit. The fit matches the length of the mod's body to the length of the body it replaces, and every part of the car is then moved by that one factor -- scaling each part into its own slot instead would leave a hood a size larger than the doors beside it. 1.0 leaves it alone. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_grow |
bool | false |
- | toml / CLI | Give a replaced car part or character mesh buffers of its own instead of welding it down into the ones the shipped resource came with. The resource is made longer and the submesh is pointed at the new space; nothing already in it moves. Wheels do not use this setting: they grow by themselves when they need to (see Wheel Mods). Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_budget |
uint32 | 16777216 |
- | toml / CLI | The largest a replaced car body may be grown to, in bytes for LOD 0; the lower LODs get a quarter of it. Anything the mod brings beyond what fits is welded away, whatever model_mods_decimate says. It is a ceiling, not a size: a body that needs less is grown only to what it needs. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_pack_write |
bool | true |
- | toml / CLI | Write the mod's atlases into the car's material packs. A probe, not a feature. model_mods_car_textures gates TWO things at once: the atlas, which rewrites the mesh's UVs, and the pack rewrite, which unpacks .xtl/.xtp, drops the atlases in and repacks them through BuildRsc5File instead of shipping the donor's bytes as they came. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_share_images |
bool | false |
- | toml / CLI | Let two materials that name the same picture share one cell of the atlas. A textures/ folder is keyed by material name, so a car whose three lamp materials all draw 750i_taillight ships three identical files and they take three cells. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_cabin_light |
bool | true |
- | toml / CLI | Give a replacement car's cabin (the car-space part slots, interior0) the donor's per-vertex interior lighting, read off the donor's cabin vertex nearest each new one, instead of one flooded average. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_lod1_copy |
bool | true |
- | toml / CLI | Ship a replacement car's LOD 1 as a byte copy of the LOD 0 just built, for the body and for every part slot the donor gives a LOD 1. The garage draws LOD 1 close up. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_part_probe |
bool | false |
- | toml / CLI | TEMPORARY diagnostic: every second, while the player's car is waiting to reattach its parts (car+6467) -- which is when the game draws none of it, wheels included -- log which selected part is not resident yet and the state of its stream (object, resource, handle, flags, state, refcount). See PartProbeLoop. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_glass_band |
bool | true |
- | toml / CLI | Give a replacement body's glass the pane number of the donor glass nearest each piece of it, instead of the dominant pane of the submesh it is written into. texcoord1.x on CarGlass says which pane a vertex is -- 0 windscreen, 1 rear, 2/3 doors -- and the window film tints 1-3 only, so a body flooded with 0 takes no film at all. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_part_growth |
uint32 | 8 |
- | toml / CLI | How much larger than the donor's own a replacement PART may be, as a multiple of the shipped resource. A part is not a body and does not need the body's machinery: the Impala's front bumper is 1731 vertices where its shell is three thousand-odd, and the whole of a car's sixty parts together weigh less than one of its LODs. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_car_verbatim |
bool | false |
- | toml / CLI | Diagnostic, cars only. Copies each part's shipped file into the mod archive exactly as it lies in the game's own -- same bytes, same compressed length, same flag -- instead of decompressing it and packing it back. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_passthrough |
bool | false |
- | toml / CLI | Diagnostic. Repacks the original character resource without touching its geometry, so the .obj is ignored. If the driver still renders correctly with this on, the packing path (LZX, archive, mount, flags) is sound and any breakage belongs to the mesh rewrite; if it breaks, the packing path is at fault. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_anchor_bones |
bool | true |
- | toml / CLI | Whether the repose plants each of the mod's joints on the bone it was matched to. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_weight_smoothing |
int32 | 4 |
- | toml / CLI | How many rounds of neighbour averaging the mod's skin weights get before the model is reposed onto the driver's skeleton. 0 keeps them exactly as authored. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_grow_slack |
uint32 | 65536 |
- | toml / CLI | Room left unused at the end of a resource model_mods_grow has enlarged. The tail of a grown segment does not arrive intact, and this is what keeps the mesh out of it -- measured on a wheel: buffers ending 16 KB short of the segment's end came back with holes, and ending 82 KB short came back clean. Needs a restart. Debug only. |
src/mc_engine/modloader/modloader.cpp |
model_mods_car_space_only |
bool | true |
- | toml / CLI | Write a donor car's replacement mesh only into the models the donor authors in the CAR's frame, and silence the pass's submeshes in the others. A vehicle body is several models and the game draws each with its own part matrix -- a bumper, a lamp, a door window. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_grow_probe |
int32 | 0 |
- | toml / CLI | With model_mods_grow on: 1 grows the resource and stops there, the segment gets bigger and nothing else changes -- no buffer moves, no pointer is rewritten, no count is touched, and the mesh is decimated into the buffers the template already owned. Needs a restart. Debug only. |
src/mc_engine/modloader/modloader.cpp |
model_mods_cache |
bool | true |
- | toml / CLI | Keep built wheels, cars and characters and take them from .cache/built while their inputs are unchanged. false builds everything at every launch, for mod authors. See Mod Loader. Needs a restart. Debug only. |
src/mc_engine/modloader/modloader.cpp |
model_mods_load_refused |
bool | false |
- | toml / CLI | For mod authors: load files the loader would leave out because the game cannot take them. Can crash or hang the game. See Mod Loader. Needs a restart. Debug only. | src/mc_engine/modloader/modloader.cpp |
model_mods_diag |
bool | false |
- | toml / CLI | Write a .diag folder beside the mods: one .txt per rebuilt asset holding the template's submesh table, both rigs with the joint-to-bone mapping, and how the mesh was dealt across the submeshes -- plus the mesh itself as .obj before and after the retarget. Needs a restart. Debug only. |
src/mc_engine/modloader/modloader.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
mcla_controller_toast |
bool | true |
- | toml / CLI | Show the MCLA-styled toast when a controller connects or disconnects. Its corner follows controller_toast_position. | src/mc_engine/ui/controller_toast.cpp |
profile_auto_select |
bool | false |
- | toml / CLI | Start with the save named by user_name. Off opens the picker at every start, even with one save. The picker's Always use this save box sets this. Hold Shift at startup to show the picker once. |
src/profile/larecomp_profile_picker.cpp |
skip_save_import |
bool | false |
- | toml / CLI | Skip the save import wizard shown on first launch and start with no save. The wizard is skipped automatically anyway when no Xenia or RPCS3 save is found on the machine. Debug only. | src/saveporter/larecomp_save_porter.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
show_test_movie |
bool | false |
- | debug menu: TOOLS > TEST MOVIE BUTTON; toml / CLI | Show the TestMovie debug button in the pause menu Debug only. | src/mc_engine/menus/pause_menu.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
language |
string | auto |
one of auto, en, es, fr, de, it, pt
|
menu: INTERFACE > LANGUAGES > LANGUAGE; steps: auto, en (ENGLISH), es (ESPANOL), fr (FRANCAIS), de (DEUTSCH), it (ITALIANO), pt (PORTUGUES); toml / CLI | UI text language. The disc has five full translations in its own ui/mc4stringtable*.strtbl files: English, Spanish, French, German and Italian. The game picks its language from the console's user language, which here is the SDK's user_language setting (English unless it says otherwise); at start-up LARecomp sets that from this choice (en, es, fr, de, it), so the game's own language code, its achievement list and the Discord status all follow it. The setting itself is not saved to larecomp.toml, only this one. auto leaves user_language as it is. Switching in-game reloads the text table at once and tells the game its new language, but screens already drawn keep their old text until they are reopened (the pause menu itself too: the game resolves a row's label once when the row is built), and the few things the game reads only at start follow after a restart. pt (Portuguese) works only with a mod that supplies the text: the disc's string tables carry an empty Portuguese block, and on the disc it starts where the Japanese block does, so it would show Japanese text. A mod can fill it with its own ui/mc4stringtable*.strtbl files (modloader/<mod>/files/ui/): every string table the game loads from ui/ (mc4stringtable, _0001 to _0003, tms) needs a Portuguese block with text. Until then pt is used as auto, with a line in the log, and the setting stays in larecomp.toml for when the mod is installed. pt leaves user_language alone: only the text changes, the game's own language code stays what auto gives. Not offered: Japanese (its UI movies, jp*.xsf, are not on the disc, and asking for them is a hard crash). | src/mc_engine/hooks/ui.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
string_dump_enabled |
bool | false |
- | toml / CLI | Capture encountered strings to TOML for translation/modding Debug only. | src/mc_engine/core/string_dumper.cpp |
string_replace_enabled |
bool | false |
- | toml / CLI | Inject replacement strings from disk when available Debug only. | src/mc_engine/core/string_dumper.cpp |
string_folder |
string | "" |
- | toml / CLI | Override the strings folder (empty = /strings) Needs a restart. Debug only. | src/mc_engine/core/string_dumper.cpp |
string_language |
string | "" |
- | toml / CLI | Language code for string replacements (e.g. pt_BR, es_ES) Debug only. | src/mc_engine/core/string_dumper.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
lzx_stats |
bool | false |
- | debug menu: LOGGING > LZX STATS; toml / CLI | Measure pgStreamer LZX decompression (XMemDecompressStream): per-2s window stats appended to <exe>/lzx_stats.txt. For diagnosing streaming stutter (South Central). Debug only. |
src/mc_engine/hooks/diagnostics.cpp |
mcla_gfx_probe |
bool | false |
- | toml / CLI | Milestone 0: passive D3D9-Xenon probe. Renders nothing, changes nothing. Writes mcla_gfx_probe_*.csv next to the executable. Needs a restart. Debug only. | src/native_probe/mcla_gfx_probe.cpp |
mcla_gfx_probe_frames |
int32 | 900 |
0 to 100000 | toml / CLI | Milestone 0: number of guest frames to capture before the probe dumps its report and goes idle (0 = never stop). Debug only. | src/native_probe/mcla_gfx_probe.cpp |
debug_menu |
bool | false |
- | toml / CLI | Unlock the hidden DEBUG menu and the developer settings, for testing and for bug reports. Turn it on with --debug_menu on the command line, REX_DEBUG_MENU=1 in the environment, or debug_menu = true in larecomp.toml. It cannot be changed while the game runs, and the game never writes it to the file. Settings changed in the DEBUG menu are not saved either. Debug only. | src/mc_engine/menus/debug_menu.cpp |
mcla_test_crash |
string | "" |
- | toml / CLI | Crash test for the Linux crash logger: MODE or MODE:SECONDS (5 seconds by default), a few seconds after the game has started. segv writes to address 0x10 on a worker thread; guest reads the guest's null page (the runtime logs 'Unhandled guest access violation' first, as for a real guest crash); stack runs a worker thread out of stack (it has a signal stack); abort calls abort(); terminate throws an exception nobody catches; illegal runs an illegal instruction; fpe divides by zero. The log must end with '!!! CRASH DETECTED !!!' (or '!!! ABORT DETECTED !!!') and a stack trace, and the game dies with the signal's status. Only works with the debug menu unlocked. Linux only. Needs a restart. Debug only. | src/crash_handler.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
guest_profile |
bool | false |
- | toml / CLI | Sample the busiest threads, and photograph every thread when the game stops. The same thing MCLA_PROFILE=1 turns on, reachable from the config file so a session need not be launched from a shell to get it. Needs a restart. Debug only. | src/mc_engine/core/guest_profiler.cpp |
stream_trace |
string | "" |
- | toml / CLI | Log every resource the streamer is asked for whose path contains this text, and whether the file was found. That pair is the only thing that separates "the game never asked for it" from "the game asked and the archive did not have it", which is the question a car that loads forever comes down to. Empty turns it off. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
segment_trace |
string | "" |
- | toml / CLI | Dump the segment table of every resource whose file name contains this text, as the streamer allocates it. So a buffer that starts in one segment and runs past its end is read as if the next segment followed it, and from the boundary on the GPU fetches whatever the heap put there -- a mesh that is perfect on disk and blades on screen. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
inflate_trace |
bool | false |
- | toml / CLI | Log every call into zlibInflater's decode step, for the first few hundred. Both of those follow from one number -- how much input the decoder actually consumed on a call -- and this prints it. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
fxc_probe |
bool | false |
- | toml / CLI | Write the bytes of the two static rage streams' buffer (the effect loader's, at 0x82860C18 and 0x82860C40) to fxc_probe_<n><stream><count>.bin in the working directory, once per distinct content, for the first two hundred. Compares what the effect (.fxc) parser is handed on two platforms: the same file should give the same bytes. Observer only; off by default. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
input_probe |
bool | false |
- | toml / CLI | Log what the SDK's input system hands the game for users 0 to 3 whenever it changes: the status, the packet number, the buttons and the sticks. Off by default. Polling it pumps the same input path the game uses, so it can only make a pad look better, never worse; if a pad shows nothing here, the game gets nothing either. Needs a restart. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
tune_field_probe |
bool | false |
- | toml / CLI | Log every tune field name as it registers. Debug only. | src/mc_engine/hooks/diagnostics.cpp |
mcla_guest_timing |
bool | false |
- | debug menu: LOGGING > GUEST TIMING; toml / CLI | Log mean and p95 elapsed time per frame for game updates, graphics submission and recomp hooks. Live. Debug only. | src/settings/generated/settings_diagnostics.h |
photo_ui_trace |
bool | false |
- | debug menu: LOGGING > PHOTO UI TRACE; toml / CLI | Log the UI statechart while the photo album scene is up (photo mode, the album, the Rate My Ride snapshots): events posted and dispatched, delayed events, the UI.* and photoAlbum.* commands with the states they touch, and the paced movies' frame counts every 10 seconds. Silent everywhere else. Debug only. | src/mc_engine/hooks/photo_album.cpp |
ui_color_log |
bool | false |
- | debug menu: LOGGING > UI COLOR LOG; toml / CLI | Log every distinct Flash UI color (movie, draw site, ARGB, bound texture) with a running count, to measure the families ui_theme_* recolors. Debug only. | src/mc_engine/hooks/ui_theme.cpp |
warp_transition_trace |
bool | false |
- | debug menu: LOGGING > WARP TRACE; toml / CLI | Log every frame the warper spends waiting on a cinematic warp transition: the transition's time, duration, active flag and the frame delta. Debug only. | src/mc_engine/hooks/warper.cpp |
warp_transition_test_miss |
bool | false |
- | toml / CLI | Testing aid: hide the running transition from the warper's own end check, so every cinematic warp ends the way the stuck ones do -- the transition finishes and reports it while the warper is not looking. With warp_transition_fix off this reproduces the stuck garage facade on demand. Debug only. | src/mc_engine/hooks/warper.cpp |
cam_trace |
bool | false |
- | debug menu: CAMERA > CAM TRACE; toml / CLI | Write cam_trace.csv: every game update's camera (position, direction, shake), the player car's position and the clock's time step, every guest swap, and when each frame was presented and reached the screen. For measuring camera judder. Debug only. | src/mc_engine/camera/camera_trace.cpp |
lowcpu_probe |
bool | false |
- | debug menu: LOGGING > LOW CPU PROBE; toml / CLI | Every 10 s, two lines in the log about a PC with few cores: how late the game's audio callback and its 1 ms clock tick were (counts of gaps over 8, 12 and 20 ms, clock staleness) and the CPU time of the audio worker and the timer-queue thread. Only reads. For crackling sound and stutter when the processor is busy: start the game with it, reproduce the problem, send the log. Debug only. | src/mc_engine/hooks/lowcpu_probe.cpp |
lzx_native_check_all |
bool | false |
- | toml / CLI | Run the recompiled LZX decoder next to the native one for every stream, not only the first few, and compare every call. Slower than either alone: for validating a whole session. Read at start. Needs a restart. Debug only. | src/mc_engine/hooks/lzx_native.cpp |
mouse_drag_diag |
bool | false |
- | F4 / toml / CLI | Log which right-stick readers ran and the game's pad state once a second, for testing mouse drag in the garage and menus. Debug only. | src/mc_engine/input/menu_drag_diag.cpp |
The trailer toolkit's scene files (the timeline, cameras and rigs, cars put at named spot: places, the Director's command channel) are written up in documentation/SCENE-AUTHORING.md in the repository.
Use the trailer toolkit's Director panel to frame camera keys, place and route cars, and record takes in the running game. See Director Mode for opening the panel, its controls and a first shot walkthrough.
| Name | Type | Default | Range / values | Where | Effect | Source |
|---|---|---|---|---|---|---|
mcla_cam_cut_blur_fix |
bool | true |
- | toml / CLI | TRAILER TOOLKIT (for A/B pictures): on a frame where the scene's camera cuts, the game's motion blur gets this frame's own matrices as the previous frame's, so it does not smear the frame (E5: the first frame after a cut). Off: the game's constants as they are. Debug only. | src/gpu/scene.cpp |
mcla_cam_log |
uint32 | 0 |
- | toml / CLI | TRAILER TOOLKIT: while a scene's camera is running, log it every this many frames: scene time, position, direction, field of view. 0: only the cuts. Debug only. | src/mc_engine/cinematic/camera_runtime.cpp |
mcla_capture_audio |
bool | true |
- | toml / CLI | TRAILER TOOLKIT capture mode: during a take the game's audio output is replaced by one that mixes exactly one video frame of sound per frame and writes it to audio.wav in the take's folder; the real device is given back when the take ends. The capture driver is put in front of the audio output when such a take starts, not before (a game with no take has the stock output). Off: nothing is installed, the real output plays during the take, in real time, and no WAV is made. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_audio.cpp |
mcla_capture_audio_surround |
bool | false |
- | toml / CLI | TRAILER TOOLKIT capture mode: the take's WAV has the six channels of the game's 5.1 mix (fl fr fc lfe bl br) instead of the stereo fold the real output plays. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_audio.cpp |
mcla_capture_audio_timeout_ms |
int32 | 2000 |
50 to 60000 | toml / CLI | TRAILER TOOLKIT capture mode: how long the game waits at its frame gate for the mixer's frames of one video frame before it goes on with a frame of silence for each that has not come (counted in the audio summary; three in a row stop the waiting for the take). Debug only. | src/mc_engine/cinematic/capture_audio.cpp |
mcla_capture_buffer_every |
int32 | 1 |
1 to 10000 | F4 / toml / CLI | Capture the first take frame and every Nth frame after it. Read when the take starts. Debug only. | src/settings/generated/settings_cinematic.h |
mcla_capture_buffer_region |
string | full |
- | F4 / toml / CLI | Capture the whole buffer with full. Use rects for the bounding rectangle of the scene capture key's rectangles. Read when the take starts. Debug only. |
src/settings/generated/settings_cinematic.h |
mcla_capture_buffers |
string | "" |
- | F4 / toml / CLI | Record raw buffers for a take. Use all or a comma-separated list of final,hdr,ao,refl,gi,class,motion,reflhit,roadrefl,vol,shafts. Empty or off disables buffer capture. Read when the take starts. Debug only. |
src/settings/generated/settings_cinematic.h |
mcla_capture_delay_ms |
double | 0.0 |
0.0 to 5000.0 | toml / CLI | TRAILER TOOLKIT capture mode: the readback of each frame sleeps this long (a slow writer, in milliseconds). Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_dir |
string | captures |
- | toml / CLI | TRAILER TOOLKIT capture mode: the folder the take folders go in (a relative path is relative to the game's folder). Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_ffmpeg |
string | ffmpeg |
- | toml / CLI | TRAILER TOOLKIT capture mode (sink ffmpeg): the ffmpeg program, a full path or a name on PATH. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_ffmpeg_args |
string | -c:v ffv1 -level 3 -g 1 -slices 24 -pix_fmt bgr0 |
- | toml / CLI | TRAILER TOOLKIT capture mode (sink ffmpeg): ffmpeg's output options, between the raw input and video.mkv. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_fps |
double | 0.0 |
0.0 to 1000.0 | debug menu: TOOLS > CAPTURE FPS; toml / CLI | TRAILER TOOLKIT capture mode: a take at this many frames a second, from the next update: the game steps by exactly 1 / this whatever a frame takes to render, every frame is read back and the game waits for it before the next update. 0 ends the take. 10 to 1000. A scene's capture key does the same. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_gate_timeout_ms |
int32 | 20000 |
100 to 600000 | toml / CLI | TRAILER TOOLKIT capture mode: how long the game waits at the frame gate before it goes on (counted in the summary; three in a row switch the waiting off for the take). Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_lag |
int32 | 0 |
0 to 2 | toml / CLI | TRAILER TOOLKIT capture mode: how many frames the game may run ahead of the readback. 0: it waits for frame k to be read back before it starts update k + 1. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_log_every |
int32 | 30 |
0 to 100000 | toml / CLI | TRAILER TOOLKIT capture mode: a [cap] line with the costs of a frame every this many frames (0: the summary only). Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_luma |
string | "" |
- | F4 / toml / CLI | For a PNG take, write lossless 8-bit luma to video.luma with up to three colour previews. Use full or x,y,width,height. Empty keeps the PNG sequence. Read when the take starts. Debug only. |
src/settings/generated/settings_cinematic.h |
mcla_capture_memory_mb |
int32 | 2048 |
64 to 65536 | toml / CLI | TRAILER TOOLKIT capture mode: the hard cap, in MiB, on the memory a take holds (its GPU readback buffers and its ring, one frame each). The ring is cut first, then the GPU buffers; a take that does not fit with 2 + 2 frames does not run, and the log says what to change (a lower render scale). Nothing grows with the take's length or the writer's speed. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_name |
string | "" |
- | toml / CLI | TRAILER TOOLKIT capture mode: the take's folder name when the scene gives none (a name that is taken gets -2, -3 ...). Empty: the scene's own name, else take. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_out |
string | "" |
- | toml / CLI | TRAILER TOOLKIT capture mode: the take folder itself, exactly (it has to be new or empty); the take then ignores the dir and the name. Empty: <dir>/<name>. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_ram_floor_mb |
int32 | 1024 |
0 to 65536 | toml / CLI | TRAILER TOOLKIT capture mode: free physical memory, in MiB, that has to stay free. A take whose buffers would take it lower is cut down or refused at its start, and a take that sees it fall below stops with an error (an 8K take used up the PC's RAM). 0: no floor. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_ring |
int32 | 4 |
2 to 8 | toml / CLI | TRAILER TOOLKIT capture mode: host buffers between the readback and the writer (2 to 8): the most frames that wait for the writer. Fewer are used when mcla_capture_memory_mb or the free memory says so. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_sink |
string | none |
- | toml / CLI | TRAILER TOOLKIT capture mode: what happens to a frame once it is read back: none (counted and dropped), ffmpeg (a pipe to the program in mcla_capture_ffmpeg: FFV1 in video.mkv), png (ffmpeg writes one PNG for every frame) or raw (video.bgra, B8G8R8A8 frames). A scene's sink wins. Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_statelog |
bool | false |
- | toml / CLI | TRAILER TOOLKIT capture mode: write state.csv in the take (the game's state for every frame: the scene's statelog on does the same). Read when a take starts. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_capture_virtual_clock |
bool | true |
- | toml / CLI | TRAILER TOOLKIT capture mode: during a take the upscaler's history rule and the UI movies' pacing read frames x step instead of the wall clock. Off, a slow capture makes the upscaler start its history again on every frame. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_cin_hud_alpha |
double | 1.0 |
0.0 to 1.0 | debug menu: TOOLS > HUD ALPHA; toml / CLI | TRAILER TOOLKIT: how much of the game's own UI (HUD, map, phone, prompts, gamertags, world icons) the picture shows, from 0 to 1. 1 is the game's frame and costs nothing; 0 is the 3D picture with no UI; in between is a fade. The pause menu, the DEBUG menu, the race pause, the map and the F3 card are never faded. Frames whose UI the renderer cannot keep apart from the picture (loading, movies) show it whole. Plume renderer only. Live; a scene's hud keys write it. Debug only. | src/mc_engine/cinematic/hud.cpp |
mcla_denoiser_replay_output |
string | "" |
- | toml / CLI | For renderer comparisons: a new folder where the next fixed-step scene take writes the bounce light's replay or live comparison results | |
mcla_denoiser_replay_route |
string | owned |
- | toml / CLI | For renderer comparisons: the bounce light's filter during a replay, owned (LARecomp's own) or raw (the signal unfiltered) |
|
mcla_denoiser_replay_take |
string | "" |
- | toml / CLI | For renderer comparisons: a folder holding a recorded bounce light take, replayed through the live filter during the next fixed-step scene take | |
mcla_director |
bool | false |
- | toml / CLI | TRAILER TOOLKIT DIRECTOR: the game listens on 127.0.0.1 (loopback only, a token in the info file) for an agent's commands and runs the same commands as the Director panel: transport, scene edits, the free camera, cars, stills, takes (documentation/DIRECTOR-PROTOCOL.md). Live: on starts the listener, off stops it. A scene cannot set it. Off: nothing listens and nothing runs. Debug only. |
src/mc_engine/cinematic/director/director_runtime.cpp |
mcla_director_info |
string | "" |
- | toml / CLI | TRAILER TOOLKIT DIRECTOR: a file name; while the listener is up the game writes director.json there (port, token, pid, slot, scene) so a tool can find it, and removes it at exit. Empty: no file. Debug only. | src/mc_engine/cinematic/director/director_runtime.cpp |
mcla_director_panel |
bool | false |
- | debug menu: TOOLS > DIRECTOR PANEL; toml / CLI | TRAILER TOOLKIT DIRECTOR PANEL (debug): the Director's panel over the picture: a timeline with the scene's keys to drag, the free camera's keys by framing, rigs with sliders, cars to spawn and place, routes to record or drop and edit, the take's render button, and the routes and the camera's path drawn in the world. Every action is a command of the Director and a line of the scene file. Live; the key Ctrl+F12 (ui.bind.mcla_director) flips it. Needs mcla_director (the panel offers to switch it on). Debug only. | src/mc_engine/ui/director_panel.cpp |
mcla_director_root |
string | "" |
- | toml / CLI | TRAILER TOOLKIT DIRECTOR: the folder the Director's commands may write to (stills, takes, routes, proposals), as relative paths without '..'. A scene's own folder is always allowed too. Empty: the game's working folder. Debug only. | src/mc_engine/cinematic/director/director_runtime.cpp |
mcla_fixed_step_fps |
double | 0.0 |
0.0 to 1000.0 | debug menu: TOOLS > FIXED STEP; toml / CLI | TRAILER TOOLKIT: the game steps by exactly 1 / this many frames a second, whatever the frame takes (the engine timer is given the game's own tick count for it); the FPS limit, the step cap and frame pacing stand aside. No take, no frame gate. 0: off. 10 to 1000. Debug only. | src/mc_engine/cinematic/capture_mode.cpp |
mcla_freecam |
bool | false |
- | debug menu: TOOLS > TRAILER FREE CAMERA; toml / CLI | TRAILER TOOLKIT: the free camera. The pad flies the camera (left stick moves, right stick looks, triggers up and down, LB and RB tilt, D-pad zooms and sets the speed, a stick click is fast or slow) and the game gets no pad input but Start, so the car does not drive. Back + A records the flight, Back + X is home. Off: the game's own camera. Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_freecam_inertia |
double | 0.25 |
0.0 to 2.0 | toml / CLI | TRAILER TOOLKIT: how long the free camera takes to settle after the sticks move, in seconds (the turn and the tilt take half). 0: none. Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_freecam_log |
uint32 | 0 |
- | toml / CLI | TRAILER TOOLKIT: while the free camera flies, log its pose every this many frames ([fly] lines). 0: only the events. Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_freecam_look |
double | 70.0 |
5.0 to 360.0 | toml / CLI | TRAILER TOOLKIT: how fast the free camera turns at a full right stick, in degrees a second. Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_freecam_out |
string | "" |
- | toml / CLI | TRAILER TOOLKIT: the file the next free camera recording is written to (replaced when it exists). Empty: freecam\flight-<date>-<time>.cam.csv next to the game. Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_freecam_record |
bool | false |
- | debug menu: TOOLS > RECORD FLIGHT; toml / CLI | TRAILER TOOLKIT: record the free camera's flight into a raw track file (one sample a game update; ports\scripts\scene_cam.py turns it into a scene's camera track). On starts a file, off ends it. Back + A on the pad flips it. Only records while the free camera flies. Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_freecam_speed |
double | 12.0 |
0.5 to 500.0 | toml / CLI | TRAILER TOOLKIT: how fast the free camera flies at a full stick, in metres a second (L3 four times as fast, R3 a quarter, D-pad left and right step it). Debug only. | src/mc_engine/cinematic/freecam_runtime.cpp |
mcla_scene |
string | "" |
- | toml / CLI | TRAILER TOOLKIT: run the scene file at this path: a full path, or a name looked up next to the game and in its scenes folder (.scene may be left off). Hour, weather, traffic, time scale and settings follow the scene's timeline; the file is read again when it changes. Empty: off. Debug only. | src/mc_engine/cinematic/scene_runtime.cpp |
mcla_scene_restart |
int32 | 0 |
- | toml / CLI | TRAILER TOOLKIT: a change of this number runs the armed scene again from its start. Debug only. | src/mc_engine/cinematic/scene_runtime.cpp |
mcla_scene_seed |
int32 | 1 |
0 to 2147483647 | toml / CLI | TRAILER TOOLKIT repeatable scenes: while a scene runs, the game's random generators (simulation, cosmetic, car configuration) take a state from this seed and the scene's update number, and the renderer's noise (occlusion, contact shadows, sun shafts, shadow filter, upscaler jitter) follows the scene's update number. 0: off. Debug only. | src/mc_engine/cinematic/scene_seed.cpp |
mcla_scene_seed_each_frame |
bool | true |
- | toml / CLI | TRAILER TOOLKIT repeatable scenes: true gives the generators their state at every update of the scene, false once at its first update. Debug only. | src/mc_engine/cinematic/scene_seed.cpp |
mcla_scene_t |
double | -1.0 |
-1.0 to 86400.0 | toml / CLI | TRAILER TOOLKIT: 0 or more holds the scene's clock at this many seconds on every update (stills, scrubbing); -1 lets it run. Debug only. | src/mc_engine/cinematic/scene_runtime.cpp |
mcla_traffic_probe |
int32 | 0 |
0 to 36000 | toml / CLI | Debug, live, never saved: every this many updates, log the traffic cars (model, position, heading, speed, rail, LOD), the traffic and layout pools, the opponent and racer pools and the police patrols as [traffic-probe] lines. Reads only. 0 = off. |
src/mc_engine/hooks/traffic_probe.cpp |
mcla_traffic_probe_detail |
int32 | 1 |
0 to 2 | toml / CLI | Debug: how much of each traffic probe sample is logged: 0 the pools and the summary, 1 also the 20 nearest cars, 2 every car. | src/mc_engine/hooks/traffic_probe.cpp |
mcla_traffic_probe_spawn |
int32 | 0 |
0 to 1000000 | toml / CLI | Debug, live, never saved: a new non-zero value asks the game to place ONE real traffic car of mcla_traffic_probe_model, mcla_traffic_probe_ahead metres in front of the player, and logs what comes of it. Free roam only, at most three in a run. Scenes do the same with car <id> ambient. |
src/mc_engine/hooks/traffic_probe.cpp |
mcla_traffic_probe_model |
string | "" |
- | toml / CLI | Debug: the traffic car's model name for the spawn test (the probe logs the game's list). Empty = the first regular car type. | src/mc_engine/hooks/traffic_probe.cpp |
mcla_traffic_probe_ahead |
double | 25.0 |
5.0 to 100.0 | toml / CLI | Debug: how far in front of the player's car, in metres, the spawn test places the car. | src/mc_engine/hooks/traffic_probe.cpp |
mcla_state_log |
string | "" |
- | toml / CLI | TRAILER TOOLKIT: write one CSV row per game update (the player's and the scene's cars, the camera, the hour and weather, the clocks, the scene clock, the random number state) to this .csv file, or to state.csv in this folder, for take_diff.py. Rows are written while the player has a car. A scene's statelog on asks for the same. Empty: off. Debug only. |
src/mc_engine/cinematic/state_log.cpp |
LARecomp
Settings
Game Features
Mods
Content Modding
Development
Online
Server Hosting