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

MCX 1.6 it broke up

Messages
14
Country
argentina
Hi, I hope you can help me with this, since the last friday I have issues with MCX (and XtoMDL.exe ) I can export my model correctly, but in the other pcs of the it work fine. I any idea of whats happen here ?
the frist problem was the hierachy editor like this image
crash1.PNG

I can edit some of my custom_rec or visibilites
and then
 
What did you exactly do when this error appeared? It looks like it is something in the hierarchy editor.
 
What did you exactly do when this error appeared? It looks like it is something in the hierarchy editor.
Trying to change a vis and rec, and suddenly this error appear, I made some changes in the modeldef, add the new rect, open the mdl
I restart my pc from 0 thinking the was the problem, but it still there. Other thing I do before this problem appear was update all my frameworks and update my VisualStudio in trying to create gauge.
Therefore I trying to modify my model, export it, move the slider animation, all its gone fine, when I trying to check all it this their places, the error appers both x and mdl files.
I move mcx to other pc, and it work fine. But all my work is on the pc from take the screenshoot

This is the menssage on the dialog box

Consulte el final de este mensaje para obtener más detalles sobre cómo invocar a la depuración
Just-In-Time (JIT) en lugar de a este cuadro de diálogo.

************** Texto de la excepción **************
System.NullReferenceException: Referencia a objeto no establecida como instancia de un objeto.
en ASToFra.FSUtils.ModelDef.GetMouseRectNames()
en ASToFra.ModelConverterX.HierarchyEditor.SetMouseRectangleInformation(String mouseRectangle)
en ASToFra.ModelConverterX.HierarchyEditor.SetNodeInformation(IList obj)
en ASToFra.ModelConverterX.HierarchyEditor.LstSceneGraphSelectedIndexChanged(Object sender, EventArgs e)
en System.Windows.Forms.ListView.OnSelectedIndexChanged(EventArgs e)
en BrightIdeasSoftware.ObjectListView.OnSelectedIndexChanged(EventArgs e)
en System.Windows.Forms.ListView.WmReflectNotify(Message& m)
en System.Windows.Forms.ListView.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4645.0 built by: NET48REL1LAST_B
Código base: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
ModelConverterX
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ModelConverterX.exe
----------------------------------------
ASToFra.ErrorHandler
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.ErrorHandler.DLL
----------------------------------------
ASToFra.Interfaces
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Interfaces.DLL
----------------------------------------
ASToFra.Texture.Reader
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Texture.Reader.DLL
----------------------------------------
ASToFra.Object.DataModel
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Object.DataModel.DLL
----------------------------------------
ASToFra.Object.Reader
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Object.Reader.DLL
----------------------------------------
ASToFra.Object.Writer
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Object.Writer.DLL
----------------------------------------
ASToFra.Object.Renderer
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Object.Renderer.DLL
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4654.0 built by: NET48REL1LAST_B
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4650.0 built by: NET48REL1LAST_C
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4390.0 built by: NET48REL1LAST_C
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
ASToFra.Texture.Object
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Texture.Object.DLL
----------------------------------------
ASToFra.Texture.Writer
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Texture.Writer.DLL
----------------------------------------
ASToFra.Object.Processor
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Object.Processor.DLL
----------------------------------------
ASToFra.Utils
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Utils.DLL
----------------------------------------
System.Configuration
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4190.0 built by: NET48REL1LAST_B
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4662.0 built by: NET48REL1LAST_C
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
ASToFra.MapRenderer
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.MapRenderer.DLL
----------------------------------------
ASToFra.Geometry
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.Geometry.DLL
----------------------------------------
System.Xml
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4084.0 built by: NET48REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ASToFra.FSUtils
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.FSUtils.DLL
----------------------------------------
ASToFra.EventLog
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.EventLog.DLL
----------------------------------------
OpenTK.GLControl
Versión del ensamblado: 3.1.0.0
Versión Win32: 3.1.0
Código base: file:///E:/Aviones/ModelConverterX_160/OpenTK.GLControl.DLL
----------------------------------------
OpenTK
Versión del ensamblado: 3.1.0.0
Versión Win32: 3.1.0
Código base: file:///E:/Aviones/ModelConverterX_160/OpenTK.DLL
----------------------------------------
mscorlib.resources
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4084.0 built by: NET48REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_es_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------
ASToFra.ParticleEffects
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.ParticleEffects.DLL
----------------------------------------
Interop.WMPLib
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/Interop.WMPLib.DLL
----------------------------------------
ASToFra.LicenseHelper
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.LicenseHelper.DLL
----------------------------------------
Portable.Licensing
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.1.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/Portable.Licensing.DLL
----------------------------------------
System.Xml.Linq
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4084.0 built by: NET48REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
----------------------------------------
lib3ds.Net
Versión del ensamblado: 2.0.0.13171
Versión Win32: 2.0.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/lib3ds.Net.DLL
----------------------------------------
AssimpNet
Versión del ensamblado: 5.0.0.0
Versión Win32: 5.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/AssimpNet.DLL
----------------------------------------
ASToFra.XPUtils
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.6.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/ASToFra.XPUtils.DLL
----------------------------------------
pfim
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///E:/Aviones/ModelConverterX_160/pfim.DLL
----------------------------------------
ObjectListView
Versión del ensamblado: 2.9.1.25410
Versión Win32: 2.9.1.0
Código base: file:///E:/Aviones/ModelConverterX_160/ObjectListView.DLL
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 4.0.0.0
Versión Win32: 4.8.4084.0 built by: NET48REL1
Código base: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------

************** Depuración JIT **************
Para habilitar la depuración Just In Time (JIT), el archivo de configuración de esta
aplicación o equipo (machine.config) debe tener el
valor jitDebugging establecido en la sección system.windows.forms.
La aplicación también se debe compilar con la depuración
habilitada

Por ejemplo:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

Cuando esté habilitada la depuración JIT, cualquier excepción no controlada
se enviará al depurador JIT registrado en el equipo
en lugar de controlarlo mediante el cuadro de diálogo.
 
Last edited:
Glad to read you fixed it, I already wanted to ask you if tye modeldef.xml file was valid. I should make sure that MCX does not crash in that situation in the future.
 
Glad to read you fixed it, I already wanted to ask you if tye modeldef.xml file was valid. I should make sure that MCX does not crash in that situation in the future.
Sure, it was weird because I use small quantity off anims and rect, and when some its bad with the modeldef in my case 3ds max give a warning message in the animation manager or when the scripts begin the load of Prepar toolbox
 
I tried to reproduce this issue by making my XML invalid, but I don't get a crash. When the XML is not valid I just get an empty list of mouse rectangle names in the hierarchy editor.

Do you still remember what was wrong with the XML file?
 
I tried to reproduce this issue by making my XML invalid, but I don't get a crash. When the XML is not valid I just get an empty list of mouse rectangle names in the hierarchy editor.

Do you still remember what was wrong with the XML file?
Yes, I remember fix something like this

XML:
<PartInfo>
    <name>custom_rec_LLAVET_STARTER</name><!-- here name in lowercase-->
        <MouseRect>
            <Cursor>Hand</Cursor>
                <TooltipText>APU On/Off</TooltipText>
                <CallbackCode>
                    (L:A4AR_LLAVET_STARTER, bool) ! (&gt;L:A4AR_LLAVET_STARTER, bool)
                </CallbackCode>
        </MouseRect>
  </PartInfo>

and something in one anim

XML:
<PartInfo>
    <Name>custom_anim_LLAVET_STARTER</Name>
        <AnimLength>50</AnimLength>
        <Animation>
            <Paramter> <!-- missing e -->
                <Code>
                    (L:A4AR_LLAVET_STARTER, bool) 50 *
                </Code>
                <Lag>50</Lag>
            </Paramter>
        </Animation>
  </PartInfo>

fix this and all thing works fine
 
Thanks, I have been able to reproduce it now. The fix will be in the next development release.
 
Back
Top