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

Error while loading interrior

Messages
3
Country
germany
Hi guys,

First of all thank you for this software. This is some really nice and extensive work :-)

I tried opening the Asobo TBM-930 and ran into some issues. I tried opening the aircraft.cfg and it somewhat loaded the plane, but broken. It only loads the exterior and some parts from the gear are misaligned. Same effect if I open the model\model.xml. As I'm interested in the interrior I tried opening the interior.xml and get a NullRefExeption:

Is there some chance for further logging to hunt down the issue?

Thank you very much, have a nice day.
 

Attachments

Which version of ModelConverterX did you use? The latest development release?

Not all skin and bone animations read correctly from models processed by the pakcager tool. That's a known issue.

I'll try to reproduce your issue.
 
Hi Arno,

i tried with 1.8.2025.1221
I tried loading from C:\Users\xxx\AppData\Roaming\Microsoft Flight Simulator\Packages\Official\Steam\asobo-aircraft-tbm930\SimObjects\Airplanes\Asobo_TBM930\model
 
Are you using MSFS 2020 or 2024?

You might want to try the development release as well, it contains improvements.
 
I use both 2020 and 2024. But the path i tried to load from was 2020 as I thought there might be some more stable behavior with the models. It seems like msfs24 links to the msfs20 models.

I tried dev release as well with no luck.
 
Ok, I'll try to reproduce it here once I have some time.
 
Hi,

I can load the TBM930.xml file without issues in ModelConverterX. If I try to load TBM930_interior.xml I get your error in version 1.8. Version 1.9 does not throw the error, but just reports in the log that no reader supports this file.

This is because the XML file is invalid. It contains tags with names like <SET_STATE_#POS_ON#> and using the # symbol in XML tag names is not allowed. So therefore the .NET XML reader I use can't parse the file.

I would have to check if this is just a mistake in this specific XML file or if MSFS is actually on purpose using invalid XML files (we have had issues like that before). If that is the case I probably need to find some workaround.
 
I have seen that these tags are listed in the SDK, so it is by design. I'll have to make MCX read these XML files that are officially not valid in some way then.
 
Hi,

I have modified ModelConverterX so that it will process the MSFS model XML files better.

But I must say that the Asobo developers did a really lousy job. Their XML files are full of illegal things that are not allowed in XML files. # in the tag names, closing tags that do not match the opening tag. I wonder what kind of XML parser the sim uses, because the standard .NET parser I use simply rejects XML files that do not follow the standard. I have added logic to ModelConverterX now to try to fix these inconsistencies before I parse the XML.

It will be in the next development release.
 
Back
Top