command.ini definitions

Take command of air and naval assets from post-WW2 to the near future in tactical and operational scale, complete with historical and hypothetical scenarios and an integrated scenario editor.

Moderator: MOD_Command

Post Reply
thewood1
Posts: 10438
Joined: Sun Nov 27, 2005 6:24 pm
Location: Boston

command.ini definitions

Post by thewood1 »

Ran a few iterative Gemini prompts on commad.ini. I have seen the ini file grow over the years and lost track of all the entries. This is what I got back plus made a few adjustments and clarifications. Might be good to add to the manual:

Here is a complete breakdown of every line and section in your Command.ini file.

[General]

• DefaultDB = 1: Sets which database loads by default when creating a new scenario (1 = DB3000 modern database; 2 = CWDB Cold War database).

[Game Preferences]


Simulation, Performance & Debugging

• UseAutosave = False: Disables automatic background scenario saves during gameplay.
• RunCoreMultithreaded = False: Runs the core simulation loop on a single thread rather than spreading it across multiple CPU threads (often kept False for stability or predictable timing).
• ShowDiagnostics = True: Displays performance metrics (such as pulse time, frame rate, and CPU load) on the top menu bar or status area.
• AllowPowerPlanSwitch = False: Prevents CMO from automatically switching your Windows power plan to "High Performance" while running.
• AggressiveTileManagement = False: Controls whether map tiles are aggressively unloaded from RAM/VRAM when out of view to save memory.
• LogDebugInfoToFile = True: Writes engine diagnostic and error logs to disk for troubleshooting crashes or bugs.
• DetectStuckUnitPulses = False: Monitors whether a specific unit's AI calculation is taking too long and freezing the simulation pulse.
• StuckUnitPulseThresholdMilliseconds = 5000: Sets the time limit (5,000 ms / 5 seconds) before a unit calculation is flagged as "stuck."
• PauseOnDetectedStuckUnitPulse = True: Automatically pauses the game if a stuck unit pulse is detected.
• SaveScenarioCopyOnDetectedStuckUnitPulse = True: Automatically saves a backup .scen file when a stuck unit pulse occurs so you can report or inspect it.

Audio & UI Layout

• MessageLogInWindow = False: Keeps the Message Log docked inside the main screen rather than popping it out into a separate window.
• MessageLogCanvas = True: Uses the modern hardware-accelerated canvas renderer for the Message Log instead of legacy text boxes.
• GameSounds = False: Mutes in-game sound effects (explosions, radar pings, UI clicks).
• SFXVolume = 75: Sets sound effects volume to 75% (when enabled).
• GameMusic = False: Mutes background music.
• MusicVolume = 5: Sets background music volume to 5% (when enabled).
• StartFullScreen = False: Launches the game in windowed or borderless-windowed mode rather than exclusive fullscreen.
• ShowProBanner = False: Hides the Commercial/Professional Edition banner.
• ShowGameSpeedButton = False: Hides the quick time-compression toggle button on the UI bar.
• ColorDataBlocks = False: Keeps unit data blocks monochrome instead of coloring them by posture/side.
• DedupAlliedMessages = True: Suppresses duplicate log messages when multiple allied units detect or report the exact same event.
• UseDarkThemeOnLuaConsoles = False: Keeps the Lua script console in the standard light theme.
• PauseOnDBView = 1: Automatically pauses the simulation when you open the Database Viewer (1 = Enabled).
• PauseOnAirDockOps = 1: Automatically pauses the simulation when you open the Air Ops or Boat/Dock Ops windows (1 = Enabled).
• AllowInGameDownloads = True: Allows the game to check for and download official updates, map layers, or database files directly.
• TacviewExePath = ...: Stores the file path to your Tacview executable for 3D replay exports.
• RecentlyOpened = ...: A pipe-separated (|) list of the last 10 scenarios or save files you opened.

Units, Measurements & Map Symbols

• ShowAltitudeInFeet = True: Displays aircraft/missile altitudes in feet instead of meters.
• ShowUSUnitsInEditCargo = False: Displays cargo weights and dimensions in metric units rather than US imperial units in the Cargo Editor.
• GroundUnitsSpeedUnit = 1: Sets how ground unit speeds are displayed (0 = knots, 1 = km/h or mph depending on unit system).
• GeoCoordinateType = 4: Sets the coordinate format shown on the cursor/map (e.g., Decimal Degrees, Degrees Minutes Seconds, or MGRS).
• MapSymbolsSet = 0: Selects the unit icon style (0 = Stylized/NTDS icons; 1 = NATO APP-6 symbols).
• MapCursorBox = 1: Controls the floating databox next to your mouse cursor (0 = Off, 1 = On/Standard, 2 = Minimal).
• UnitStatusImage = True: Shows the small silhouette/photo preview of the selected unit in the right-hand sidebar.
• ShowAU_Behaviour_Bark = 1: Displays short floating text "barks" above units indicating what their AI is currently doing (e.g., "Engaging," "Evading," "RTB").
• ShowGhostedGroupMembers = 1: Shows individual units inside a collapsed group as semi-transparent icons around the group lead.
• SonobuoyVisibility = 0: Controls sonobuoy icon display (0 = Normal, 1 = Ghosted, 2 = Hidden).
• RefPointVisibility = 1: Controls reference point visibility (0 = Normal, 1 = Ghosted/Dimmed, 2 = Hidden).

Map Navigation, Zoom & Overlays

• ZoomOnCursor = True: Zooms the map toward your mouse cursor position when scrolling the wheel rather than the screen center.
• ResetZoomAtStartup = False: Remembers your last camera position and zoom level instead of resetting to a default global view on launch.
• AllowSmartRPPlacement = True: Automatically snaps or assists reference point placement around selected units or areas.
• RMB_MoveOrder_Sensivity = False: Disables sensitive right-click quick-move orders (requiring standard F3 course plotting).
• NavigationMaxDistanceNMSetting = 8 & NavigationThresholdDistanceDegSetting = 0.5: Controls pathfinding waypoint spacing and coastal/terrain avoidance thresholds in nautical miles and degrees.
• ShowPlottedPaths = 1: Displays plotted movement courses for units (0 = None, 1 = Selected unit, 2 = All units).
• ShowFlightPlans_Airborne = 1: Shows active flight paths for airborne aircraft (1 = Selected, 2 = All).
• ShowFlightPlans_Planned = 3: Controls visibility of pre-planned mission flight paths before takeoff.
• ShowMissionArea = 1: Draws boundary boxes/polygons for patrol, strike, or support mission zones (1 = Selected mission, 2 = All missions).
• ShowWakeCavitation = 1: Renders wake trails behind moving ships and surfaced submarines.
• ShowContrails = 1: Renders condensation trails behind high-altitude aircraft.
• OnlyShowAvailableLoadouts = False: Shows all database loadouts in the Air Ops screen, even if the base lacks the required munitions in its magazines.
• SalvoTimeout = True: Displays countdown timers for weapon salvos currently in flight or queued.
• ShowAutomaticFireInfo = True: Shows targeting lines and range rings when units automatically engage targets under Weapons Free doctrine.
• DrawOutlines = True: Draws crisp borders around map polygons, borders, and range rings.
• UsePersonalMapProfile = True & PersonalMapProfile = EAAAA...: Saves your exact active map layer configuration (BMNG, Relief, Borders, Placenames, etc.) as a Base64-encoded string so your map looks identical next time you launch.

3D Altitude Rendering & Zoom Thresholds

• AltitudeRender_UnitsAtAltitude = True: Visually offsets airborne units above their ground shadow based on altitude when tilting the camera.
• AltitudeRender_Show3DTerrain = True: Enables 3D terrain elevation relief on the globe.
• AltitudeRender_VerticalScaling = 4: Multiplies terrain elevation height by 4x to make mountains and valleys easier to see visually.
• AltitudeRender_ShowSubsurfaceUnitsAtSurface = False: Renders submarines at their actual underwater depth rather than snapping them to the sea surface.
• AltitudeRender_ShowGroundUnitsAtSurface = False: Renders ground units at terrain elevation.
• AltitudeRender_UseGroundInsteadOfSurfaceAsRenderReference = True: Calculates visual altitude offset relative to the terrain underneath the unit rather than sea level.
• GroundUnitZoom = 30, DiamondZoom = 30, FlowerZoom = 30, IconZoom = 20, RectangleZoom = 30: Camera altitude thresholds (in km/nm) at which unit icons dynamically switch between detailed silhouettes, diamonds, rectangles, or grouped "flower" clusters to prevent screen clutter.

Slug Trails (Unit History Breadcrumbs)

• SlugTrail_Use = False: Master switch for breadcrumb trails showing where units have recently traveled.
• SlugTrailTimeFrequency = 0: How often a breadcrumb dot is dropped (0 = disabled/default).
• SlugTrail_LifeTime = 180: How long (in seconds) breadcrumb dots remain visible before fading.
• SlugTrail_Friendly / Hostile / Neutral / OwnAndAllied / Unfriendly / UnKnown = False: Individual toggles enabling or disabling trails for each posture type.

[MessageLog Preferences]

Each line corresponds to a category of game event (e.g., AirOps, NewContact, WeaponEndgame, UnitLost) followed by four flags separated by pipes (Flag1|Flag2|Flag3|Flag4).
• -1 vs 0: -1 represents True (Enabled) and 0 represents False (Disabled) in Windows/VB-style boolean formatting.
• What the 4 columns represent:
1. Show in Message Log (-1 = Yes, 0 = No)
2. Pop up alert window (-1 = Yes, 0 = No — e.g., CustomUI = 0|-1|0|0 means it pops up a window without cluttering the log)
3. Pause game on event (-1 = Yes, 0 = No)
4. Play alert sound (-1 = Yes, 0 = No)

[Secondary Window Settings]

Every line in this section stores the saved screen position and dimensions for a specific in-game dialog box in the format X | Y | Width | Height (in pixels).
• For example, AirOps = 444|380|1306|610 means the Air Ops window opens 444 pixels from the left edge of your monitor, 380 pixels from the top, at a size of 1306x610 pixels.
• Deleting any line in this section simply resets that specific pop-up window back to its default size and center-screen position.

[ContactExpire]

Sets how long (in simulation seconds) an un-updated contact remains displayed on your tactical map as an "aged/uncertain" contact before fading away completely:
• Air = 300: 5 minutes
• Missile = 300: 5 minutes
• Orbital = 300: 5 minutes
• Torpedo = 600: 10 minutes
• Surface = 7200: 2 hours
• Mobile = 7200: 2 hours (ground vehicles/SAMs)
• Submarine = 21600: 6 hours
• AGU = 604800: 7 days (Aimpoint / Ground Unit fixed facilities)
If you are looking to tweak performance or change how your map behaves (such as adjusting contact expiration timers, enabling slug trails, or fixing stuttering in your 2026 Taiwan Strait scenario), let me know what you'd like to optimize and I can suggest the best values to change.
Knightpawn
Posts: 791
Joined: Mon Dec 02, 2024 12:28 pm

Re: command.ini definitions

Post by Knightpawn »

thanks. This is useful
Mark352
Posts: 111
Joined: Thu Jul 25, 2024 2:35 pm

Re: command.ini definitions

Post by Mark352 »

This is very useful. Thanks!
Post Reply

Return to “Command: Modern Operations series”