Switch-Toolbox icon indicating copy to clipboard operation
Switch-Toolbox copied to clipboard

Batch Export Model Export Error

Open skybook888 opened this issue 5 years ago • 4 comments

有关调用实时(JIT)调试而不是此对话框的详细信息,
请参见此消息的结尾。

************** 异常文本 **************
System.ArgumentOutOfRangeException: 索引超出范围。必须为非负值并小于集合大小。
参数名: index
  在 System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
  在 System.Collections.Generic.List`1.get_Item(Int32 index)
  在 Toolbox.Library.Collada.ColladaWriter.WriteLibraryController(String Name)
  在 Toolbox.Library.Collada.ColladaWriter.CreateControllerSection()
  在 Toolbox.Library.Collada.ColladaWriter.EndGeometrySection()
  在 Toolbox.Library.DAE.Export(String FileName, ExportSettings settings, List`1 Meshes, List`1 Materials, List`1 Textures, STSkeleton skeleton, List`1 NodeArray)
  在 Toolbox.Library.DAE.Export(String FileName, ExportSettings settings, STGenericModel model, List`1 Textures, STSkeleton skeleton, List`1 NodeArray)
  在 Toolbox.MainForm.SearchFileFormat(Settings settings, IFileFormat fileFormat, String extension, String outputFolder, ExportMode exportMode) 位置 C:\projects\switch-toolbox\Toolbox\MainForm.cs:行号 1523
  在 Toolbox.MainForm.BatchExportModels(String[] files, String outputFolder) 位置 C:\projects\switch-toolbox\Toolbox\MainForm.cs:行号 1407
  在 Toolbox.MainForm.batchExportModelsToolStripMenuItem_Click(Object sender, EventArgs e) 位置 C:\projects\switch-toolbox\Toolbox\MainForm.cs:行号 1380
  在 System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
  在 System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
  在 System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
  在 System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
  在 System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
  在 System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
  在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
  在 System.Windows.Forms.Control.WndProc(Message& m)
  在 System.Windows.Forms.ToolStrip.WndProc(Message& m)
  在 System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
  在 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

sorry for the language This mean index out of bound with the variable “Index” The error occurred on File of mario kart 8 path is Mario_Kart_8_Deluxe/romfs/Kart/Body/BodyB_Amb.szs

skybook888 avatar Jun 11 '20 12:06 skybook888

this error also occurs on Export Model when right click on the szs. but it doesn't occured on Export all when right click on the Models Folder inside the szs files

skybook888 avatar Jun 11 '20 12:06 skybook888

Could you send a file sample of the one that has this issue?

KillzXGaming avatar Jun 12 '20 23:06 KillzXGaming

BodyB_Amb.zip here‘s the file I thougt it occurs On those File who has multi models

skybook888 avatar Jun 15 '20 08:06 skybook888

BodyB_Amb.zip here‘s the file I thougt it occurs On those File who has multi models

兄弟,你解决了吗,我现在也是遇到了这个问题

NetNear avatar Nov 22 '23 01:11 NetNear