Skip to content

WASM Module Integration Edition

Compare
Choose a tag to compare
@mpaperno mpaperno released this 09 Jul 17:12
· 251 commits to next since this release
1729f44

1.0.0.0-beta1 (July-09-2022)

  • Adds support for integration with custom WASM module from the WASimCommander project (WASimModule).
    • Get and Set "Local" variables as well as practically any other variable type available in the MSFS "Gauge API".
    • Provides a listing of currently available Local variables, automatically refreshed when aircraft changes in the simulator, and on demand.
    • Option to create new Local variables inside the Simulator engine.
    • Execute any Calculator Code (using RPN, see link above) from within the Simulator engine, bringing control over practically any situation.
    • Request calculated values (results from calculator code) as TP States, using the same options as current simulator variables
      (formatting, refresh rate, categorization, etc). Results can be in numeric or string format, and data can also be formatted as strings using RPN functions.
    • All the new request types (local/other variables or calculated values) can be saved/loaded to/from configuratoin files, just like was already possible with SimVars.
  • Adds support for loading input event presets from the HubHop database.
    • New Action: Activate a Simulator Event From HubHop - Presents a "drill down" list of loaded events, selectable by vendor/aircraft and system.
      Requires WASimModule or MobiFlight WASM modules installed (more features available with the former).
    • HubHop data can, optionally, be updated upon plugin startup and manually via a new action choice (MSFS Plugin -> Connect & Update -> Update HubHop).
  • Added support for using numeric values in hexadecimal notation (0xNNN). Easy "BCD" values, eg. frequency 339KHz is simply 0x03390000.
  • Dynamic TP States (custom-added variables) are now sorted into their respective categories in TP selectors
    (instead of being in a "Dynamic" cateogry or just listed after the categories). Requires TP 3.0.10 or higher.
  • Added actions to Set cowl flaps 1-4 to specific position.
  • The list of imported sim vars updated to include new HSI_STATION_IDENT and fix "settable" flag on GPS_* variables like GPS_APPROACH_WP_TYPE, etc.

NOTE For full support of all the new features, I highly recommend installing the accompanying WASM module which is available below (WASimModule). It it not required to use the plugin but will help provide all the new features listed above.

To install WASM module - Simply download the zip file and extract the contents into your MSFS Community folder (so that the folder wasimcommander-module is in the Community folder). MSFS would need to be restarted after adding the module.

Known Issues

  • Requesting new variables with an empty Unit type may not work properly (an exception error is logged). Workaround is to specify a Unit type even for variable types that don't need one. (Fixed in next version.)
  • Requesting a Calculated Value of "Formatted" type will not work due to apparent bug in MSFS gauge API. This is fixed with update of the WASM module (see below)
  • HubHop data appears to not update properly until plugin is restarted. Workaround is to restart the plugin after updating data. See #32

Updated WASimModule to v1.0.0.6 on 12-July-2022 21:00 Z

  • Updated WASM module to fix issue with "Formatted" calculated result type. (Full change log)