openOMSI GitHub Discord

Docs / Reference / OMSI_* environment variables

A/B and kill switches

8 min readGenerated from the sourcedocs/DEBUG_FLAGS.md

Name Type Default Read Crates Description
OMSI_AI_MODEL_LOCK bool off use sim AI cars steer no further than their model's own steering lock (no 60 degree allowance for tight turns).
OMSI_AI_WAY_ONLY bool off use app, app-mx AI vehicles stand on their way with the plain ground sampler, as before (A/B).
OMSI_BASIC_PIPELINES bool off once guard, render, render-mx Use the reduced (basic) render pipelines, as after a driver failed to build the full ones.
OMSI_CROSSING_DEFORM bool off use scene, scene-mx Apply the crossings' ground deformation again (A/B; Omsi.exe does not).
OMSI_CUT_PLAIN bool off use scene, scene-mx Road-cut textures uploaded without GPU-made mipmaps.
OMSI_DEBUG_RAIL bool off use sim Log a rail vehicle's speed, the drive and brake the scripts ask for and the adhesion, twice a second.
OMSI_FIXED_SCALE bool off use app, app-mx Keep the render scale fixed (no dynamic resolution).
OMSI_FORCE_OPAQUE bool off use scene, scene-mx Draw transmap-masked materials opaque.
OMSI_FSR1 text off once render, render-mx Experimental FSR 1 spatial upscaling (EASU + RCAS) for scaled window views: 1, true or on enables it; off by default; requires restart.
OMSI_FSR_RAW_INPUT bool off use render, render-mx FSR 1 reads the scene through a view that is not sRGB: no square roots in EASU (not on OpenGL) - to measure.
OMSI_FULL_GPU bool off use render, render-mx Keep the requested settings on a small or shared graphics chip, and 8x MSAA with Enhanced+.
OMSI_GL_TEXTURE_UNITS bool off use render, render-mx Use the texture-unit layout of the OpenGL backend on any device.
OMSI_GPU_ARRAYS text - use render, render-mx textures, nostorage or lighttextures: take that texture array path on any device.
OMSI_GUARD_DEADLINE num 120 use guard The start guard: seconds the launcher may take to its first frames before its start counts as hung (it is then ended and the guard heals the installation).
OMSI_HEIGHTPROFILE_GROUND bool off once scene, scene-mx The wheels stand on the splines' [heightprofile]s again (A/B).
OMSI_HTML_ENGINE text classic use htmlpage modern runs every [htmltexture] page on the modern engine (flexbox, modern JavaScript) instead of only those that ask with ; for comparing the two.
OMSI_HTML_FALLBACK_FONT text - use htmlengine, htmlpage Font file for the html pages' characters Inter lacks (Hangul, CJK); else Malgun Gothic (Windows) or AppleGothic (macOS).
OMSI_HTML_FALLBACK_FONT_BOLD text - use htmlengine, htmlpage With OMSI_HTML_FALLBACK_FONT: its bold face.
OMSI_IGNORE_TRANSPORT bool off use app, app-mx Run a vehicle on a map built for other transport modes (the log still says so).
OMSI_INTEL_FULL_GPU bool off use render, render-mx Keep the requested settings on an Intel Vulkan adapter.
OMSI_KEEP_ALLOCATOR bool off use app, app-mx Skip the restart that swaps in the faster allocator at start.
OMSI_LAMP_SHADOWS_EVERY_FRAME bool off frame render, render-mx Redraw the street lamps' shadow tiles every frame (not only when they change).
OMSI_LIGHT_GRID_SQUARES bool off frame render, render-mx A light goes into every cell of the light grid's square round its range, the corners its range misses too (A/B).
OMSI_MAIN_SPLIT bool off frame render, render-mx Split the main pass's bundles in two (encoded apart, the second part loads what the first stored).
OMSI_MIRROR_ENHANCED bool off frame app, app-mx, render, render-mx Draw the mirrors with the enhanced shading again.
OMSI_MX text settings once app, app-mx mX Graphics for this run, over the mx_graphics setting: on (1, true) starts the game on mX, off (0, false) on wgpu.
OMSI_NOZCHECK_BIAS bool off use scene, scene-mx The old reading of [matl_noZcheck] (A/B).
OMSI_NO_ANIMPARENT bool off use sim Every mesh animated on its own, without [animparent] (A/B).
OMSI_NO_AO bool off frame render, render-mx No ambient occlusion pass.
OMSI_NO_AO_REACH bool off frame render, render-mx The depth prepass that only the ambient occlusion needs draws the far scenery too, past the occlusion's reach (A/B).
OMSI_NO_ATTACH_FALLBACK bool off use scene, scene-mx Drop attachments that have no fallback instead of placing them (A/B).
OMSI_NO_BC bool off use render, render-mx Upload all textures as RGBA instead of keeping BC compression.
OMSI_NO_BEAM_SHADOWS bool off use render, render-mx Enhanced: the headlamps' and street lamps' beams in fog, rain and snow are not cut by what stands in them (the old picture).
OMSI_NO_BEND_CACHE bool off use sim AI cars look for the bends ahead anew every step (A/B).
OMSI_NO_BOUNDS_CACHE bool off use render, render-mx No cache of instance bounds.
OMSI_NO_BRIDGE bool off use lan, net LAN: leave the internet alone - no rendezvous bridge, no tunnel (tests, LAN parties).
OMSI_NO_BUMP bool off use scene, scene-mx No bump maps.
OMSI_NO_BUNDLES bool off frame render, render-mx Record the main pass directly instead of from render bundles.
OMSI_NO_CABIN_SHADOWS bool off frame render, render-mx Enhanced: the lamps of the player's saloon cast no shadows (A/B).
OMSI_NO_CLOUDS bool off use app, app-mx No clouds.
OMSI_NO_CLOUD_SHADOW_FIELD bool off use render, render-mx Enhanced: the clouds' shadow is one number for the whole picture again, not a field over the land (A/B).
OMSI_NO_CORONAS bool off frame render, render-mx No light coronas.
OMSI_NO_CULL bool off once render, render-mx Draw every mesh from both sides (A/B).
OMSI_NO_DRAW_ORDER_DEPTH bool off once render, render-mx, scene, scene-mx An object's surfaces in one plane, and a spline laid on an earlier one at its height, without the draw order's depth step (A/B).
OMSI_NO_ENHANCED bool off frame render, render-mx Enhanced settings drawn with the plain path.
OMSI_NO_ENVMAP bool off use scene, scene-mx No environment maps.
OMSI_NO_FSR_MIP_BIAS bool off frame render, render-mx FSR 1 without its textures' mip bias (to compare).
OMSI_NO_FXAA bool off frame render, render-mx No FXAA.
OMSI_NO_GLARE bool off frame render, render-mx No sun glare.
OMSI_NO_GLASS_PICTURE bool off frame render, render-mx No picture behind the glass (rain films).
OMSI_NO_GROUND_PAINT bool off use scene, scene-mx No painted ground layers.
OMSI_NO_GROUND_PASS bool off frame render, render-mx The terrain's paint layers lit one by one again, not laid into one albedo picture first (A/B).
OMSI_NO_GROUND_SPLINE_BATCHING bool off use scene, scene-mx No batching of ground splines.
OMSI_NO_GUARD bool off use guard, launcher-api No start guard: a start that crashes or hangs is not healed by an update or by going back to the version before.
OMSI_NO_HARDWARE_ID bool off once lan LAN: the game sends no hardware identifier (a host can then turn the player away, and cannot ban the machine).
OMSI_NO_INTERP bool off once lan The old way without interpolation, for comparing.
OMSI_NO_LAMP_SIGHT bool off use render, render-mx Enhanced by night: every lamp near the line of sight dazzles, hidden or not.
OMSI_NO_LAN_MODS bool off use app, app-mx, lan, net LAN: do not exchange mods.
OMSI_NO_LAN_UPLOADS bool off use lan LAN: a game hosting a session takes no buses from the players who join.
OMSI_NO_LEAN bool off frame render-mx Enhanced main pass: draw every material with the full scene pipelines, not the lean ones of plain materials on a dry frame.
OMSI_NO_LIGHT_MAP bool off use scene, scene-mx No night light maps on the tiles (A/B).
OMSI_NO_MATERIAL_SPLINE_BATCHING bool off use scene, scene-mx No batching of splines by material.
OMSI_NO_MODEL_ORDER bool off use scene, scene-mx Draw the opaque parts of ordered models first again (A/B).
OMSI_NO_MSAA_PREPASS bool off frame render, render-mx No depth prepass with multisampling.
OMSI_NO_NAV_CULL bool off use navigator, navigator-mx The navigator draws all of its ground and houses every frame, not only what its camera sees (A/B).
OMSI_NO_OWN_VEHICLE_LAMP_BLOCK bool off frame render, render-mx Other vehicles' lamps light the player's vehicle inside and the street beyond it through its body again (A/B).
OMSI_NO_PBR bool off use scene, scene-mx No PBR materials.
OMSI_NO_PIPELINE_CACHE bool off use render Compile every pipeline at each start (no ~/.openomsi/cache/pipelines-*.bin).
OMSI_NO_PLUGINS bool off use app, app-mx, guard No plugins loaded.
OMSI_NO_POLL_THREAD bool off use render, render-mx No device poll thread.
OMSI_NO_POST_SPLIT bool off frame render, render-mx Finish the passes after the main pass in the main pass's own command buffer (A/B).
OMSI_NO_PRECIP_ROOF bool off frame render, render-mx Rain and snow fall through roofs (no roof map).
OMSI_NO_PRESENCE bool off use platform No presence ("playing now") service.
OMSI_NO_PUDDLE_GLASS_DEPTH bool off use render, render-mx Puddles without glass depth.
OMSI_NO_PUDDLE_REFLECTIONS bool off frame render, render-mx No puddle reflections.
OMSI_NO_PUDDLE_VEHICLE bool off use render, render-mx No vehicles in puddle reflections.
OMSI_NO_RAIN bool off frame render, render-mx No rainfall.
OMSI_NO_RENDER_POOL bool off use render, render-mx No encoding thread pool for rendering.
OMSI_NO_RT bool off use render, render-mx No ray queries (Enhanced+ draws as Enhanced).
OMSI_NO_RT_FRAME bool off frame render, render-mx Ray queries kept but nothing traced.
OMSI_NO_RT_GRADE bool off frame render, render-mx Enhanced+ without its colour grade.
OMSI_NO_SHADOWS bool off use render, render-mx No shadows.
OMSI_NO_SMOKE bool off frame render, render-mx No smoke.
OMSI_NO_SNOWFALL bool off frame render, render-mx No snowfall.
OMSI_NO_SPLINE_BATCHING bool off use scene, scene-mx No spline batching.
OMSI_NO_SPLINE_HOLES bool off use scene, scene-mx Keep the unfitted terrain mesh beneath aligned splines.
OMSI_NO_SPRAY bool off use app, app-mx No tyre spray.
OMSI_NO_SURF bool off once scene, scene-mx Every road as smooth as before (no surface texture) (A/B).
OMSI_NO_TEXCOMPRESS bool off use render, render-mx No runtime texture compression.
OMSI_NO_TEXTURE_CACHE bool off once texture Compress every texture at each start (no ~/.openomsi/cache/textures).
OMSI_NO_TUNNEL bool off use lan LAN: no tunnel.
OMSI_NO_UPDATE bool off use app, app-mx, launcher-api No update check.
OMSI_NO_VAR_SYNC bool off use lan LAN: no variable sync.
OMSI_NO_WHEEL_SLIP bool off use sim Every wheel grips, as before wheels turned on their own (A/B).
OMSI_OLD_WORLD_GRID bool off use map Maps with world coordinates take the one tile size of 371.9 m (comparison).
OMSI_REALISTIC_ROAD bool off use sim The setting "Realistic road physics" on for this run (A/B against the OMSI 2 model: slip-angle tyres, surfaces, road roughness, wind).
OMSI_REPAIR_BODY_DEPTH bool off use scene, scene-mx The old guess for [matl_alpha] 2 vehicle bodies (A/B).
OMSI_ROAD_CUT bool off once geometry Take the ground away under every road surface (Omsi.exe does not).
OMSI_ROAD_SNOW text settings use scene, scene-mx Built-up snow on the roads and roofs, whatever the road_snow setting says: off for the weather's on/off snow on road, a number 0..1 for the cover to start with.
OMSI_RT_REFL_HALF bool off use render, render-mx Trace reflections at half size.
OMSI_SERIAL_PIPELINES bool off use render, render-mx Compile the renderer's pipelines one after the other on one thread, as before (A/B).
OMSI_SHADOW_FAR_EVERY_FRAME bool off frame render, render-mx Redraw the far shadow map every frame.
OMSI_SHADOW_NEAR_EVERY_FRAME bool off frame render, render-mx Redraw the near shadow map every frame.
OMSI_SIM_THREAD text the setting use sim Window: the AI traffic's, the people's and the scenery scripts' steps on a thread of their own while the picture is drawn (one frame later): 0 / false / off / no: on the main thread, anything else: on their thread, over the sim_thread setting (off by default); the offscreen run ignores it.
OMSI_SKY_CUBE_EVERY_FRAME bool off frame render, render-mx Enhanced: redraw a slice of the sky cube every frame again, not at most 60 a second (A/B).
OMSI_TERRAIN_ALIGN bool off use scene, scene-mx Align the terrain to the splines again at load (A/B; Omsi.exe does not).
OMSI_TEXTURE_RAIN bool off use scene, scene-mx OMSI 2's own texture rain on the glass instead of the drops.
OMSI_TRACKIR_NATIVE text on use input 0 turns the native TrackIR interface off.
OMSI_TRAFFIC_ALL_GROUPS bool off use app, app-mx Let restricted AI groups (aircraft, depot fleets) drive everywhere.
OMSI_TYRE_SUSPENSION bool off once sim The old suspension with wheel mass, tyre and bump stops (A/B).

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

↑↓ to move↵ to open