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

FSX Running into trouble exporting FSX MDL with ModelConverterX

Messages
7
Country
ca-ontario
(I had originally posted this here before I was kindly shown the correct board dedicated to MCX by Heretic. If a moderator could please delete that thread, I would appreciate it.)

Original post
Hi all. Hope your day is going well, because mine is filled with frustration... For the past few days I have been trying to use ModelConverterX to move the default B737 VC in a freeware 767 I have downloaded. The cockpit is too far back obviously because its a 737 VC being used in a 767. which really isn't that much of an issue while flying. But taxiing/parking is a little troublesome since my viewpoint is farther back than the actual nose of the plane, jetways also attach in front of my face in the VC view, which is a little off setting. Anyway, I downloaded ModelConverterX and installed the FSX SDK off my boxed copy. It all starts up fine, I can import the model and move it forward no problem. Once I try to export it however, is where the trouble starts. I have ran into multiple issues regarding MCX not being to find certain executables, which I have easily solved by updating the locations in the MCX settings, but now I'm faced with an error which I cannot seem to get past for the life of me! The error handler reads:



Code:
An error occured during exporting the selected file



Message:

Object reference not set to an instance of an object.



StackTrace:

at ASToFra.Utils.ModelDef.FindGUID(String name)

at ASToFra.ObjectWriter.XWriter.WriteXANIMFile(String fileName, ObjectModel obj)

at ASToFra.ObjectWriter.XWriter.Write(String fileName, ObjectModel objectModel)

at ASToFra.ObjectWriter.MDLXWriter.Write(String fileName, ObjectModel objectModel)

at ASToFra.ObjectWriter.AllObjectWriter.write(String fileName, ObjectModel objectModel, Int32 filterIndex)

at ASToFra.ModelConverterX.MainWindow.bwExporter_DoWork(Object sender, DoWorkEventArgs e)





I am running Windows 10 64-bit, up to date AFAIK. I'm using FSX Gold Edition with Acceleration installed. If anyone can provide any insight to how to fix this, or even just what is causing it, I would greatly appreciate it : )
 
Maybe the SDK version is the culprit?
Check SDK Installation forum.
Or else you should check your Option settings in MCX. Are the paths OK in there?
 
This error seems related with the modeldef.xml file. Have you pointed that path to your sdk as well in the settings?
 
Maybe the SDK version is the culprit?
Check SDK Installation forum.
Or else you should check your Option settings in MCX. Are the paths OK in there?
Now that you mention it, I'm wondering if it could be because I'm using the acceleration expansion pack... I'm not sure what version MCX requires, but I did what was stated here under "FSX Acceleration Pack OR FSX Gold Pack users." I'll head over to the SDK forum and see what I can find over there. I'm 99% sure the paths are okay. I went and double checked just to be sure, they all seem fine. Minus two things related to FS2004, which I don't have. The FS2004 path and the FS2004 BGL compiler path. I'm not doing anything with BGL so I don't think its required for this...? I'm just opening an FS MDL, moving it 2.4 units forward and exporting it back to an FS MDL.


This error seems related with the modeldef.xml file. Have you pointed that path to your sdk as well in the settings?
I have pointed MCX to the modeldef.xml in settings, although I'm not entirely sure what you mean by also pointing my SDK to that path? Could you please elaborate on that?

Thanks.
 
Last edited:
Hi,

The Acceleration pack SDK should be fine for what you are doing. And the modeldef.xml setting sounds fine.

Which version of MCX are you using?
 
In that case try version 1.4, the development release. It has many bugfixes.
 
At last. Currently version 1.4 is working totally fine. I was able to export with no issues what so ever. I thought for sure I had something configured wrong, but all I needed was a newer version. You sir, are a life saver.
 
Back
Top