- Messages
- 8
- Country
After upgrading to Win10 i cant use XToMdl. Worked fine in 8.1
When export from Blender (Using Blender2FSX) without "Export MDL" = No errors and i get T17.x and T17.x.xanim
If i check "Export MDL", this happens:
Traceback (most recent call last):
File "C:\Users\EngineerDK\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fsx\export_fsx.py", line 231, in Export
spawnv(P_WAIT, XToMdl, ['XToMdl.exe', '/XANIM', '/DICT:"%s"' % modeldef, '"%s"' % (ensure_ext(self.Config.filepath,'.x'))])
OSError: [Errno 0] Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\EngineerDK\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fsx\__init__.py", line 139, in execute
Exporter.Export()
File "C:\Users\EngineerDK\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fsx\export_fsx.py", line 239, in Export
raise ExportError("Export to .MDL failed. XToMdl.exe returned an error.")
io_scene_fsx.export_fsx.ExportError: Export to .MDL failed. XToMdl.exe returned an error.
location: <unknown location>:-1
If i try to use T17.x on XToMdl i get this:
Found dictionary file: C:\Program Files (x86)\Steam\steamapps\common\FSX\SDK\Environment Kit\Modeling SDK\bin\modeldef.xml
OutputFile: C:\Users\EngineerDK\Desktop\T17\T17.MDL
Output file after modification: C:\Users\EngineerDK\Desktop\T17\T17.MDL
Creating output MDL file: C:\Users\EngineerDK\Desktop\T17\T17.MDL
warning : Degenerate poly detected in file (C:\Users\EngineerDK\Desktop\T17\T17.x) mesh ()
warning : Face vertex 0 x=-1.207225 y=-0.106154 z=-0.000288
warning : Face vertex 1 x=-1.207225 y=-0.106154 z=-0.000288
warning : Face vertex 2 x=-1.207114 y=-0.102475 z=-0.027746
.
. (a lot of Degenerate poly warnings here)
.
warning : Degenerate poly detected in file (C:\Users\EngineerDK\Desktop\T17\T17.x) mesh ()
warning : Face vertex 0 x=1.207597 y=0.053077 z=0.091643
warning : Face vertex 1 x=1.20764 y=0.027458 z=0.102186
warning : Face vertex 2 x=1.207597 y=0.053077 z=0.091643
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.BadImageFormatException: Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
(0): error : File name: 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.BadImageFormatException: Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
(0): error : File name: 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
(0): error :
(0): error : WRN: Assembly binding logging is turned OFF.
(0): error : To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
(0): error : Note: There is some performance penalty associated with assembly bind failure logging.
(0): error : To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
(0): error :
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.BuildCrashTree()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.Optimize()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.ProcessAllFiles()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
(0): error :
(0): error :
(0): error :
(0): error : Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
(0): error :
(0): error : Stack Trace:
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.BuildCrashTree()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.Optimize()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.ProcessAllFiles()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
Getting a zero byte T17.MDL file which usually is when language is not set to UK, but its not the case here. Could it be the:
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
If yes... What to do?
When export from Blender (Using Blender2FSX) without "Export MDL" = No errors and i get T17.x and T17.x.xanim
If i check "Export MDL", this happens:
Traceback (most recent call last):
File "C:\Users\EngineerDK\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fsx\export_fsx.py", line 231, in Export
spawnv(P_WAIT, XToMdl, ['XToMdl.exe', '/XANIM', '/DICT:"%s"' % modeldef, '"%s"' % (ensure_ext(self.Config.filepath,'.x'))])
OSError: [Errno 0] Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\EngineerDK\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fsx\__init__.py", line 139, in execute
Exporter.Export()
File "C:\Users\EngineerDK\AppData\Roaming\Blender Foundation\Blender\2.76\scripts\addons\io_scene_fsx\export_fsx.py", line 239, in Export
raise ExportError("Export to .MDL failed. XToMdl.exe returned an error.")
io_scene_fsx.export_fsx.ExportError: Export to .MDL failed. XToMdl.exe returned an error.
location: <unknown location>:-1
If i try to use T17.x on XToMdl i get this:
Found dictionary file: C:\Program Files (x86)\Steam\steamapps\common\FSX\SDK\Environment Kit\Modeling SDK\bin\modeldef.xml
OutputFile: C:\Users\EngineerDK\Desktop\T17\T17.MDL
Output file after modification: C:\Users\EngineerDK\Desktop\T17\T17.MDL
Creating output MDL file: C:\Users\EngineerDK\Desktop\T17\T17.MDL
warning : Degenerate poly detected in file (C:\Users\EngineerDK\Desktop\T17\T17.x) mesh ()
warning : Face vertex 0 x=-1.207225 y=-0.106154 z=-0.000288
warning : Face vertex 1 x=-1.207225 y=-0.106154 z=-0.000288
warning : Face vertex 2 x=-1.207114 y=-0.102475 z=-0.027746
.
. (a lot of Degenerate poly warnings here)
.
warning : Degenerate poly detected in file (C:\Users\EngineerDK\Desktop\T17\T17.x) mesh ()
warning : Face vertex 0 x=1.207597 y=0.053077 z=0.091643
warning : Face vertex 1 x=1.20764 y=0.027458 z=0.102186
warning : Face vertex 2 x=1.207597 y=0.053077 z=0.091643
(0): error : XToMdl.exe Unhandled Application Exception
(0): error : System.BadImageFormatException: Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
(0): error : File name: 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' ---> System.BadImageFormatException: Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
(0): error : File name: 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'
(0): error :
(0): error : WRN: Assembly binding logging is turned OFF.
(0): error : To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
(0): error : Note: There is some performance penalty associated with assembly bind failure logging.
(0): error : To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
(0): error :
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.BuildCrashTree()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.Optimize()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.ProcessAllFiles()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
(0): error :
(0): error :
(0): error :
(0): error : Could not load file or assembly 'Managed_CrashTree, Version=10.0.61355.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
(0): error :
(0): error : Stack Trace:
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.BuildCrashTree()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.ModelProcessingContext.Optimize()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.ProcessAllFiles()
(0): error : at Microsoft.FlightSimulator.XToXmlLib.XToXmlLib.Process(ModelFile[] InputFiles, Hashtable[] AnimationLinkage, String[] AnimationFileRef, XPartDict PartDictionary)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.ProcessInputs()
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.RealMain(String[] args)
(0): error : at Microsoft.FlightSimulator.XToMDL.XToMDL.Main(String[] args)
Getting a zero byte T17.MDL file which usually is when language is not set to UK, but its not the case here. Could it be the:
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
If yes... What to do?