pemartin Posted February 11 Report Posted February 11 Hello! Can WideFS detect witch flighsim is started? So it is possible to start different programs deppens on the flightsim? Best regards
John Dowson Posted February 11 Report Posted February 11 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now