jam1garner / Smash-Forge

Open Source Editor of Smash 4 Filetypes
MIT License
147 stars 58 forks source link

Loading Any Model Errors #31

Closed SmashingRenders closed 6 years ago

SmashingRenders commented 7 years ago

Any time I try to open a nud or dae file, really any model file, I get this error:

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentException: Source array was not long enough. Check srcIndex and length, and the array's lower bounds. at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable) at Smash_Forge.NUT.ReadNTWU(FileData d) at Smash_Forge.NUT.Read(String filename) at Smash_Forge.NUT..ctor(String filename) at Smash_Forge.MainForm.openNud(String filename, String name) at Smash_Forge.MainForm.openFileToolStripMenuItem_Click(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ScrollableControl.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

Smash Forge Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/User/Desktop/Smash4Mods/Smash-Forge-Latest_Commit/Smash%20Forge.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

WeifenLuo.WinFormsUI.Docking Assembly Version: 2.9.0.0 Win32 Version: 2.9.0.0 CodeBase: file:///C:/Users/User/Desktop/Smash4Mods/Smash-Forge-Latest_Commit/lib/WeifenLuo.WinFormsUI.Docking.DLL

OpenTK Assembly Version: 1.1.0.0 Win32 Version: 1.1.1664.6217 CodeBase: file:///C:/Users/User/Desktop/Smash4Mods/Smash-Forge-Latest_Commit/lib/OpenTK.DLL

SALT Assembly Version: 1.2.2.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/User/Desktop/Smash4Mods/Smash-Forge-Latest_Commit/lib/SALT.DLL

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.6.1087.0 built by: NETFXREL4STAGE CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

OpenTK.GLControl Assembly Version: 1.1.0.0 Win32 Version: 1.1.1664.6217 CodeBase: file:///C:/Users/User/Desktop/Smash4Mods/Smash-Forge-Latest_Commit/lib/OpenTK.GLControl.DLL

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

Not sure what I'm doing wrong...or?

christiansonadult commented 7 years ago

It does the same with me

Demonslayerx8 commented 7 years ago

are you using the latest commit?