Jump to content
The simFlight Network Forums

Recommended Posts

Posted

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.

Posted

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

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.