FS4 CPP Plugin SDK

  • Hi,

    There were a plugin sample aerofly_fs_2_external_dll_sample.sln (windows at least) for fs2 version. Is it still compatible with fs4 ?

    It is a good way to add extensions like IA ATC or Motion Rig etc ?

    If not, do you think provide an other cpp plugin sdk one day (cross-platform if possible) ?

    Thanks

  • The old external DLL Code can be found here: https://www.aerofly-sim.de/aerofly_fs_2_sdk

    But it's no longer officially supported. You can test if it still works with Aerofly FS 4, it might work still. The data sent to the external DLL is useful for applications like external moving maps, position tracking and home cockpit switches and indications but it was never designed for moving platforms and is not fast enough for this.

    Our goal is to not rely on third party plugins to provide a good user experience and therefore we would rather integrate good features into the core sim ourselves than leave it up to the user to expand the sim features.

    Regards,

    Jan

  • Ok thanks Jan,

    I built with Visual Studio 2022, copied dll into external_dll folder, started aerofly fs4 (steam version), and attached debug session into fs4 process

    DllMain seems to be called, but Aerofly_FS_2_External_DLL_Init, Aerofly_FS_2_External_DLL_Init, Aerofly_FS_2_External_DLL_Shutdown and Aerofly_FS_2_External_DLL_Update are never called.

    I tryied changing prefix of these exported functions into Aerofly_FS_4_External_DLL... but no success

    Any advise ?