On Sat, 31 Jan 2009, Sébastien MARQUE wrote:

Hi all,

I've just noticed that at least these jsbsim aircrafts create a file
named "initfile.xml", inside the directory I use to launch FG.
...
that is not so disturbing as long as I don't have an important file
already named initfile.xml in the directory I use to launch FG :p, but
it is surprising to see that FG can write everywhere.

When I try to launch FG from /etc (with no write permissions) I've got
the following message in terminal: "Could not open and/or write the
state to the initial conditions file: initfile.xml", and FG continues
gently.

What is the purpose of this file?

Hi,

It is a useless file generated by JSBSim when FlightGear is reset. (Of course it is not always useless - it is useful for some applications of JSBSim/standalone). The functionality just carried over into FlightGear quite some time ago.

I'm using FG/CVS freshly compiled.

Are you sure? Since the latest (recent) JSBSim update in FlightGear initfile.xml generation should be disabled in FlightGear. (I committed that update to JSBSim.cxx myself :) I (thankfully) don't get initfile.xml:s here anymore and my source tree seems to match what's in FlightGear/CVS.

Cheers,

Anders
--
---------------------------------------------------------------------------
Anders Gidenstam
WWW: http://www.gidenstam.org/FlightGear/
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to