codafy / showmiiwads

Automatically exported from code.google.com/p/showmiiwads
0 stars 0 forks source link

Renaming wad causes crash #18

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1- select a folder with a few IOS wads and one wad with a channel banner
2- right click the channel and try to rename it
3- unhandled exception

using the x64 binary from the downloads on this site in windows XP x64. 
also happens when compiled and run in mono with and without the x64 #defined.

************** Exception Text **************
System.IndexOutOfRangeException: Index was outside the bounds of the array.
   at Wii.WadEdit.ChangeChannelTitle(Byte[] wadfile, String jap, String
eng, String ger, String fra, String spa, String ita, String dut)
   at Wii.WadEdit.ChangeChannelTitle(String wadfile, String jap, String
eng, String ger, String fra, String spa, String ita, String dut)
   at ShowMiiWads.ShowMiiWads_Main.cmChannelName_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.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.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.WndProc(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)

Original issue reported on code.google.com by giantpune@gmail.com on 8 Feb 2010 at 2:42

GoogleCodeExporter commented 8 years ago
Just tried it and it doesn't occur. Maybe the channel wad is causing the issue. 
Could
you send it to me?

Original comment by Lea...@gmail.com on 9 Feb 2010 at 11:26

GoogleCodeExporter commented 8 years ago
the wad is just a copy of the usb loader GX forwarder.  i used dolmii to change 
the
dol and it works.  and i used showmiiwads to change the ID and that worked.  
nothing
else has touched that wad.  the other wads in the directory are IOS and system 
menu
wads created by NUS Wadpacker.

screen capture - http://rapidshare.com/files/348561524/out.mp4.rar.html
the directory which caused the crash -
http://rapidshare.com/files/348565044/wads.rar.html

Original comment by giantpune@gmail.com on 10 Feb 2010 at 8:33

GoogleCodeExporter commented 8 years ago
Thx, got it. Fixed in the next version :)

Original comment by Lea...@gmail.com on 10 Feb 2010 at 3:08