EvenAR / node-simconnect

A cross platform SimConnect client library for Node.JS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

64bit (P3Dv4) compat?

nabeelio opened this issue · comments

Hey, this looks awesome! I'm guessing it won't work with the P3D v4? I'm just starting to mess with this library, did you have any ideas (for the future) on how to handle cross-compatibility?

Hi,

It should work fine with P3D v4 by default. The included binary is built with the FSX SDK, and P3D v4 is backwards compatible with 32-bit SimConnect applications (Link).

Remember that since the FSX SDK is 32 bit, it can only be loaded by Node.js 32 bit. However, you can build node-simconnect manually (see instructions in the readme) using the P3Dv4 SDK which is 64 bit. Note that SimConnect is not forward compatible, and you will not be able to use the P3D SDK with FSX.

If your app needs to work with "all" platforms (i.e. FSX SP2, FSX:SE, P3Dv1, P3Dv2, P3Dv3, P3Dv4), you can just use node-simconnect as it is :)

Ah got it. I don't care so much about the FSX versions, more P3D. Just trying to see how it works inside an Electron app. Thanks!