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
2 hours ago, 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

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
37 minutes ago, 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.

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
15 minutes ago, John Dowson said:

The path is available at offset 0x3C00. FSUIPC gets this from the AircraftLoaded event.

 

thank you very much. I'll try.

Posted
3 minutes ago, John Dowson said:

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

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
2 hours ago, John Dowson said:

Ah, ok.

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

QQ20241122-211110.jpg

Posted
17 minutes ago, ljk811 said:

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

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.