Pascal Drac Posted March 1, 2024 Report Posted March 1, 2024 (edited) *** Moved from FAQ sub-forum to main support forum *** Hello, With P3D v4's SimDirector tool, ATC communications have been created from text files. Is it possible to recover these files with FSUIPC? If so, do you know the offset? Thank you very much. Best regards. Pascal Edited March 1, 2024 by John Dowson Moved to main support forum
John Dowson Posted March 1, 2024 Report Posted March 1, 2024 First, you posted in the FAQ sub-forum where it explicitly states NOT for support requests. Please take care to post in the correct place if you require support. I have moved your post. On 3/1/2024 at 2:39 PM, Pascal Drac said: With P3D v4's SimDirector tool, ATC communications have been created from text files. Is it possible to recover these files with FSUIPC? What are these files? Where are they located? What do they contain? What do you expect FSUIPC to extract from them. i.e. what data do you want to find in the offsets from these files? As I do not know what files you are talking about, I expect that FSUIPC currently does nothing with these. Maybe you can attach an example and I will take a look. Is there a fixed location where these files are located/created? John
Pascal Drac Posted March 4, 2024 Author Report Posted March 4, 2024 Thanks John for the quick feedback In the attachment you will find a screenshot of the simdirector interface and the automatically generated code. The text file of the ATC communication is highlighted in yellow. Thank you very much. Best regards. Pascal 240304_communication_ATC_xml_simdirector.pdf
John Dowson Posted March 4, 2024 Report Posted March 4, 2024 Not sure why you attached that image - I know what simdirector is, I have just never used this tool. Attaching the generated file would have been more useful (what is it called?), and also the location. But FSUIPC probably does nothing with this file, unless it is one of the standard files loaded when loading a flight or mission. If you want any information from such files available via offsets, you would have to write a lua script to read the file, extract the information that you require and then add this to a free/spare FSUIPC offset. John
Pascal Drac Posted March 4, 2024 Author Report Posted March 4, 2024 John, This file can be found in the following path: C:\Users\adm_local\Documents\Prepar3D v4 Files In copy, the source file. Thank you very much. Best regards. Pascal Training_01.xml
John Dowson Posted March 4, 2024 Report Posted March 4, 2024 As I said, FSUIPC does nothing with such files. I don't see any good reason why these files should be loaded, but many possible difficulties (e.g. how is FSUIPC supposed to know the name if this file?). As I said, if you want some data from such files available via FSUIPC offsets, then you will need to write a bespoke lua script to read/parse the file, extract the data you need and then add this to a free/spare FSUIPC offset. John
Pascal Drac Posted March 5, 2024 Author Report Posted March 5, 2024 Thank you John. I will use lua according to your recommendations. Pascal
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