plane icon Welcome to Microsoft Flight Simulator’s SDK Q&A Platform!

You have questions regarding the SDK? DevMode Tools? SimConnect? You would like to submit an idea for future improvements, seek help or exchange knowledge? You’re in the right place.

Please take a moment to read the platform’s guidelines before you get started!

question

Paavo avatar image
Paavo asked

How to load flight plans from a WASM module?

SimConnect functions like SimConnect_AICreateEnrouteATCAircraft() require path to flight plan file. My WASM module creates flight plans at runtime and saves them to \work folder.

How should I express paths to flight plan files to use them with SimConnect functions?

I have not found a way to use relative paths, nor a way to detect absolute path to \work folder from inside the WASM module.

wasm
10 |10000 characters needed characters left characters exceeded

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 5 attachments (including images) can be used with a maximum of 4.8 MiB each and 23.8 MiB total.