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

ModelDef.xml is not being located

Messages
163
Country
denmark
I have just installed FSDS 3.5.

But ModelDef.xml is not being located.
I have made a complete system search and the SDK is just installed.

Whats wrong?
 
Is your modeldef.xml file EXACTLY as per the default SDK installation (i.e., in the \bin folder?

WHile technically (for FSDS3.5) you could have both modeldef.xml and xtomdl.exe in the same folder (for example, the FSDS\plugins folder), I've decided to keep them in the default installation folders.

Also, do you have the SDK Sp1a installed?
 
Hi Felix

Never mind. I found it ;)

C:\Program Files\Microsoft Games\Microsoft Flight Simulator X SDK\SDK\Environment Kit\Modeling SDK\bin

It was not in the location as I was told.


Yes I have the sdk update installed.
 
What is vierd now is 3.5 can't compile the model.

It says:

Failed to create BGL file, and:

OutputFile: _temp.MDL
Output file after modification: _temp.MDL
Creating output MDL file: _temp.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0136710
Usage: XToMDL.exe /KEEP /NOGUI /BATCH /NOCRASH /BMP2DDS /XMLSAMPLE /XANIM /DICT:DictFileName /OUT:OutfileName Filename.X


I have installed the following:


Microsoft Flight Simulator Software Development Kit (SDK)
To assure maximum compatibility with Microsoft’s Flight Simulator 2004 and FSX, FS Design Studio creates new aircraft and scenery using the tools provided by Microsoft in their Software Development Kits (SDKs).

For FSX, you'll find the SDKs on the FSX Deluxe DVD #1 in the SDK folder. There is also Service Pack 1 update to the FSX SDKs that you must download from Microsoft’s website as well. The FSX SDKs are not available for download and are only found on the FSX DVD #1. To download and install Service Pack 1 update, you will have to have the SDKs from the FSX DVD #1 previously installed from Microsoft’s website.on DVD #1 of your Microsoft Flight Simulator X package.



MSXML 4.0 - filename: msxml.msi (5MB)
MSXML v4 is a set of services required to operate XML-based programs. *.XML files are used by the compilers from the Microsoft Flight Simulator SDKs (MakeMDL, XtoMDL and BGLComp). You will have to have MSXML installed in order to create aircraft and scenery.



.NET Framework v2 - filename: NETCFSetupv2.msi (38.5 MB)
The .NET Framework is a software development platform developed by Microsoft that is required for the compilers from the Microsoft Flight Simulator SDKs (MakeMDL, XtoMDL and BGLComp) to operate.



DirectX 9.0c August Update or later - filename: directx_aug2007_redist.exe (60 MB)
Flight Simulator 2004 and Flight Simulator X both include DirectX 9.0c, however Microsoft has provided updates to DirectX since 9.0c.
 

Attachments

  • error.jpg
    error.jpg
    35.6 KB · Views: 920
XToMDL Problem

It still says failed to create BGL file.

After I click okay in FSDS 3.5, this message pops up:


OutputFile: _temp.MDL
Output file after modification: _temp.MDL
Creating output MDL file: _temp.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0136710
Usage: XToMDL.exe /KEEP /NOGUI /BATCH /NOCRASH /BMP2DDS /XMLSAMPLE /XANIM /DICT:dictFileName /OUT:OutfileName Filename.X

I also have the service pack for the SDK installed.
I have downloaded all required files, and reinstalled the SDK but no luck.
FSDS 3.5 works great but 3.5 does not.

Any one else having this problem?

I can't see what is missing as I already have all the files Abacus requests.
 
Last edited:
I tryed that also, but the same thing happens.
It says gennerating scenery drawing code, and nothing ever happens after that.

If I close the window, it says:

OutputFile: _temp.MDL
Output file after modification: _temp.MDL
Creating output MDL file: _temp.MDL
CRASHTREE no granularity specified
CRASHTREE completed in 00:00:00.0136710
Usage: XToMDL.exe /KEEP /NOGUI /BATCH /NOCRASH /BMP2DDS /XMLSAMPLE /XANIM /DICT:DictFileName /OUT:OutfileName Filename.X
 
When I click on makemodel just to test it, it opens fine.

But if I try to click on xtomodel it goes black like the screenshot shows.

And if I chose to use makemdl instead of xtomdl it says:


Running model

Start! (_temp.x)
Loading X _temp.x...
ERROR: Invalid X file: _temp.x.
Error!
Error!


As I said before, all works fine with FSDS 3.0 but not with FSDS 3.5

I think there is a bug.
 

Attachments

  • error.jpg
    error.jpg
    27.5 KB · Views: 848
  • error2.jpg
    error2.jpg
    22.9 KB · Views: 857
Last edited:
Check to see what your international settings are.

I just read a post from a user having a similar problem who solved it by changing his international decimal settings from the Europeand decima "," (comma) to the US standard decimal " . " (period).
 
But if I try to click on xtomodel it goes black like the screenshot shows.

And if I chose to use makemdl instead of xtomdl it says:

X2MDL.exe is a command line program, and as such you cannot run it by "doubleclicking" in an Explorer window... :eek:

If you wish to run it manually, then you'd have to open a Command Box, and then type in all the input parameters manually.
 
When I click on makemodel just to test it, it opens fine.

But if I try to click on xtomodel it goes black like the screenshot shows.

And if I chose to use makemdl instead of xtomdl it says:


Running model

Start! (_temp.x)
Loading X _temp.x...
ERROR: Invalid X file: _temp.x.
Error!
Error!


As I said before, all works fine with FSDS 3.0 but not with FSDS 3.5

I think there is a bug.

I had the same problem and the solution for me was to get the latest version of DirectX. You can get it here:

http://www.microsoft.com/downloads/Browse.aspx?displaylang=en&categoryid=2
 
Last edited:
fsds 3.5 problem

I'm having the same problem. will update my directx 9c but 3.5 seems to want the x to mdl not makemdl. Also- My preferences allows me to point to fs9 (only sim I have) and texture folder I use but not any way to point to where I want my mdl I created to go to! Will getting x to mdl help? But can't get x to mdl without FSX! catch 22.
 
I'm having the same problem. will update my directx 9c but 3.5 seems to want the x to mdl not makemdl. Also- My preferences allows me to point to fs9 (only sim I have) and texture folder I use but not any way to point to where I want my mdl I created to go to! Will getting x to mdl help? But can't get x to mdl without FSX! catch 22.

When you export your scenery object you get a "SAVE AS" dialog, where you choose the file to export your object to.
 
I have just installed FSDS 3.5.

But ModelDef.xml is not being located.
I have made a complete system search and the SDK is just installed.

Whats wrong?

ModelDef.xml is located in Microsoft Flight Simulator X SDK\SDK\Environment Kit\Modeling SDK\bin\

Ben
 
Back
Top