NovemberUniform Posted Saturday at 10:39 PM Report Posted Saturday at 10:39 PM 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).
John Dowson Posted Sunday at 10:47 AM Report Posted Sunday at 10:47 AM The Community folder should be under 'Flight Simulator installation' folder held in offset 0x3E00,
NovemberUniform Posted Sunday at 06:27 PM Author Report Posted Sunday at 06:27 PM 7 hours ago, John Dowson said: The Community folder should be under 'Flight Simulator installation' folder held in offset 0x3E00, Hi John, as far as I know you are free to choose another location for the community folder, for example via usercfg.opt. Or is this info wrong?
John Dowson Posted 17 hours ago Report Posted 17 hours ago 14 hours ago, NovemberUniform said: as far as I know you are free to choose another location for the community folder, for example via usercfg.opt. Or is this info wrong? Of course you can move your Community folder anywhere, The FS Installation location in MSFS2020 (and MSFS2024) held in offset 0x3E00 is the InstalledPackagesPath value from the usercfg.opt file. Why don't you just take a look at it?
NovemberUniform Posted 4 hours ago Author Report Posted 4 hours ago 12 hours ago, John Dowson said: The FS Installation location in MSFS2020 (and MSFS2024) held in offset 0x3E00 is the InstalledPackagesPath value from the usercfg.opt file Thanks. This info would have been useful in the FSUIPC7 Offset Status doc. I wasn't sure about that. 12 hours ago, John Dowson said: Why don't you just take a look at it? I did look at it. I didn't know "Path of Flight Simulator installation" == "InstalledPackegesPath". Thanks again.
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