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

FSXA Sudden Compiler Failure! :SOLVED!

n4gix

Resource contributor
Messages
11,674
Country
unitedstates
Yesterday afternoon I was moving along working on my latest assignment from Milviz when suddenly and without warning compiling the .x and .xanim files quit working entirely!

After trying everything including altering my SendTo shortcut to use different SDK versions, I finally tried Brandon's "XtoMDL UI" to see if it would work. The "compile" of a 52,003 KB .x file took less than one second (impossible of course) and claims to have generated a 50.78 MB MDL file...

...which it didn't naturally! :scratchch

Code:
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation.  All rights reserved.

C:\DATA\FS Tools\XtoMDLUI>"C:\DATA\FS Tools\XToMDL\x64\XToMDL.exe" "C:\DATA\FSX\SimObjects\Airplanes\MV_Lear60XR\model\MV_Lear60XR_ext.X" /NOCRASH /XANIM /DICT:"C:\DATA\P3Dv2.4 SDK\Modeling SDK\bin\modeldef.xml"

COMPILATION COMPLETE: 50.78 MB MDL file generated.
 
What did the error log file say?

52,000 KB x file is rather long isn't it? ... did you try adding the /WRITETOFILE switch, as in this batch rigmarole...

Code:
"D:\P3D14\Environment Kit\Modeling SDK\3dsm2011\Plugins\XtoMDL.exe" /WRITETOFILE /XANIM /DICT:"D:\P3D14\Environment Kit\Modeling SDK\bin\modeldef.xml" %1 > %1_errors.txt
 
Mine was doing this several days ago, right after I reinstalled windows on my computer. Now, I have reinstalled my SDK's and the exporters are once again working.

Are you using the Prepar3D SDK systems?



Bill
LHC
 
@bill - Yes, I have tried P3D v1.2, 2.x, and 3.x for both the export module and the xtomdl.exe compiler.

@mjahn - There was no error log. What I found decidedly odd however was the report of success by Brandon's "XtoMDL UI", given that no actual .mdl file was ever created! :banghead:
 
Dumb questions: Have you tried turning the PC off and on again? Check the Windows error logs? Check installed updates? Test export and compile parts of the model or simple shapes?
 
Not dumb questions at all. I did finally discover (through using Shawn's version of xtomdl.exe) that there were two duplicated GUIDs that had snuck into my modeldef.xml file. Why MS/ACES/L-M couldn't have shown that error is anyone's guess!

However, by this time I'd managed to FUBAR my SendTo shortcut, so it took awhile before I got that (mostly) straightened out.

Now I'm trying to figure out why animations aren't working with this bloody external model! For example, a rudder stays stuck full left in the sim, but Arno's MCX shows the animation working? Go fish! :banghead:

I'm a suborn SOB at the best of times, but finally I found out that 1) all the animations in this external model are not Linear transforms, and 2) I need to reset all transforms to Linear, and finally 3) Merge these parts into a totally New scene to get them working.
 
Last edited:
Bill, you know the sendto has worked for the past umpteen times. To doubt it must have been just a minor glitch in the thought process. How often I have second guessed myself in the same situations. Keep on strutting. :teacher:
 
Not dumb questions at all. I did finally discover (through using Shawn's version of xtomdl.exe) that there were two duplicated GUIDs that had snuck into my modeldef.xml file. Why MS/ACES/L-M couldn't have shown that error is anyone's guess!

The GUID error normally pops up in the XToMDL error log. Which version of the compiler are you using? FSXA?
 
The GUID error normally pops up in the XToMDL error log. Which version of the compiler are you using? FSXA?
I'm using P3D v1.2 SDK for FSX/P3D compiling. Unfortunately for me, the redirect to save the error log isn't working. I end up with a zero byte "buildlog.txt" file. :ziplip:

I also discovered late yesterday afternoon that after resetting the animation controllers to Linear, I needed to Merge the objects into a new .max scene before animations would begin working again.
 
Lots of fun dealing with other people's work, eh Bill?
Right! What frustrates me is that the person(s) creating the mesh, UVW maps, and initial texturing are fantastic...

...but know nothing at all apparently about getting their work into the sim. Aside from the wrong controllers, this model was built backwards facing, and was so far off the "home grid" that it was floating in the air about 5 meters, and far forward of the visual model center. <thud!> :stirthepo
 
There you go........ :)

How about when you forget to scale it, cant find it anywhere, says its in there... Then you realize you are in it, and its the size of Manhattan Island.... :)
 
There you go........ :)

How about when you forget to scale it, cant find it anywhere, says its in there... Then you realize you are in it, and its the size of Manhattan Island.... :)
Oh my! That's a novice mistake. :oops:
I think I would have made up an alternate story. :p
 
Paul, that's precisely what happened to me on my first (and only) freeware aircraft. Imagine a TB20GT that's not just Manhattan sized, but more Rhode Island size! Yikes! :rotfl:

I've never done that since... :confused:
 
Back
Top