scruffyduck Posted March 10, 2005 Report Posted March 10, 2005 Sorry Pete bit off topic but I wondered if you had any insight into the meaning of the different keywords as a result of your autosave module? Most of them are self evident but some are not - seems that this is where payload data is saved in the payload section and the list is given by payload station which is quite handy. I am pretty sure I can generate a flight file from my program but I would like to understand the keys and values as well. Does not seem to be in the SDK thanks
Pete Dowson Posted March 10, 2005 Report Posted March 10, 2005 Sorry Pete bit off topic but I wondered if you had any insight into the meaning of the different keywords as a result of your autosave module? AutoSave doesn't need to know any of them. It simply calls the routine in FS which saves them. Most of them are self evident but some are not - seems that this is where payload data is saved in the payload section and the list is given by payload station which is quite handy. I am pretty sure I can generate a flight file from my program but I would like to understand the keys and values as well. Does not seem to be in the SDK I've not even looked at the SDK really. Sorry. Is all the payload data per flight, then, not per aircraft? In that case "reload user aircraft" controls won't be any use to you, you will have to load a flight. If there are sepcific keywords you don't understand and need to I expect you may get a response with the specific questions, but I really doubt that there's anyone with a handle on the whole thing. Note that, like all my INI files, all of the FS CFG files are "private profiles", accessed through the Windows private profile API. You don't need to get into full file I/O operations. Just read and write the keys you want, as you would in the Registry, for instance. This is also a much safer way of dealing with such files because Windows handles multiple accesses et cetera for you. Regards, Pete
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now