August 13, 20187 yr 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?😃
August 13, 20187 yr Commercial Member 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 August 13, 20187 yr by Lorby_SI LORBY-SI
August 13, 20187 yr Author 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?
August 13, 20187 yr 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. Bob Scott | President and CEO, AVSIM Inc ATP Gulfstream II-III-IV-V Sys1 (MSFS20+24/XPlane12+11): AMD 9800X3D, water 2x240mm, MSI MPG X670E Carbon, 64GB GSkill 6000/30, nVidia RTX4090FE Alienware AW3821DW 38" 21:9 GSync, 2x4TB Crucial T705 PCIe5 + 2x2TB Samsung 990 SSD, EVGA 1000P2 PSU, 12.9" iPad Pro Thrustmaster TCA Boeing Yoke, TCA Airbus Sidestick, Twin TCA Airbus Throttle quads, PFC Cirrus Pedals, Coolermaster HAF932 case Sys2 (P3Dv5/v4): i9-13900KS, water 2x360mm, ASUS Z790 Hero, 32GB GSkill 7800MHz CAS36, ASUS RTX4090 Samsung 55" JS8500 4K TV@60Hz, 3x 2TB WD SN850X 1x 4TB Crucial P3 M.2 NVME SSD, EVGA 1600T2 PSU 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 Sys3 (DCS/P3Dv4/ATS/ETS): AMD 7800X3D, MSI MPG X870E Carbon, Noctua NH-D15S, 64GB GSkill 6000/30, EVGA RTX3090 Alienware AW3420DW 34" 21:9 GSync, Corsair HX1000i PSU, 4TB Crucial T705 PCIe5 + 2TB Samsung 970Evo Plus, TM TCA Officer Pack, Saitek combat pedals, TM Warthog, TM RS300 FF wheel/pedals, Coolermaster HAF XB case
Archived
This topic is now archived and is closed to further replies.