Jump to content
The simFlight Network Forums

How does fsuipc read aircraft.cfg information in msfs2024.


Recommended Posts

Posted

Our quality monitoring software wants to differentiate between aircraft models, such as 332 and 333.
I found that fsuipc can read the information of aircraft.cfg. How is it done? Can my software also identify the sub-model of the aircraft through fsuipc?

c:\users\3829\appdata\roaming\microsoft flight simulator 2024\streamedpackages\microsoft-aircraft-a330\content\simobjects\airplanes\microsoft-a330\presets\inibuilds\a330-200 (rr)\config\aircraft.cfg

Posted
  On 11/22/2024 at 6:53 AM, ljk811 said:

I found that fsuipc can read the information of aircraft.cfg. How is it done? Can my software also identify the sub-model of the aircraft through fsuipc?

c:\users\3829\appdata\roaming\microsoft flight simulator 2024\streamedpackages\microsoft-aircraft-a330\content\simobjects\airplanes\microsoft-a330\presets\inibuilds\a330-200 (rr)\config\aircraft.cfg

Expand  

FSUIPC tries to read the icao_type_designator, icao_manufacturer, icao_model & icao_airline from the reported location of the aircraft.cfg file. However, it can only do this if the file is readable and not encrypted. Are you sure FSUIPC is reading this? Check offsets 0x0618, 0x09D2 and 0x0B26 and you will probably see that they are empty, which means that the aircraft.cfg can't be read.

Posted
  On 11/22/2024 at 9:24 AM, John Dowson said:

FSUIPC tries to read the icao_type_designator, icao_manufacturer, icao_model & icao_airline from the reported location of the aircraft.cfg file. However, it can only do this if the file is readable and not encrypted. Are you sure FSUIPC is reading this? Check offsets 0x0618, 0x09D2 and 0x0B26 and you will probably see that they are empty, which means that the aircraft.cfg can't be read.

Expand  

The path seems to be read in fsuipc.log. So I want to ask how to identify this path.

In fact, I don’t need to read the information in aircraft.cfg. I only need to read the folders that I can’t see to distinguish the type of 330.

C6EC5A6BB1A90B8A3C2E61241A6F1512.png

Posted
  On 11/22/2024 at 10:25 AM, John Dowson said:

I don't think you can open that file in MSFS2024....if you succeed, let me know!

Expand  

No, I don’t need to open this folder, I need to read the name of the folder to identify the aircraft type, such as a330-300(rr) or a330-200 (rr)

Posted
  On 11/22/2024 at 1:11 PM, ljk811 said:

The "fsuipc-lvar-module" generated by fsuipc in the wasm folder is placed in MSFS2020. Is this a small flaw?

Expand  

No, that is not the WASM module, it is the persistent storage area for the WASM, which in MSFS2020 was under 
    C:\Users\[USERNAME]\AppData\Roaming\Microsoft Flight Simulator\Packages\fsuipc-lvar-module

If using FSUIPC7 with MSFS2024. please use the latest beta, available here: 

All questions / comments / requests on using FSUIPC7 with MSFS2024 should be posted in that topic for the time being. I am closing / locking this topic now.

John 

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.