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

Xtomdl Error

Messages
383
Country
unitedkingdom
Hi

Bit confused.....I havent compiled an X file to a mdl for a while. I tried the first time today for quite a few months but I keep getting an error? both using the FSX xtomdl and P3d xtomdl either directly, from command prompt or in MCX. The model itself is not that complex, its a Nissen Hut and I tried it on a simple box which resulted in the same error.

This is the error I get when tring to export through MCX

16:13 XtoMDL Information (0): error : XToMdl.exe Unhandled Application Exception
16:13 XtoMDL Information (0): error : System.Xml.XmlException: An error occurred while parsing EntityName. Line 901, position 49.
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.Throw(Exception e)
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.ParseEntityName()
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.ParseEntityReference()
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.Read()
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReader.Read()
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XmlToMdlLib.MDLProcessor.LoadFile(Stream InputStream, XPartDict PartDictionary)
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XmlToMdlLib.XmlToMdlLib.Process(Guid& ModelGuid, Stream AnimationData)
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
16:13 XtoMDL Information (0): error :
16:13 XtoMDL Information (0): error : An error occurred while parsing EntityName. Line 901, position 49.
16:13 XtoMDL Information (0): error :
16:13 XtoMDL Information (0): error : Stack Trace:
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.Throw(Exception e)
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.Throw(String res, String arg)
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.ParseEntityName()
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.ParseEntityReference()
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReaderImpl.Read()
16:13 XtoMDL Information (0): error : at System.Xml.XmlTextReader.Read()
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XmlToMdlLib.MDLProcessor.LoadFile(Stream InputStream, XPartDict PartDictionary)
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XmlToMdlLib.XmlToMdlLib.Process(Guid& ModelGuid, Stream AnimationData)
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
16:13 XtoMDL Information (0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)


I havent changed anything on my Pc in that time apart from installing F1 2015 and the various windows updates that have been installed since I last compiled an X file.

I'm not sure if something has corrupted, we had a power drop out a few nights ago while the PC was running but I'm not sure what is required for Xto mdl to run I tried installing various things like Direct X and netframework but it said I already had them installed.

Stevo ;)
 
Forgot to say the resulting MDL has a file size of 0

EDIT: Seems to be something to do with the FSX materials in 3dsmax? If I remove them the model compiles ok....?

:)

EDIT 2: mmm 2 out of my three materials work, the third one which is standard 1024x1024 as soon as its added to the diffuse channel and exported it is this which causes the error.
 
Last edited:
really!!! :rolleyes: I used an ampersand in one of my texture names D&W_01.psd it was this that caused the error......:censored: compiling ok now. Not sure why it didnt work for a plain box, maybe because I exported it from the same scene and not a fresh one.

oh well...may come in handy if someone else comes across the same error, and spends all afternoon scratching ones head.....:wave:

:confused:
 
Back
Top