Parameter is not vaild.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentException: Parameter is not valid.
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at Ohana3DS_Rebirth.Ohana.TextureUtils.getBitmap(Byte[] array, Int32 width, Int32 height) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\Ohana\TextureUtils.cs:line 18
at Ohana3DS_Rebirth.Ohana.TextureCodec.decode(Byte[] data, Int32 width, Int32 height, OTextureFormat format) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\Ohana\TextureCodec.cs:line 294
at Ohana3DS_Rebirth.Tools.OBCHTextureReplacer.loadPKM(FileStream data, BinaryReader input) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\Tools\OBCHTextureReplacer.cs:line 391
at Ohana3DS_Rebirth.Tools.OBCHTextureReplacer.open(String fileName) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\Tools\OBCHTextureReplacer.cs:line 137
at Ohana3DS_Rebirth.Tools.OBCHTextureReplacer.open() in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\Tools\OBCHTextureReplacer.cs:line 95
at Ohana3DS_Rebirth.Tools.OBCHTextureReplacer.OBCHTextureReplacer_KeyDown(Object sender, KeyEventArgs e) in C:\Users\smb12\Documents\Ohana3DS-Rebirth\Ohana3DS Rebirth\Tools\OBCHTextureReplacer.cs:line 61
at System.Windows.Forms.Control.OnKeyDown(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Form.ProcessKeyPreview(Message& m)
at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
at System.Windows.Forms.Control.ProcessKeyPreview(Message& m)
at System.Windows.Forms.Control.ProcessKeyMessage(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.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: 2.0.0.0
Win32 Version: 2.0.50727.9044 (WinRelRS5.050727-9000)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
Ohana3DS Rebirth
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/nn352/Downloads/Custom%20Texture%20Tutorial%20Sun-Moon/Sun-Moon%20Ohana3ds/Ohana3DS%20Rebirth.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9038 (WinRelRS5.050727-9000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9042 (WinRelRS5.050727-9000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9031 (WinRelRS5.050727-9000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9031 (WinRelRS5.050727-9000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.9031 (WinRelRS5.050727-9000)
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Core
Assembly Version: 3.5.0.0
Win32 Version: 3.5.30729.9034 built by: WinRelRS5
CodeBase: file:///C:/windows/assembly/GAC_MSIL/System.Core/3.5.0.0__b77a5c561934e089/System.Core.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.