JoyPro2 Discord GitHub
Engine (CLI)

engine il2cod (IL-2 Sturmovik: Cliffs of Dover)

Show:

6 commands of engine il2cod. Each with every option and every value it takes, what it does, which GUI buttons use it, and an example.

#engine il2cod paths

written
engine il2cod paths
For beginners

Shows where JoyPro finds the binds of the original IL-2 Sturmovik: Cliffs of Dover on this PC: %USERPROFILE%\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\confUser.ini. Detect in the import wizard's Expert import section runs it.

engine il2cod paths --text
Advanced
  • No options. Listed: your own config location of engine games config set first, then confUser.ini and the one of the pre-Blitz mod folder ...\il-2 sturmovik cliffs of dover - MOD\confUser.ini, each when it exists.
  • Read-only; also works when the game is not installed or switched off.
Technical internals
  • Output: JSON (Game, DisplayName, ConfigPaths, Warnings), or with --text IL-2 Sturmovik: Cliffs of Dover Config Paths, Paths: <n> and the files. Exit code 0; an unknown option fails with Unknown IL2CoD paths argument(s): ....
  • Related: engine il2cod scan, engine il2codblitz paths; game page il2-cliffs-of-dover.

What it does Lists where JoyPro looks for this game's controls on this machine: files, folders or registry keys (your config location from games config set first). A file the game has not written yet can be listed (e.g. Arma Reforger's JoyPro.conf, Project Wingman's Input.ini).

Example

engine il2cod paths --text

#engine il2cod catalog

written
engine il2cod catalog
For beginners

Lists the Cliffs of Dover commands JoyPro knows: the game's command names per section (pilotMove.aileron, ...), with axis or button and category.

engine il2cod catalog --text
Advanced
  • No options; read-only, also when the game is not installed.
  • Same sections and categories as Blitz (Axes, Aircraft, Common, Gunner, Views, Time, Orders, Game, Vehicle), in a list of its own.
  • A fresh install has no list yet; the first scan, import, export or engine il2cod refresh-db builds it. Until then the command lists no action and warns IL-2 Sturmovik: Cliffs of Dover action catalog not found: <path>.
Technical internals

What it does Lists every action of JoyPro's command list of this game with its kind and category: <data>\GameData\DB\<Game>\actions.tsv, else the program folder's DB\<Game>.

Example

engine il2cod catalog --text

#engine il2cod scan

written
engine il2cod scan [<config-path>] [--path <config-path>] [--ignore-device <name>] [--ignore-devices <csv>]
For beginners

Shows the binds of the original Cliffs of Dover in confUser.ini, joystick and keyboard, with chords as modifiers, without changing your profile or the game. Look first in the import wizard runs it.

engine il2cod scan --text
Advanced
  • Reads the [HotKey <section>] lines of the first file engine il2cod paths lists, or of the file given (positional or --path).
  • The original names devices Joystick, Joystick1, Joystick2 ... in DirectInput order: each name is shown on the connected device at that position.
  • Keys are listed without --include-keyboard; axis settings are read but not listed; a command that is not in the list yet gets a warning naming engine il2cod refresh-db.
  • --ignore-device <name> / --ignore-devices <a;b> leave the binds of those devices out.
  • Safety: reads only, also while the game runs; a fresh install first builds and saves the command list. Refused when the game is not installed or switched off in Settings > Games.
Technical internals
  • Output: JSON (Game, Action scan, ConfigPath, BindingsRead, Bindings, Steps, Warnings, Errors), or a text report with --text.
  • Exit code 0; 1 on an error (no config file found). Unknown options fail with Unknown IL2CoD scan argument(s): ....
  • Related: engine il2cod import, engine il2codblitz scan; game page il2-cliffs-of-dover.

What it does Reads the game's controls (its control file or folder, or registry values for Nuclear Option and Tiny Combat Arena; Ace Combat 8 stores none) and shows the joystick binds, without changing the profile. Without a command list yet (fresh install) it first builds the list from the game and saves it.

OptionValuesMeaning
--path<config-path>Optional explicit path override. Use when you prefer option form over positional path.
--ignore-device<name>Leave the binds of this device out (one per flag; a name without {GUID} means every device of that name). Example: --ignore-device 'vJoy Device'.
--ignore-devices<csv>Leave the binds of these devices out (separated by commas, | or ;). Example: --ignore-devices 'vJoy Device,Old Pedals'.

In the game Reads IL-2 Sturmovik: Cliffs of Dover's files only; nothing changes in the game. A scan only shows what an import would bring and does not change the profile. IL-2 Sturmovik: Cliffs of Dover details · what each mode changes

Example

engine il2cod scan --text
How the options interact
  • --ignore-device / --ignore-devices leave the binds of those devices out of the scan or import (the result names how many).

#engine il2cod import

written
engine il2cod import [<config-path>] [--path <config-path>] [--replace] [--include-keyboard] [--ignore-device <name>] [--ignore-devices <csv>]

--ignore-device(s): the binds of these devices are left out

For beginners

Reads the binds of the original IL-2 Sturmovik: Cliffs of Dover from confUser.ini into your JoyPro profile, with chords as modifiers and the axis settings of each command. Nothing in the game changes. The GUI runs it with Import on the Cliffs of Dover card of the Start page.

engine il2cod import --profile "C:\Users\Pilot\Documents\JoyPro\My Sticks.pr0file" --text
Advanced

It reads %USERPROFILE%\Documents\1C SoftClub\il-2 sturmovik cliffs of dover\confUser.ini; the pre-Blitz mod folder ...\il-2 sturmovik cliffs of dover - MOD\confUser.ini is listed too.

  • Default: adds to the open profile (--merge means the same); --replace replaces every relation of the profile by what the file has.
  • --include-keyboard also reads the keys; chords become JoyPro modifiers.
  • The original names devices Joystick, Joystick1, Joystick2 ... in DirectInput order (up to 8): JoyPro maps each name to the connected device at that position.
  • Safety: reads only, not refused while the game runs; the profile is kept as "Before import from IL-2 Sturmovik: Cliffs of Dover" first.
  • --ignore-device <name> / --ignore-devices <a;b> leave the binds of those devices out (a name without {GUID} means every device of that name); a step line says how many binds were left out.
Technical internals
  • Output: JSON of the import result or a text report with --text; exit code 1 on an error (no config file found).
  • Without a path it reads the first file of engine il2cod paths; a fresh install builds the command list first.
  • With --profile the profile is saved afterwards. The imported inputs are recorded as JoyPro's in confUser.ini.joypro.json, and a game JoyPro never exported to is watched from now on.
  • Related: engine il2cod scan, engine il2cod export, engine il2codblitz import; game page il2-cliffs-of-dover.

What it does Imports the game's joystick binds into the loaded profile (merged by default; --replace starts from an empty relation list). Without a command list yet it first builds the list from the game.

OptionValuesMeaning
--path<config-path>Optional explicit path override. Use when you prefer option form over positional path.
--replaceswitch (no value)For game import: start from an empty relation list instead of merging into the loaded profile.
--include-keyboardswitch (no value)
--ignore-device<name>Leave the binds of this device out (one per flag; a name without {GUID} means every device of that name). Example: --ignore-device 'vJoy Device'.
--ignore-devices<csv>Leave the binds of these devices out (separated by commas, | or ;). Example: --ignore-devices 'vJoy Device,Old Pedals'.

In the game Reads IL-2 Sturmovik: Cliffs of Dover's files only; nothing changes in the game. The binds come into the profile as relations; JoyPro's own data next to the game file brings back names, groups, modifiers and curves. IL-2 Sturmovik: Cliffs of Dover details · what each mode changes

Example

engine --profile 'C:\JoyPro\profiles\pilot_main.pr0file' il2cod import --text
How the options interact
  • --ignore-device / --ignore-devices leave the binds of those devices out of the scan or import (the result names how many).

#engine il2cod export

written
engine il2cod export [<config-path>] [--path <config-path>] [--mode clean|add|merge|merge-overwrite] [--dry-run] [--include-keyboard] [--nuke-untouched-devices] [--ignore-device <name>] [--ignore-devices <csv>]

Flight only: clean takes over the devices it writes, nuke clears unused devices; --ignore-device(s) and --vjoy-tunnel devices are never cleared

For beginners

Writes your binds into the flight sections of confUser.ini of the original IL-2 Sturmovik: Cliffs of Dover. Close the game first. The GUI's Export now on the Cliffs of Dover card runs it.

engine il2cod export --mode merge --profile "C:\Users\Pilot\Documents\JoyPro\My Sticks.pr0file" --text
Advanced

It edits Documents\1C SoftClub\il-2 sturmovik cliffs of dover\confUser.ini with the original's device names (Joystick, Joystick1 ...); Blitz uses the same file with its own names (engine il2codblitz export).

--mode In the game
add nothing is removed; a bind on a taken input is listed, not written
merge your binds go in; a game bind on an input you give another command is removed, the rest stays
merge-overwrite (engine default) as merge, and every command you bind loses its other inputs (keyboard only with --include-keyboard)
clean (GUI default) the devices you write keep only your binds in the managed sections
  • --nuke-untouched-devices: the other connected devices lose their lines in the managed sections (not with add).
  • The original reads the first 8 game controllers; a device further down is refused.
  • Never touched: [HotKey vehicle], mouse lines, keyboard lines without --include-keyboard, devices that are not connected, unknown sections, --ignore-device(s), the --vjoy-tunnel device.
  • Safety: refused while the game's own Launcher runs (another program with that name does not count); backed up first (undo: engine backups list); the profile is kept as "Before export to IL-2 Sturmovik: Cliffs of Dover". --dry-run writes nothing.
Technical internals

What it does Writes the profile's binds for this game. Only the flight actions JoyPro manages are changed, the game must be closed, and the game's files are backed up first (engine backups). Without a command list yet it first builds the list from the game.

OptionValuesMeaning
--path<config-path>Optional explicit path override. Use when you prefer option form over positional path.
--modeclean add merge merge-overwriteExport mode for DCS/IL2 export commands: clean, add, merge, merge-overwrite.
--dry-runswitch (no value)Report what the export would write; the game's files are not changed.
--include-keyboardswitch (no value)
--nuke-untouched-devicesswitch (no value)DCS export only: delete untouched device .diff.lua/.jp files under Config\\Input (true/false).
--ignore-device<name>Exclude one device per flag. Example: --ignore-device Keyboard.
--ignore-devices<csv>Exclude devices, separated by commas, | or ;. Example: --ignore-devices Keyboard,Mouse.
Every value as a command line
engine il2cod export --mode clean
engine il2cod export --mode add
engine il2cod export --mode merge
engine il2cod export --mode merge-overwrite

In the game Writes into IL-2 Sturmovik: Cliffs of Dover's control files while the game is closed (refused while it runs), after a backup. Combat flight sims and combat flight games that read several joysticks. Bind file: Documents\1C SoftClub\il-2 sturmovik cliffs of dover\confUser.ini (ini; devices Joystick, Joystick1 ...). IL-2 Sturmovik: Cliffs of Dover details · what each mode changes

Example

engine --profile 'C:\JoyPro\profiles\pilot_main.pr0file' il2cod export --dry-run --text engine --profile 'C:\JoyPro\profiles\pilot_main.pr0file' il2cod export --mode merge-overwrite --text

#engine il2cod refresh-db

written
engine il2cod refresh-db [<source-path>] [--path <source-path>] [--dry-run]

Reads the installed game or <source-path> and adds its new actions to the catalog, the known ones stay; writes it only when it changes

For beginners

Adds new Cliffs of Dover commands to JoyPro's command list: JoyPro's own list of the game's commands, then every command found in your confUser.ini and the game's default binds. Update on the Cliffs of Dover card of the Start page runs it.

engine il2cod refresh-db --text
Advanced
  • Rows the list already has stay; nothing is removed. Read without a path: the files of engine il2cod paths (the mod folder's too) and confUser.ini in the installation folder.
  • A path (positional or --path) reads only that file, or confUser.ini in that folder.
  • Command names with blanks are skipped. --dry-run writes nothing; otherwise the list is written only when it changed.
  • Refused when the game is not installed or switched off in Settings > Games; the game may run.
Technical internals

What it does Reads the installed game or <source-path> and adds its new actions to the catalog, the known ones stay; writes it only when it changes.

OptionValuesMeaning
--path<source-path>Same as <source-path>: the game's installation or a file of the game to read the actions from.
--dry-runswitch (no value)Report what the command would do; nothing is written or changed.

Example

engine il2cod refresh-db --text