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

Help with XtoMDL

Messages
26
Country
brazil
Hi guys... I need some help.

I tried to compile a .X file (sorry, no Scully included) to a .MDL, but got some erros.

=====================

D:\Lockheed Martin\Prepar3D v2 SDK 2.1.9936.0\Modeling SDK\3DSM2014_x64\Plugins>xtomdl caixa.x

OutputFile: caixa.MDL
Output file after modification: caixa.MDL
Creating output MDL file: caixa.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0420024
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.FormatException: 0x hexadecimal esperado em '{0}'.
(0): error : em System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
(0): error : em System.Guid.TryParseGuidWithHexPrefix(String guidString, GuidResult& result)
(0): error : em System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
(0): error : em System.Guid..ctor(String g)
(0): error : em Microsoft.FlightSimulator.XmlToMdlLib.MDLProcessor.ProcessXmlStartElement()
(0): error : em Microsoft.FlightSimulator.XmlToMdlLib.MDLProcessor.LoadFile(Stream InputStream, XPartDict PartDictionary)
(0): error : em Microsoft.FlightSimulator.XmlToMdlLib.XmlToMdlLib.Process(Guid& ModelGuid, Stream AnimationData)
(0): error : em Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : em Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : em Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
(0): error :
(0): error : 0x hexadecimal esperado em '{0}'.
(0): error :
(0): error : Stack Trace:
(0): error : em System.Guid.GuidResult.SetFailure(ParseFailureKind failure, String failureMessageID, Object failureMessageFormatArgument, String failureArgumentName, Exception innerException)
(0): error : em System.Guid.TryParseGuidWithHexPrefix(String guidString, GuidResult& result)
(0): error : em System.Guid.TryParseGuid(String g, GuidStyles flags, GuidResult& result)
(0): error : em System.Guid..ctor(String g)
(0): error : em Microsoft.FlightSimulator.XmlToMdlLib.MDLProcessor.ProcessXmlStartElement()
(0): error : em Microsoft.FlightSimulator.XmlToMdlLib.MDLProcessor.LoadFile(Stream InputStream, XPartDict PartDictionary)
(0): error : em Microsoft.FlightSimulator.XmlToMdlLib.XmlToMdlLib.Process(Guid& ModelGuid, Stream AnimationData)
(0): error : em Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : em Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : em Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)

D:\Lockheed Martin\Prepar3D v2 SDK 2.1.9936.0\Modeling SDK\3DSM2014_x64\Plugins>

=====================

Do you have any ideas what I am doing wrong?

The files (.max and .x) are attached, to help.

Thank you!
:-)
 

Attachments

Did you set a guid and friendly name for the model?
 
In your X file the GUID and friendly name are empty. I think it's the empty GUID that results in the error. So I would try to set it again.
 
Error message... I think i'm noobier that I thought.
:(
 

Attachments

  • 3ds_problem.jpg
    3ds_problem.jpg
    484.5 KB · Views: 541
- How exactly do you export to .x file? Via File > Export? (better not use the Export Tool).

- Do I see a nonstandard character in your model's name (don't).

- Just invoking xtomdl filename.x usually isn't enough (check Wiki here).
 
Back
Top