Jump to content
The simFlight Network Forums

Offset 0x3C00 in Version 3.999


 Share

Recommended Posts

Would it be possible to modify version 3.999 so that offset 0x3C00 returns the full path to the air file in the same way that version 4.xxx does?

I know I can read FSUIPC version number (Ox3304) and then, if necessary, the FS path (0x3E00) and concatenate that with 0x3C00 but it would be nice not to have to.

Link to comment
Share on other sites

Would it be possible to modify version 3.999 so that offset 0x3C00 returns the full path to the air file in the same way that version 4.xxx does?

Sorry, I'm really not able to do that for risk of wrecking existing programs which assume they have to prepend the FS path.

I know I can read FSUIPC version number (Ox3304) and then, if necessary, the FS path (0x3E00) and concatenate that with 0x3C00 but it would be nice not to have to.

It's not necessary to read 3304. You can just check whether the string starts with \\ (for a UNC path) or the second character ':' (for a full local path like C:\ ...). If neither then prepend the FS path.

Regards

Pete

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • 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.