Have you guys tried just replacing the AutogenDescriptions.spb with the xml version? Generally a lot of the simprop processing code in FS will read from either spb, or xml if the spb doesn't exist. If everyone distributed the files as xml, it would make them easy to merge, but obviously, it wouldn't be as secure. You might also want to try the SimProp assembly in the Flight Toolkit. It might be able to read the FSX formated spb and xml. If not, I can fix it up
I believe for the autogen files they are just loaded at startup. I tried using my tools to parse the spb to xml and it didn't work, but I was able to fix it up.
Hello:
When used with FSX files (rather than with MS Flight files), what is the difference in output *.XML file format and content between the above "
FlightToolkit"
SimPropCompiler.exe :
http://flighttoolkit.com/wp-content/uploads/2014/06/FlightToolkit_1_0_0.zip
http://flighttoolkit.com/
...and the output *.XML file format and content derived from use of the
spb2xml.exe by Lamont Clark (aka "
lc0277") ?
http://lc0277.gratisim.fr/spb2xml2.zip
http://lc0277.gratisim.fr/software.html
Thanks in advance for any further explanation.
FYI: I'm curious what requirement there may be in the FSX SDK for specific *.XML file formatting, as IIRC, there was some mention of such a criteria in an old thread at AVSIM during some testing by Jesus Altuve (aka "bojote") which initially involved a mis-interpretation of results from a performance tweak that turned out instead as due to an accidental disabling of certain autogen content rendering (...because of an incompatible *.XML file format being ignored by the FSX SDK compiler and/or FSX run time rendering engine).
ISTR this was due to a some sort of incompatible "UTF-8" format being used instead of "UTF-16" during early tests to edit FSX content in *.XML files prior to re-compilation and/or FSX run time rendering of incorrectly formatted XML source code.
AFAIK, initial problems with incompatible *.XML file format may have subsequently been eliminated by using a 'text' editor which output to a XML format compatible with FSX SDK requirements.
http://forum.avsim.net/topic/317839-simple-stutters-fix-for-fsx/
I'm not certain if the above cited AVSIM thread also involved Byte Order Mark (aka "
BOM") issues ...as discussed in this somewhat related context dealing with "XML" in Ruby scripting for Sketchup:
http://sketchucation.com/forums/viewtopic.php?f=180&t=56528
http://en.wikipedia.org/wiki/Byte_order_mark
[
EDITED]
BTW: IIUC, one may prefer to use "
NotePad++" (aka "
NotePad plus-plus" or "NPP") to ensure output of FSX SDK compatible XML files; readers interested in using this freeware editor for text, XML, etc. may get it here:
http://notepad-plus-plus.org/
PS: I see that the default
NotePad++ titlebar designation of "
ANSI as UTF-8" was regarded as a '
bug' due to potential mis-interpretation as to what file format might result; IIUC this was fixed (...but not documented ?) in a May of 2014 bug-fix update.
A "e
Xtensible
Markup
Language (
*.XML)" output file type is now available in the NotePad++ 'Save As Type' pick list.
http://stackoverflow.com/questions/21977623/what-is-the-meaning-of-ansi-as-utf-8-in-notepad
http://sourceforge.net/p/notepad-plus/bugs/4095/
http://sourceforge.net/p/notepad-plus/patches/571/
By default NotePad++ auto-updates itself online every start-up; it is IMHO a good idea to allow this process to run.
PPS: A concurrent related discussion on UTF-8 versus UTF-16 and BOM with regard to XML files and FSX SDK compatibility:
http://www.fsdeveloper.com/forum/threads/xml-files.430825/
[END_EDIT]
GaryGB