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

Mass Texture Editor Error

Messages
2
Country
spain
Hello! I'm experiencing some problems with ModelConverterX. Newly installed gave me no problem to convert the models. But now I am unable to do any new conversion.

When I press the "Update" button from Mass Texture Editor window, ModelConverter makes the texture conversion without problems. But then, when I press the "Match" buttom I get an error:

Unhandled exception has occurred in your application. if you click continue, the application will ignore this error and attempt continue. If you click quit, the application will close immediately.

Object reference not set to an instance of an object.

************** Texto de la excepción **************
System.NullReferenceException: Object reference not set to an instance of an object.
en ASToFra.TextureObject.TextureImage.Compare(TextureImage tex, Int32 tolerance)
en ASToFra.ModelConverterX.MassTextureEditorForm.cmdMatch_Click(Object sender, EventArgs e)
en System.Windows.Forms.Control.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnClick(EventArgs e)
en System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
en System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
en System.Windows.Forms.Control.WndProc(Message& m)
en System.Windows.Forms.ButtonBase.WndProc(Message& m)
en System.Windows.Forms.Button.WndProc(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
en System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
en System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Ensamblados cargados **************
mscorlib
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4952 (win7RTMGDR.050727-4900)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
ModelConverterX
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/ModelConverterX.exe
----------------------------------------
System.Windows.Forms
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
ObjectWriter
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/ObjectWriter.DLL
----------------------------------------
TextureObject
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/TextureObject.DLL
----------------------------------------
ObjectModel3D
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/ObjectModel3D.DLL
----------------------------------------
ObjectRenderer
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/ObjectRenderer.DLL
----------------------------------------
GRV11DLL
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.0.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/GRV11DLL.DLL
----------------------------------------
ObjectReader
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/ObjectReader.DLL
----------------------------------------
System.Windows.Forms.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms.resources/2.0.0.0_es_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Ionic.Zip.Reduced
Versión del ensamblado: 1.8.4.28
Versión Win32: 1.8.4.28
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/Ionic.Zip.Reduced.DLL
----------------------------------------
mscorlib.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4952 (win7RTMGDR.050727-4900)
Código base: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TextureLoader
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/TextureLoader.DLL
----------------------------------------
ObjectEditor
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/ObjectEditor.DLL
----------------------------------------
System.resources
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/System.resources/2.0.0.0_es_b77a5c561934e089/System.resources.dll
----------------------------------------
Accessibility
Versión del ensamblado: 2.0.0.0
Versión Win32: 2.0.50727.4927 (NetFXspW7.050727-4900)
Código base: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
TextureWriter
Versión del ensamblado: 1.0.0.0
Versión Win32: 1.3.0.0
Código base: file:///E:/CINE1/FLIGHT%20SIMULATOR%20X/ModelConverterX_latest_build/TextureWriter.DLL
----------------------------------------

Also, when I use the lod Creator I get a building without textures as you can see here:

modelconvertercuadros.jpg



I'm using windows 7 64, FSX with acceleration pack. Same results with ModelConverterX 1.2 and ModelConverterX last build (680).


Thanks in advance.
 
Hi,

The picture without the textures probably means that your textures are stored in a folder that is not on the search path. When you use the mass texture editor where did you save the new textures?

I will see if I can reproduce the crash with the match button.
 
Thanks for your fast reply :)

In Options, the texture search path is:
[MCXTEMP];[FILENAME];texture;..\texture;..\..\texture;[FSXPATH]\texture;[FSXPATH]\scenery\global\texture

Ok, In "texture folder" from Mass Texture Editor window I've tried with different folders like for example same folder where the .kmz is stored, or c:\textures. Then I get the error.
But with your reply I've realized that if I save the textures in c:\[folder when ModelConverteX is installed]\texture everything goes fine with no errors!
So, the exception only appears when I save textures in a folder that is not on the search path (the search parth texture folder will be empty with no textures), and I press the update button.

Thanks a lot. Now I understand the application a little better. I was going crazy with the error. Sorry for the inconvenience.
 
Hi,

I could reproduce the crash here, it seems to happen when a texture is not found. I will fix that in a future release.

I prefer to save the textures in the same folder as my MDL object will be saved as well. Then they stay together. Having them in the ModelConverterX folder could clutter things a bit.
 
Back
Top