MSFS2020 WASM Module and developer API for remote access to the Microsoft Flight Simulator 2020 "Gauge API" functions.
OTHER License
Bot releases are visible (Hide)
Published by mpaperno 12 months ago
int8
- int32
types) -- the result data would be encoded as a float type instead. (8c7724e6)GetCreate
command to use if the variable needs to be created. (61a52674)GetCreate
and SetCreate
commands for non-L types now silently fall back to Get
and Set
respectively. (61a52674)GetCreate
was always sent as if responding to a Get
command. (61a52674)requestId
to error logging and response output for data requests and add more info for Get
command errors. (17791eef)Once
type update period are now queued if data updates are paused when the request is submitted. These requests will be sent when/if updates are resumed again by the client. Fixes that data would be sent anyway when the request is initially submitted, even if updates are paused. (fe99bbb2)list()
requests (eg.thousands of L vars). (a05a28c3)setLocalVariable()
and setOrCreateLocalVariable()
.getOrCreateLocalVariable()
.VariableRequest::createLVar
property.create
flag and unit name to VariableRequest()
c'tor overloads.saveDataRequest()
which doesn't wait for server response (saveDataRequestAsync()
for the C# version). (82ea4252, 0a30646d)getVariable()
to make use of new WASimModule feature. (8e75eb8c, 0e54794b)setDataRequestsPaused()
) is now saved locally even if not connected to server and will be sent to server upon connection and before sending any queued data requests.setVariable()
method now verifies that the specified variable type is settable before sending the command to the server. (576914a2)Get
commands.+
, -
, or 0
to reset.Full log: v1.1.2.0...1.2.0.0
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static, dynamic, and managed (.NET) libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno over 1 year ago
Please also read the v1.1.1 release notes if upgrading from an earlier version.
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static, dynamic, and managed (.NET) libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno over 1 year ago
clang:-O3
level optimization since MSFS memory corruption issue confirmed fixed.config
) in class constructor being a file or directory, which also validates existence.The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static, dynamic, and managed (.NET) libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno almost 2 years ago
Updates for MSFS 2020 SU10 changes and new event trigger API for sending multiple values.
trigger_key_event_EX1()
).send_key_event()
for SendKey
command in favor of trigger_key_event_EX1()
./clang:-O1
optimization level (the newly-recommended O3
level revealed a nasty MSFS memory corruption bug which should be fixed in SU11; I will have an update after SU11 release).sendKeyEvent()
methods for sending simulator Key Events with up to 5 values, either by event ID or by name.sendKeyEvent()
methods (see above).The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static, dynamic, and managed (.NET) libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno about 2 years ago
No changes in WASimModule besides version number.
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static and dynamic libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno over 2 years ago
The issue affected all dependent projects as well. No changes in WASimModule except version number.
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static and dynamic libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno over 2 years ago
SendKey
command can now accept known key event IDs by name (and do the lookup automatically).format_calculator_string()
) since that seems to be broken in MSFS.tick()
) when all clients disconnect.DataRequest.unitName
or Command.sData
.The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static and dynamic libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder (so that the folder wasimcommander-module is inside the Community folder). MSFS would need to be restarted after adding the module for the first time.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system. No installer, simply unzip and run the WASimUI.exe file from either Explorer or a command line.Published by mpaperno over 2 years ago
The release contains several download options (the actual file names have version numbers appended):
WASimCommander_SDK
- All header files, pre-built static and dynamic libs, packaged WASM module, pre-build GUI, reference documentation, and other tools/examples.WASimModule
- Just the WASM module component, ready to be dropped into a MSFS Community folder.WASimUI
- Just the GUI application, which is very handy in combination with the WASM module for exploring the system.Update July 5 08:00 Z - The actual module was missing from the WASM module folders in both the standalone and SDK downloads. Sorry about that!