Hi,
I'm looking for an easy way to read the version number of a specific MSFS aircraft add-on with a Lua program. The only location I found that version number is the manifest.json of the add-on, which is installed in the community folder. I guess there is no way to read the version number of an add-on directly, so I would try doing it manually by looking for the manifest.json file in the add-on folder. Reading the FSUIPC documentation, I could not find an offset that holds the path of the community folder directly. I know of offset 0x3C00, which could in theory be used to find the community folder, but I also know of the problematic use of this offset, when it sometimes only returns a relative path, which is useless in my case.
Knowing that we have MS2020 and MSFS2024, Steam and Store and on top the possibility to move the community folder to a custom location, it would be a rather tedious task to find the right folder under any circumstances (for example via usercfg.opt).