Jump to content
The simFlight Network Forums

Max Gross Weight and WideFS


Recommended Posts

I have a nifty fuel loading module for my software that depends on knowing the empty weight and max gross weight of the current aircraft. While one can read ZFW via an FSUIPC offset, MGW appears to be in the aircraft.cfg, which doesn't appear accessible if I'm running on WideClient.

Is there any way to expose aircraft.cfg data to WideClient software, or MGW specifically via an offset?

Cheers!

Luke

Link to comment
Share on other sites

I have a nifty fuel loading module for my software that depends on knowing the empty weight and max gross weight of the current aircraft. While one can read ZFW via an FSUIPC offset, MGW appears to be in the aircraft.cfg, which doesn't appear accessible if I'm running on WideClient.

Is there any way to expose aircraft.cfg data to WideClient software, or MGW specifically via an offset?

It's available in FSX via FSUIPC4 and WideFS, thanks to SimConnect, at offset 1334 (a 32 bit integer, as 256 * lbs), though it hasn't been checked by anyone yet as far as I know.

FSUIPC3 currently doesn't supply this value. I think I could provide it if really needed, at least for FS2004 (not before). But it isn't something I could do before Christmas - it would be in January now.

Incidentally, I don't know why you can't read the CFG file -- FSUIPC does supply the full path to the AIR file which is also the path to the CFG file. Maybe you've not shared it on the Network?

Regards

Pete

Link to comment
Share on other sites

It's available in FSX via FSUIPC4 and WideFS, thanks to SimConnect, at offset 1334 (a 32 bit integer, as 256 * lbs), though it hasn't been checked by anyone yet as far as I know.

Cool! I wasn't aware of that - I don't believe it's listed in the 4/06 SDK. Is there a newer version?

FSUIPC3 currently doesn't supply this value. I think I could provide it if really needed, at least for FS2004 (not before). But it isn't something I could do before Christmas - it would be in January now.

It's not something I need right away, but if you ever do have some free time it I believe would be a welcome addition for those of us with fuel planning software and WideFS.

Incidentally, I don't know why you can't read the CFG file -- FSUIPC does supply the full path to the AIR file which is also the path to the CFG file. Maybe you've not shared it on the Network?

It's not really for me; we have several thousand users of my software and I would prefer to have something that works as simply as possible without setting up file sharing. To be honest, if there was a handy feature that I'd love to see, it's an FSUIPC/WideClient facility to allow software running on WideClient to read any arbitrary value from the aircraft.cfg.

Cheers!

Luke

Link to comment
Share on other sites

Cool! I wasn't aware of that - I don't believe it's listed in the 4/06 SDK. Is there a newer version?

The Offsets Status document for FSUIPC4 is included in the SDK addendum currently only supplied in the FSX Downloads announcement above, as with FSUIPC4 interim updates et cetera. The Offsets list there is up to date for FSUIPC 4.20 and includes the MGW.

I'll add the MGW to FSUIPC3 (for FS9 only, probably) in January. I've had a look and it is easy enough.

Regards

Pete

Link to comment
Share on other sites

  • 3 weeks later...

Is there any way to expose aircraft.cfg data to WideClient software, or MGW specifically via an offset?

The max gross weight is now available in offset 1334 in FSUIPC 3.769, as it has been for a while in FSUIPC4. Get 3.769 from the Other Downloads announcement above.

Regards

Pete

Link to comment
Share on other sites

The max gross weight is now available in offset 1334 in FSUIPC 3.769, as it has been for a while in FSUIPC4. Get 3.769 from the Other Downloads announcement above.

Many thanks, Peter. I greatly appreciate your work and flexibility when adding new features to your software.

Cheers!

Luke

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • 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.