FlightGear version check: Difference between revisions

Jump to navigation Jump to search
no edit summary
m (→‎Fgdata: logprint shows up in fgfs.log files, so is more useful here)
No edit summary
Line 1: Line 1:
{{Stub}}
{{Stub}}


{{caution|When installing/using aircraft the FlightGear version and the aircraft version must match. Otherwise strange bugs should be expected and the version-mismatch combination will not be supported by the FlightGear community.}}
{{caution|When installing/using aircraft the FlightGear version and the aircraft version must match. Otherwise strange bugs should be expected and the version-mismatch combination will not be supported by the FlightGear community.}}


[[File:Version-mismatch-dialog.png|thumb|pui/xml dialog showing a version conflict between fgfs binary and aircraft version]]


If in doubt, people should check the [[About dialog]] or even /sim/version in the property tree using the proeperty brwoser.
If in doubt, people should check the [[About dialog]] or even /sim/version in the property tree using the proeperty brwoser.


[[File:Property-browser-showing-version-info.png|thumb|property browser showing /sim/version info]]


== For aircraft developers ==
== For aircraft developers ==
Line 18: Line 19:


== Fgdata ==
== Fgdata ==
[[File:Property-browser-showing-version-info.png|thumb|property browser showing /sim/version info]]
{{Note|This is currently just proof-of-concept code which will need to be refined/reviewed and committed to fgdata.}}
{{Note|This is currently just proof-of-concept code which will need to be refined/reviewed and committed to fgdata.}}
[[$FG_ROOT]]/Nasal/version.nas (this ensures that the check will be executed for each loaded aircraft, without having to touch any -set.xml files, and it will also work with [[Reset & re-init]]).
[[$FG_ROOT]]/Nasal/version.nas (this ensures that the check will be executed for each loaded aircraft, without having to touch any -set.xml files, and it will also work with [[Reset & re-init]]).

Navigation menu