• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Questions on WASM Standalone Module

Messages
95
Country
singapore
Back to flight sim development. I believe WASM Standalone Module similarly works like how DLL works for P3D. I am trying to make a verificaton and playing around. So i am wondering, is the standalone module able to run or detect exe upon sim running? I tried putting system("myexe.exe") but the module seems to fail knowing that it us c++. Alternatively, using an executable and put it on EXE.xml but that would allow users from removing it.

Secondly, is WASM Standalone Module able to be attached to an scenery object? Example, Module1 is attached to terminal.bgl and texture.

I hope to get some answers to my clarification and advices. Thank you
 
Here's some background information on "the thing called WebAssembly":
1 - WebAssembly - "Getting started guide":
-https://webassembly.org/getting-started/developers-guide/

2 - WebAssembly - "Runtime engines comparison":
-https://blog.logrocket.com/webassembly-runtimes-compared/

3 - WebAssembly - "Building Standalone and Dynamic Linking Modules in Windows"
-https://www.dynamsoft.com/codepool/webassembly-standalone-dynamic-linking-wasm.html

4 - Github - "WASM specs"
-https://webassembly.github.io/spec/core/

5 - Asobo MSFS "SDK" forums
-https://devsupport.flightsimulator.com/questions/7911/wasm-standalone-module.html

6 - TIP: Take a look / post your question on StackOverflow (too):
-https://stackoverflow.com/search?q=wasm+standalone&s=0f1234d1-07ca-45b9-8629-e92160a646f7

I hope this Wasm information will get you (re-)started (again)
 
Here's some background information on "the thing called WebAssembly":
1 - WebAssembly - "Getting started guide":
-https://webassembly.org/getting-started/developers-guide/

2 - WebAssembly - "Runtime engines comparison":
-https://blog.logrocket.com/webassembly-runtimes-compared/

3 - WebAssembly - "Building Standalone and Dynamic Linking Modules in Windows"
-https://www.dynamsoft.com/codepool/webassembly-standalone-dynamic-linking-wasm.html

4 - Github - "WASM specs"
-https://webassembly.github.io/spec/core/

5 - Asobo MSFS "SDK" forums
-https://devsupport.flightsimulator.com/questions/7911/wasm-standalone-module.html

6 - TIP: Take a look / post your question on StackOverflow (too):
-https://stackoverflow.com/search?q=wasm+standalone&s=0f1234d1-07ca-45b9-8629-e92160a646f7

I hope this Wasm information will get you (re-)started (again)
Hi ronald,

Thank you for the reply. A question i would like to ask, is WASM Standalone Module able to be attached to an scenery object? Example, Module1 is attached to terminal.bgl and texture.
 
Note: I've not started with 100% native MSFS2020 development (yet), but i do have over 40+ yeasr experience behind-the-keyboard (from before fs1)

A question I would like to ask, is WASM Standalone Module able to be attached to an scenery object? Example, Module1 is attached to terminal.bgl and texture.
1- Short answer.....: I do not know (yet)
2- Longer Version.: (looking back) Inside the FSX / ESP one could create "adventures / missions" via the Object Placement Tool inside the sim (see image below)
fsd_object_placement_tool.jpg

Links:
-https://docs.microsoft.com/en-us/previous-versions/microsoft-esp/cc526963(v=msdn.10)
-https://flyawaysimulation.com/downloads/files/18882/fsx-object-placement/


fsd_opt_trigger-overview.jpg

This allows the mission_builder to configure all sorts of end-user interaction triggers which could then be used for multiple purposes inside the simulator.

fsd_opt_setting_triggers.jpg

You can see this as a kind of dynamic, interactive, in-flightsim scripting ability.

====================================================================================
Now the $64.000 question (for you to find out is) :
- Has Asobo Studio's already implemented this mechanism into MSFS-2020? ( I guess they have)
- If Yes: How well is this feature been documented in their publicly accessible MSFS2020 SDK?

The only relevant information in there I have been able to find, is this:
-https://docs.flightsimulator.com/ht...d_Missions/Flights_And_Missions.htm?agt=index
-https://docs.flightsimulator.com/ht...nd_Missions/Mission_Definitions.htm?agt=index

So far I have not found any "Example Missions" inside the MSFS2020 SDK over here in the Samples section:
-https://docs.flightsimulator.com/html/Samples_And_Tutorials/Samples_And_Tutorials.htm

This is one mission creation thread on their forum
-https://forums.flightsimulator.com/t/guide-mission-creation-for-msfs/419885



EDIT: I just found a few this website of people who are already building MSFS20 Missions like they did in FSX
-https://store.flightsim.com/product-category/msfs/msfs-missions-adventures/ - payware
-https://www.simplemissions.com/ - free
-https://www.bushtripinjector.de/

EDIT2: MSFS2020 Mission creation addon tool
- https://flightsim.to/file/3681/bushmissiongen

And somebody [jpdise] on this forum as well
-https://www.fsdeveloper.com/forum/members/jpdise.22624/ - profile
-https://www.fsdeveloper.com/forum/t...free-msfs-2020-mission-available-here.449182/ - thread
I think these are the most knowledgable people to get in contact, since they have already found out to do it...

Next thing to investigate:
What does Asobo allow (and what not) as "triggered_outcome_event" to happen inside / outside the simulation_engine (and how to do it)?
 
Last edited:
Back
Top