Jump to content
The simFlight Network Forums

FSX Data Format


Recommended Posts

Hi to you both

I have been writing some software using Delphi  ( I now that is not something you are familiar with ) and I have it mostly working. Using wideclient I am able to access all sorts of the data by referencing the offsets. I have Air Speeds and Navigation Data all coming across nicely.

My question is this. The data under Offset 3130, 313C, 3148 and 3160 is causing me trouble as I can not figure out what data type it is.

I would have thought it must have been a string format But I cant make that work.

I realise this is a bit of a weird question  but If I can figure out what it is I can convert it to string.

 

Cheers

Keep up the good work

Your Wideclient system is great.

 

Owen

Link to comment
Share on other sites

36 minutes ago, OwenM said:

My question is this. The data under Offset 3130, 313C, 3148 and 3160 is causing me trouble as I can not figure out what data type it is.

I would have thought it must have been a string format But I cant make that work.

As it states in the offsets list PDF they ARE strings. They are plain ordinary ASCII strings, as supplied by SimConnect. Maybe you are trying to access them as Unicode or Wide character. ASCII uses one byte per character, e.g. A-Z are 0x41-0x5A, space is 0x20, and 0-9 are 0x30 - 0x39.

All strings in the Offset interface are ASCII.

Pete

 

 

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.