Jump to content
The simFlight Network Forums

P3D - MSFS


Recommended Posts

13 minutes ago, pemartin said:

Can WideFS detect witch flighsim is started?

Not by itself, but you can read offset 0x3308 to determine the FS, and maybe 0x3124 to determine the version (if needed).

15 minutes ago, pemartin said:

So it is possible to start different programs deppens on the flightsim?

You can use an ipcReady.lua script (or any auto-started lua script) to read those offsets I mentioned to determine the FS and version, and then start your programs using ext.run (or ext.runif) depending on the FS and version.  Probably also a good idea to have an event.terminate function and stop the programs using ext.close when the lua is terminated.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.