openOMSI GitHub Discord

Docs / Reference / OMSI_* environment variables

Tuning

2 min readGenerated from the sourcedocs/DEBUG_FLAGS.md

Name Type Default Read Crates Description
OMSI_CHARACTER_MODELS text settings use app, app-mx Override the character models for a game session: original (OMSI's people) or improved (the Microsoft Rocketbox avatars, drawn on this computer only).
OMSI_ENHANCED bool settings use app, app-mx Enhanced graphics for this run.
OMSI_ENHANCED_PLUS bool settings use app, app-mx Enhanced+ (ray traced) graphics for this run.
OMSI_FOOT_RUN num 3.8 use app, app-mx On foot: the pace of a run (Shift) in m/s.
OMSI_FOOT_WALK num 1.4 use app, app-mx On foot: the walking pace in m/s.
OMSI_GRAPHICS text settings use app, app-mx vanilla, vanilla_plus or enhanced: another renderer for one run.
OMSI_IBIS_BUDGET num 10 use sim Seconds the IBIS typist may take per entry.
OMSI_LAN_JOIN_TIMEOUT num default use net LAN: seconds to wait when joining a game.
OMSI_MAX_FPS num settings use app, app-mx Frame rate limit for this run.
OMSI_METER text - use render, render-mx gain,target,dark,bright,bias,night: the exposure metering.
OMSI_MIRROR_HUD num settings use app, app-mx Mirror HUD mode (number).
OMSI_OPENXR bool off use app, app-mx Start in OpenXR (VR) mode.
OMSI_OPENXR_MIRROR_RATE num settings use app, app-mx, xr, xr-mx VR: mirror redraw rate (negative: every mirror each frame).
OMSI_OPENXR_SCALE num settings use render, render-mx VR: render scale of the eyes.
OMSI_PARKED_PULL_OUT num 0.035 use app, app-mx Chance per step a parked car pulls out.
OMSI_PARK_IN num 0.04 use app, app-mx Chance per step a car parks.
OMSI_PAX_ANIMATION text settings use app, app-mx Override the passenger animation for a game session: original (OMSI) or enhanced (procedural IK).
OMSI_PRESENT_MODE text auto use render, render-mx How frames reach the screen: fifo (vsync), fifo_relaxed, mailbox, immediate or auto. Vsync is auto (AutoVsync); a mode the surface lacks falls back to auto.
OMSI_PUDDLE_F0 num 0.08 use render, render-mx Puddle reflectance at normal incidence (0.02 to 0.2).
OMSI_PUDDLE_THICKNESS num 0.12 use render, render-mx Puddle water film thickness.
OMSI_RUNNER_CHANCE num 0.05 use sim Chance a late passenger runs for a bus standing at a stop (0: never, 1: every bus).
OMSI_STORM text - use render, render-mx activity[,azimuth]: a thunderstorm of this activity (0..1) over the place whatever the weather; with an azimuth (degrees, 0 east, 90 north) the flash stands frozen there at its first stroke (for checks).
OMSI_SURFACE_BIAS num -24 use render, render-mx Depth bias of road surfaces.
OMSI_SURFACE_FLUSH num 0.12 once sim Height in metres under which a surface counts as flush with the road.
OMSI_TEXTURE_MEMORY num settings use app, app-mx Texture budget in MB.
OMSI_TONE_CONTRAST text 1 once render, render-mx day[,night]: tone mapping contrast.
OMSI_VIDEO_MEMORY num settings use app, app-mx What the game may hold on the graphics card all together (textures, meshes, render targets), in MB.
OMSI_WIDE_AO text - use render, render-mx reach,strength,gain,max: the street-scale occlusion of the sky and the bounced light (m, 0..1, 0..1, radiance).
OMSI_WINDY_TREES text settings use app, app-mx 0 or 1: trees in the wind off or on (A/B renders).

Something wrong or missing? Fix it on GitHub or open an issue.

↑↓ to move↵ to open