• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FSXA Is it possible to read the Saved Flight Plans ?

Messages
542
Country
australia
Is it possible to access and read the "Flight Simulator X files folder " where the saved flight plans are stored using an xml based instrument ?

Cheers
Karol
 
Is it possible to access and read the "Flight Simulator X files folder " where the saved flight plans are stored using an xml based instrument ?

Cheers
Karol

Karol,

LOGGER can read those files and it's XML based. It has no ability to show the file directory, however, so you have to know path and file name of the FP you want. When it was written, Robbie stopped short of providing an Explorer File Manager type window (or whatever you would call that) for file management.

I think you're probably familiar with it, so I am wondering if you already tried?

Flight Plan records ought to always be written in a certain order, even if number of waypoints is variable. With that, and a lot of XML logic and string comparisons, you should be able to figure out the variables in the Flight Plan. So, I guess it is possible, but would take significant coding to understand every variable in every record of the FP.

Bob
 
Bob

Actually ,I do not want to read the Flight plans .
I only wanted that folder to contain text documents.

What I'm after is 2 data storage documents.

The first would have an indexed list from 1 - 200 , it would list
waypoints , basically as follows:
1.... near Cannon AFB ......Lat/Long
then next line.

The second would list 50 flight plans, basically as follows:
1....near Lossimouth .... 00-WPT,01-WPT, ..... 17-WPT,18WPT.END
then next line.

Then have an instrument that could view either of those lists.
You would scroll the list to determine which you want to select for loading.
Then click the index number , set an INDEX if it's a WPT , then click load.
The third field in the chosen line would then be loaded as a flight plan by the
instrument.

What I am after is 'Lists' that can be edited and customised by any user to maximise options and user preferences.

I would prefer to avoid using a ddl if at all possible.

Cheers
Karol
 
I have wrote xml gauges to edit, modifiy, and write flight plans in .PLN format, 100% compatible with FSx flight planner in the FSX document folder.

My gauges work with LOGGERX.dll of Rob, and XMLVars.dll of tom Aguilo.



My FMS use these gauges.

I want them, I'll give you, if it is for a freeware use.

Here is the link to download a beta version of my aircraft that use these gauges with a FMC that I am creating :

http://http://talk.pafs.wf/viewtopic.php?f=23&t=1942&start=550#p23447

For example, SID or STAR can be add to the flight FSX plan

The last version panel is the 0.54.

And I am working on DME-arc function for the FMS and my hair becomes white !
 
Last edited:
I would prefer to avoid using a ddl if at all possible.

Hi Karol,

OK, I think see what you're after now. I wrote code matching your description (I guess) when doing the testing and documentation for LOGGER. In my case, instead of inputting the line/index number of the FP I wanted, I used mouse click areas and a point and click approach to select and load the desired FP. IIRC, I set up one file that contained only FP Titles that was displayed to the user, and separate, individual Flight Plan files that contained the waypoints. The Titles file was updated when a new FP was saved, and a new FP waypoint file added to the folder.

If I understand your comment correctly, however, you don't want to use a dll module like LOGGER. Unfortunately, I believe that file I/O is not possible using FltSim XML alone. As cross-reference, see Posts #7 and #8 here:

http://fsdeveloper.com/forum/showthread.php?t=425287

I've also been following Francois's FMS development, and he may also have examples that match your description.

Anyway .... did that answer your question???

Cheers,

Bob
 
Last edited:
Fdd_fr

Thank you for your kind offer , I hope that what I am trying to do is very much simpler than the magnificent FMS that you are creating.

My hope is to add extra capabilities to my Flight plan editor that is in the following link.
http://www.fsdeveloper.com/forum/showthread.php?t=425488

This editor only modifies or creates simple flight plans for the current sim session , it is meant for military applications .
What I eventually want is to fit ground targets within a simple flight plan and the ability of the sluggish autopilot to handle the targets with precision.

Cheers
Karol
 
Hi Bob

Still trying to absorb all of this .
So a possible avenue could be Simconnect , I'll have to read that SDK.
Looks like I'm going to have to learn C++ , heck I'm only just beginning to learn a tiny bit of xml !

Cheers
Karol
 
FS provides no method for a gauge to read files, including SimConnect... be it an XML gauge or a C++ gauge. Any file access is strictly custom, like the LOGGER.dll is.
 
Bob

Actually ,I do not want to read the Flight plans .
I only wanted that folder to contain text documents.

What I'm after is 2 data storage documents.

The first would have an indexed list from 1 - 200 , it would list
waypoints , basically as follows:
1.... near Cannon AFB ......Lat/Long
then next line.

The second would list 50 flight plans, basically as follows:
1....near Lossimouth .... 00-WPT,01-WPT, ..... 17-WPT,18WPT.END
then next line.

Then have an instrument that could view either of those lists.
You would scroll the list to determine which you want to select for loading.
Then click the index number , set an INDEX if it's a WPT , then click load.
The third field in the chosen line would then be loaded as a flight plan by the
instrument.

What I am after is 'Lists' that can be edited and customised by any user to maximise options and user preferences.

I would prefer to avoid using a ddl if at all possible.

Cheers
Karol

Hi Karol

It is very easy to create files in .csv format, with excel, to create your own data for gflight plan, and LoggerX read easily the .csv format.

To see an exemple, I store my SID and STAR in .CSV format.
I have created an Excel mask edit file to create easily the csv file, and I read the .csv file with my gauge and I input the data in the GPS automatically.

See here the samples of SID and STAR from an airport of my database :

You can open the csv file with any text editor or with excel :
http://www.db-online.fr/francois/FD_FMC/LFPO.zip

If you want my xml files files, send me a PM.

The xml file to save or overwrite a flightplan needs only two inforamation :

A boolean variable that engage the save event
the departure position of the aircraft.
 
Fdd_fr

Thank you so much , that sounds perfect .
I had totally forgotten about SIDS and STARS , I used to use them in FS9 with FSNavigator .

Cheers
Karol

PS : I sent you a PM.
 
Last edited:
Back
Top