Jump to content
Sign in to follow this  
Jonas_Bernhoeft

Editing the gauge files PMDG

Recommended Posts

Hello fellow simmers!

Recently i've decided that i would like to be able to configure weights, capacities etc. in the pmdg aircrafts. Of course, im not talking about working the FMC, but rather programming the .dll gauge files and change the settings in there (it has come to my attention, that the settings im looking for is placed in the Gauge files). Unfortunately, i've experienced some problems finding these settings as i go through the .dll in a program called Visual Studio.🤔 My primary objective is to change the ammount of fuel an aircraft can carry! :)

Does anybody have any knowledge that might help?😃

Share this post


Link to post

Hi,

it doesn't work like that. Gauge DLLs are binary files, compiled from C++ source code. You would need those C++ sources to make changes, and the proper VS project to build the DLL. PMDG will never give the sources to you. Those are the most valuable assets that a developer has, and he will guard them with his life.

Normally what you are looking for would be the [fuel] section in the aircraft.cfg. Tank sizes are defined there. But as far as I know PMDG is indeed using an extra programmatic solution to manage fuel, so you may be out of luck. It is worth a try though, making the tanks bigger in the cfg and filling them up with the default in-sim payload menu. But there is a good chance that it won't work.

Specification of the aircraft.cfg can be found here:

Learning Center -> SDK -> Simulation Objects -> Aircraft Configuration Files
In the "Contents" list on the right click on "[fuel]"

(The Learning Center file is in your main P3D directory)

Best regards

Edited by Lorby_SI
  • Upvote 1

LORBY-SI

Share this post


Link to post
22 minutes ago, Lorby_SI said:

Hi,

it doesn't work like that. Gauge DLLs are binary files, compiled from C++ source code. You would need those C++ sources to make changes, and the proper VS project to build the DLL. PMDG will never give the sources to you. Those are the most valuable assets that a developer has, and he will guard them with his life.

Normally what you are looking for would be the [fuel] section in the aircraft.cfg. Tank sizes are defined there. But as far as I know PMDG is indeed using an extra programmatic solution to manage fuel, so you may be out of luck. It is worth a try though, making the tanks bigger in the cfg and filling them up with the default in-sim payload menu. But there is a good chance that it won't work.

Specification of the aircraft.cfg can be found here:

Learning Center -> SDK -> Simulation Objects -> Aircraft Configuration Files
In the "Contents" list on the right click on "[fuel]"

(The Learning Center file is in your main P3D directory)

Best regards

Thanks for your answer Lorby!
Yup, i've messed a bit around with the aircraft.cfg, unfortunately the aircraft somehow changes it back to a specific ammount.

Isn't there any way to decompile the source code?

Share this post


Link to post
1 hour ago, Jonas_Bernhoeft said:

Isn't there any way to decompile the source code?

I think now would be the time for you to go back and read the PMDG EULA

And with that, let's end this here.

 

  • Like 4
  • Upvote 2

Bob Scott | President and CEO, AVSIM Inc
ATP Gulfstream II-III-IV-V

System1 (P3Dv5/v4): i9-13900KS @ 6.0GHz, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090
Samsung 55" JS8500 4K TV@30Hz,
3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU, 1.2Gbps internet
Fiber link to Yamaha RX-V467 Home Theater Receiver, Polk/Klipsch 6" bookshelf speakers, Polk 12" subwoofer, 12.9" iPad Pro
PFC yoke/throttle quad/pedals with custom Hall sensor retrofit, Thermaltake View 71 case, Stream Deck XL button box

Sys2 (MSFS/XPlane): i9-10900K @ 5.1GHz, 32GB 3600/15, nVidia RTX4090FE, Alienware AW3821DW 38" 21:9 GSync, EVGA 1000P2
Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, 2x TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case

Portable Sys3 (P3Dv4/FSX/DCS): i9-9900K @ 5.0 Ghz, Noctua NH-D15, 32GB 3200/16, EVGA RTX3090, Dell S2417DG 24" GSync
Corsair RM850x PSU, TM TCA Officer Pack, Saitek combat pedals, TM Warthog HOTAS, Coolermaster HAF XB case

Share this post


Link to post
Guest
This topic is now closed to further replies.
Sign in to follow this  
  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...