Skip to content

About

A user-friendly launcher for Falcon BMS that simplifies aircraft control setup, including HOTAS and device configuration, and keyboard assignments.

Resources

Stars

2 stars

Watchers

1 watching

Forks

 
 

Latest commit

 

History

274 Commits

Folders and files

Repository files navigation

Falcon BMS Launcher

Falcon BMS Launcher v3 has been designed from the ground up to make it easier to set up and customize your controls, all while retaining your existing assignments as Falcon BMS adds or changes controls.

Main tab

This Launcher is compatible with both Windows and Linux.

Contents

Getting Started

Launcher v3 is included with Falcon BMS versions 4.38.2 and newer.

After installing Falcon BMS 4.38.2, a shortcut to the Launcher will be added to your desktop.

You can also run the Launcher by opening your Falcon BMS installation folder, going to the ‘Launcher’ folder, and double-clicking ‘FalconBMS.Launcher.exe’.

Check for Updates

The Launcher allows you to check for updates for your installed versions of Falcon BMS.

To check for updates, select the version of Falcon BMS you want to update from the 'BMS Version' dropdown, then click "Check for Updates".

The Launcher will close while the BMS Updater checks for and installs any updates.

Whether an update is found or not, you must manually reopen the Launcher after the update check is complete.

Note: This new Launcher is only compatible with Falcon BMS versions 4.38 and newer.

First Run on a New Falcon BMS 4.38 Install

When running Launcher v3 for the first time on a new Falcon BMS installation, the Launcher will start normally and allow you to begin setting up your controls.

First Run After Updating From an Older Version of Falcon BMS 4.38

Launcher v3 uses a new control file system that is not compatible with older versions of the Launcher.

After updating from an older version of Falcon BMS, Launcher v3 will check for existing Launcher v2 KEY and XML control files. If found, it will automatically perform a one-time conversion into the new Launcher v3 format.

A backup of your older Launcher v2 files will automatically be created in: User\Config\Launcher-Backups.

When the conversion is complete, the Launcher will start normally and allow you to continue setting up your controls.

Import Success

If any mappings could not be converted, a message will show which controls couldn't be imported.

Note: Manually modifying the KEY or XML files will cause the Launcher to become out-of-sync with changes you've made.

After BMS Updates

Following future Falcon BMS updates, this new Launcher checks your existing keyboard and device assignments against the controls available in the updated BMS version.

If any controls are no longer supported, the Launcher will:

  • Create a backup of your existing control files
  • Remove obsolete assignments
  • Display a message identifying which assignments were removed

Backups are saved in User\Config\Launcher-Backups.

Assigning Controls

The Launcher comes with a few pre-configured setups for popular devices, but you can add and customize keys, buttons, and axes by clicking on the 'Controls' tab near the top right of the Launcher window.

Controls tab

The Controls tab is divided into three panels:

  • Top Panel: Select aircraft profiles, import/export control settings, and view the last detected input.
  • Filtering Panel: Filter the Mapping table by text, category, or both to quickly find specific controls. Use the Clear button to reset your filters.
  • Mapping Panel: View and modify keyboard, DirectX button, and POV assignments.

Pressing a keyboard key or device button will highlight its assigned control in the Mapping table.

Mapping a Key or Button

To assign a key or button to a control, double-click a row in the Mapping table.

Key Mapping Window

When the popup window appears, simply press a key or button to assign it to this mapping, then click the 'Save' button.

If the key or button is already used elsewhere, a warning message will display. You can still reassign the input by clicking the 'Save' button.

For DX inputs, each assigned button is displayed on its own row, along with its Shift and Trigger settings.

  • You can assign the Shift or Trigger state before or after pressing a button
  • Click the "X" button on a row to unassign only that input

Mapping an Axis

All axis rows can easily be found in the Mapping table by selecting "ALL AXES" in the Category panel.

To map an axis, double-click an axis row in the Mapping table. A popup window will appear for that control.

Single Axis Mapping Window

When an axis is not mapped, the popup will ‘listen’ for movement.

To assign an axis, move the control through its range of motion until the Launcher detects it.

There are options to tune each axis:

  • Checking ‘Invert’ reverses the axis direction, so the control moves in the opposite direction in-game.
  • Increasing Saturation makes smaller physical movements produce larger movements in-game.

Mapping a Throttle

Double-clicking ‘TQS: Throttle’ in the Mapping table opens a special throttle-specific window.

Throttle Mapping Window

Afterburner position
Once the throttle axis is mapped, move your throttle to the position where you want afterburner to ignite, then click the 'Set Afterburner' button.

A green line will appear on the live axis bar. As you push the throttle forward, the blue bar will move to the right. When it crosses the green line, your engine(s) will go into afterburner in-game.

Idle cutoff
Idle cutoff is used to shut down your engine(s). Unless your throttle has a physical idle cutoff position, it is recommended that you do not set a cutoff position. To set the cutoff point, pull your throttle back to its cutoff position, then click the ‘Set Idle Cutoff’ button.

A red line will appear on the live axis bar. When the blue bar moves to the left of the red line, your engine(s) will shut down in-game.

Note
For aircraft with multiple engines, the Afterburner and Idle Cutoff positions for all engines are set using ‘TQS: Throttle’ mapping.

‘TQS: Throttle Right’ uses the same Afterburner and Idle Cutoff positions set in ‘TQS: Throttle’.

Mapping the Stick and Cursor (Ministick)

Double-clicking ‘STICK: Pitch & Roll’ or ‘TQS: Cursor X & Y’ opens a special dual-axis window. This makes it easier to configure controls that move along two axes, such as a stick for pitch and roll or a ministick for cursor movement.

Stick Mapping Window

Each axis is mapped separately. To map an axis:

  • Click the appropriate ‘Map’ button in the right panel
  • A shaded bar will appear in the left panel showing which direction to move your device through its range of motion

There are additional options to tune each axis. The left panel displays both the actual physical position of your device (circle) and the in-game position (+), allowing you to see the effects of your adjustments:

Deadzone
Defines an area around the center of the axis where small movements are ignored. This is useful if your control has slight movement or jitter near its center position.

Saturation
Makes smaller physical movements produce larger movements in-game.

Curve
Reduces in-game movement near the center of the axis, while increasing movement toward the edges of the device’s range.

Center
Recenters your stick or ministick if it is not centered.

Logging

The Launcher outputs a diagnostic log to:

  • User\Config\Launcher_Log.txt

The log records activity from the last five Launcher sessions. Each new session is added to the log, with older sessions removed automatically.

If you encounter any issues with the Launcher, including this log file when reporting the problem can help identify the cause and make troubleshooting easier.


Developer Details

Dependencies (NuGet)

This project uses the following NuGet packages:

  • Vortice.DirectInput
    For DirectInput device detection and buffered keyboard, button, POV, and axis input.

    • Important: Must remain on 2.4.2 for Net48 compatibility
  • System.ServiceModel.Syndication
    For RSS feed handling in the Launcher UI.

  • System.Net.Http
    For RSS feed usage in .NET 4.8

  • System.Text.Json
    For reading and writing JSON binding files while correcting small formatting issues such as trailing commas and comments


Architecture Overview

Current JSON Binding Files

The Launcher generates aircraft-specific JSON files within the selected install's User\Config\JSON folder.

Current keyboard JSON files:

  • KeyboardBindings_F-16.json
  • KeyboardBindings_F-15ABCD.json

Current device JSON files:

  • DeviceBindings_{Aircraft}{DurableDeviceKey}{ProductName}.json

For duplicate devices with the same PID/VID, the durable device key includes a sequence number.

Examples:

  • DeviceBindings_F-16_044F0402_Joystick - HOTAS Warthog.json
  • DeviceBindings_F-15ABCD_06A30762_X52 Professional H.O.T.A.S.json
  • DeviceBindings_F-16_044FB351_F16 MFD 1.json

Keyboard, button, and POV bindings are stored separately for each aircraft profile. Falcon BMS 4.38 still uses shared axis mappings, so axis assignments are synchronized between the F-16 and F-15 profiles.

Compatibility Outputs

The Launcher generates Falcon BMS "legacy" files within the selected install's User\Config folder.

These files are generated outputs:

  • BMS - Auto.key
  • BMS - Auto-F15ABCD.key
  • Setup.v100.[Device Name] {...}.xml

The Launcher writes these files from the in-memory/JSON binding model. They are not the source of launcher-managed binding state.

Startup Flow

When the Launcher loads, keyboard and device bindings are resolved independently, and device JSONs are checked per discovered device.

  1. Check for a selected Falcon BMS install
  2. Run the legacy file (Key and XML) import check:
    • If v2 Launcher legacy files are found and no JSONs exist, back up v2 files and convert them to JSON
    • If JSONs and legacy files both exist, skip import and continue normal startup
  3. Load BMS - Full*.key files
  4. Build the current keyboard/control catalog from the FULL key files
  5. Check for existing keyboard JSON files:
    • KeyboardBindings_F-16.json
    • KeyboardBindings_F-15ABCD.json
  6. If keyboard JSON files exist, overlay saved keyboard bindings onto the current catalog
  7. If keyboard JSON files do not exist, keep the current FULL key defaults
  8. Discover DirectInput devices
  9. Match discovered devices to stock Setup.v100.*.xml files, using PID/VID fallback when device names differ
  10. For each discovered device, check for an existing device JSON file:
    • DeviceBindings_{Aircraft}_{DurableDeviceKey}_{ProductName}.json
  11. If device JSON exists, load that device profile from JSON
  12. If device JSON does not exist, build that device profile from matched stock XML
  13. If no stock XML exists for that device, build an empty device profile
  14. Retain saved profiles for devices that are currently offline
  15. Build the complete in-memory binding model
  16. Validate existing keyboard and device assignments against the current FULL key files
  17. If obsolete assignments are found, back up the control files, remove the obsolete assignments, and notify the user

Save and Launch Flow

Prepare for launch
   ↓
Check dirty state
   ↓
Write keyboard JSON, if bindings changed
   ↓
Write device JSON, if bindings changed
   ↓
Generate compatibility KEY files
   ↓
Generate DeviceSorting.txt
   ↓
Generate device XML files
   ↓
Generate axismapping.dat
   ↓
Generate joystick.cal
   ↓
Apply User.cfg overrides
   ↓
Generate/update POP file
   ↓
Launch Falcon BMS

About

A user-friendly launcher for Falcon BMS that simplifies aircraft control setup, including HOTAS and device configuration, and keyboard assignments.

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages