You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 31, 2024. It is now read-only.
When looking through the files of the Wii U's Mii Maker application, I tried opening one of the BFRES files located in content\arcmain\main.sgarc.cmp\g3d\ and I get the error of System.IndexOutOfRangeException: Index was outside the bounds of the array.
Hope this get's fixed!!
Here's the full crash log
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Syroot.NintenTools.Bfres.Mesh.<GetIndices>d__27.MoveNext()
at System.Linq.Buffer`1..ctor(IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at FirstPlugin.BfresWiiU.ReadMeshes(FSHP fshp, Shape shp) in C:\projects\switch-toolbox\File_Format_Library\FileFormats\BFRES\BfresWiiU.cs:line 152
at FirstPlugin.BfresWiiU.ReadShapesVertices(FSHP fshp, Shape shp, VertexBuffer vertexBuffer, FMDL model) in C:\projects\switch-toolbox\File_Format_Library\FileFormats\BFRES\BfresWiiU.cs:line 144
at FirstPlugin.BfresWiiU.ReadModel(FMDL model, Model mdl) in C:\projects\switch-toolbox\File_Format_Library\FileFormats\BFRES\BfresWiiU.cs:line 102
at FirstPlugin.BFRES.LoadFile(ResFile res) in C:\projects\switch-toolbox\File_Format_Library\FileFormats\BFRES\BFRES.cs:line 1097
at FirstPlugin.BFRES.Load(Stream stream) in C:\projects\switch-toolbox\File_Format_Library\FileFormats\BFRES\BFRES.cs:line 832
at Toolbox.Library.IO.STFileLoader.SetFileFormat(IFileFormat fileFormat, String FileName, Stream stream, Boolean LeaveStreamOpen, Boolean InArchive, Boolean Compressed, ICompressionFormat FileCompression)
at Toolbox.Library.IO.STFileLoader.OpenFileFormat(Stream stream, String FileName, Boolean LeaveStreamOpen, Boolean InArchive, Boolean Compressed, ICompressionFormat CompressionFormat, Int64 DecompressedSize, Int64 CompressedSize)
at Toolbox.Library.ArchiveFileInfo.OpenFile()
at Toolbox.Library.ArchiveFileWrapper.OpenFileFormat(TreeView treeview)
at Toolbox.Library.ArchiveFileWrapper.OnDoubleMouseClick(TreeView treeview)
at Toolbox.Library.Forms.ObjectEditorTree.treeViewCustom1_DoubleClick(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnMouseDoubleClick(MouseEventArgs e)
at System.Windows.Forms.TreeView.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.8.9195.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Toolbox
Assembly Version: 1.0.2715.0
Win32 Version: 1.0.2715
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Toolbox.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9195.0 built by: NET481REL1LAST_B
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.8.9206.0 built by: NET481REL1LAST_B
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.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Toolbox.Library
Assembly Version: 1.0.2715.0
Win32 Version: 1.0.2715
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Toolbox.Library.DLL
----------------------------------------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 14.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9200.0 built by: NET481REL1LAST_C
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.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
DirectXTexNetImpl
Assembly Version: 1.0.0.3
Win32 Version:
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/x64/DirectXTexNetImpl.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
OpenTK
Assembly Version: 3.0.1.0
Win32 Version: 3.0.1
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/OpenTK.dll
----------------------------------------
Octokit
Assembly Version: 0.31.0.0
Win32 Version: 0.31.0.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Octokit.DLL
----------------------------------------
SFGraphics
Assembly Version: 1.0.6956.42501
Win32 Version: 1.0.6956.42501
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/SFGraphics.dll
----------------------------------------
OpenTK.GLControl
Assembly Version: 3.0.1.0
Win32 Version: 3.0.1
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/OpenTK.GLControl.dll
----------------------------------------
System.Net.Http
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
FirstPlugin.Plg
Assembly Version: 1.0.2715.0
Win32 Version: 1.0.2715
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Plugins/FirstPlugin.Plg.dll
----------------------------------------
GL_EditorFramework
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/GL_EditorFramework.DLL
----------------------------------------
FlatBuffers
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Plugins/FlatBuffers.DLL
----------------------------------------
Syroot.NintenTools.NSW.Bfres
Assembly Version: 1.2.3.0
Win32 Version: 1.2.3.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Syroot.NintenTools.NSW.Bfres.dll
----------------------------------------
Syroot.Maths
Assembly Version: 1.5.3.0
Win32 Version: 1.5.3.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Syroot.Maths.DLL
----------------------------------------
Syroot.NintenTools.Bfres
Assembly Version: 1.2.3.0
Win32 Version: 1.2.3.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Syroot.NintenTools.Bfres.dll
----------------------------------------
Syroot.BinaryData
Assembly Version: 2.0.1.0
Win32 Version: 2.0.1.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Syroot.BinaryData.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
Assembly Version: 3.0.6.0
Win32 Version: 3.0.6.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Plugins/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
Newtonsoft.Json
Assembly Version: 12.0.0.0
Win32 Version: 12.0.1.22727
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Newtonsoft.Json.dll
----------------------------------------
Syroot.NintenTools.NSW.Bntx
Assembly Version: 1.2.3.0
Win32 Version: 1.2.3.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Syroot.NintenTools.NSW.Bntx.dll
----------------------------------------
SPICA
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Plugins/SPICA.DLL
----------------------------------------
ZeldaLib
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Plugins/ZeldaLib.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.8.9195.0 built by: NET481REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.8.9037.0 built by: NET481REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Be.Windows.Forms.HexBox
Assembly Version: 1.6.0.38064
Win32 Version: 1.6.0.38064
CodeBase: file:///C:/Users/Chayt/OneDrive/Desktop/Switch/Lib/Be.Windows.Forms.HexBox.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:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
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.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When looking through the files of the Wii U's Mii Maker application, I tried opening one of the BFRES files located in
content\arcmain\main.sgarc.cmp\g3d\
and I get the error ofSystem.IndexOutOfRangeException: Index was outside the bounds of the array.
Hope this get's fixed!!
Here's the full crash log
The text was updated successfully, but these errors were encountered: