• 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.

How to make it recognize my autogendescriptions.xml?

Messages
16
Country
italy
Hi Arno
Thanks first for the amazing tool!
I followed the instructions to instal the tool and so far it works but when I launch the sim after putting my scenery and the autogenfolder as described nothing happens!?
My autogendescription file is a xml! Could it be that I have to convert it first in .spb? Or is the mistake I make an other one?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

The tool should read both xml and spb (if both are there the spb is taken).

Can you check the log file to see if your custom scenery was processed? The manual lists where you can find the log file.
 
Messages
16
Country
italy
Hi
Yes it was processed!

to avoid missundersandings here my folder structure: "Addon Scenery\Europe\Italy\Ancona\scenery
\texture
\autogen\AutogenDescriptions.xml (my ones)

autogenfolder flight sim: AutogenDescriptions.spb
AutogenDescriptions_Mid.spb
AutogenDescriptions_Min.spb
and so on......
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
You see in the log file that it was processed and that the updated global configurations are saved?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
But you see that your scenery was read? In that case it seems your custom definitions were there already, so no need to save them again.
 
Messages
16
Country
italy
following message showing up now after some tests:

17:26:38 | Processing scenery area: C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\addon scenery\europe\italy\ancona
17:26:38 | >> Found config: C:\Program Files (x86)\Microsoft Games\Microsoft Flight Simulator X\addon scenery\europe\italy\ancona\autogen\AutogenDescriptions.xml
17:26:38 | Error! Stopping...
17:26:38 | Object reference not set to an instance of an object.
17:26:38 | at FlightToolkit.SimProp.PropertySet.ReadXML(Symbols symbols, XmlTextReader xr)
at FlightToolkit.SimProp.PropertySet.ReadXML(Symbols symbols, XmlTextReader xr)
at FlightToolkit.SimProp.PropertySet.ReadXML(Symbols symbols, XmlTextReader xr)
at FlightToolkit.SimProp.XML.Read(Symbols symbols, Stream inputStream)
at FlightToolkit.SimProp.PropertySet.Load(Symbols symbols, Stream inputStream)
at FlightToolkit.SimProp.PropertySet.Load(Symbols symbols, String input)
at ASToFra.AutogenConfigurationMerger.SPBMerger.LoadPropertySet(String folder, String configFile)
at ASToFra.AutogenConfigurationMerger.SPBMerger.ProcessSceneryFolder(String folder)
at ASToFra.AutogenConfigurationMerger.AutogenConfigurationMerger..ctor(String[] args)

should the date of the AutogenDescription file change to today's date if the process is sucessfull or not?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I see there is a crash (stack dump) right below reading your file. So it seems something went wrong when trying to read it. Could you send me your XML file for testing, hopefully I can reproduce the error?
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Thanks, I'll try to reproduce the crash.
 
Messages
16
Country
italy
Hi Arno,
After some day's work and comparisons I foud out that my XML file had some little errors like one letter missing in a word and so on!!
After correction of XML file this was processde by your AutogenMerger wich works perfectly.
Sorry for that, I hope you didn't waste to much time to investigate.
Thks a lot
 

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
32,883
Country
netherlands
Hi,

I still think the tool should be more robust and not crash when it encounters such a XML file. So I'll try to make sure the crash doesn't happen and that invalid files are ignored.
 
Top