Ohana3DS-Rebirth icon indicating copy to clipboard operation
Ohana3DS-Rebirth copied to clipboard

Wine 1.9.24 - Crashes when trying to load a .bin

Open Sparen opened this issue 7 years ago • 1 comments

When trying to load a bin, program creates a mwf_config file and then crashes with the following:

System.InvalidProgramException: Invalid IL code in Microsoft.DirectX.Direct3D.Manager:CheckDeviceMultiSampleType (int,Microsoft.DirectX.Direct3D.DeviceType,Microsoft.DirectX.Direct3D.Format,bool,Microsoft.DirectX.Direct3D.MultiSampleType): IL_0008: call      0x060005ab


  at Ohana3DS_Rebirth.Ohana.RenderEngine.initialize (IntPtr handle, Int32 width, Int32 height) <0xb9ef2a8 + 0x000e3> in <filename unknown>:0 
  at Ohana3DS_Rebirth.GUI.OViewportPanel.launch (System.Object data) <0xb9eeea8 + 0x00107> in <filename unknown>:0 
  at Ohana3DS_Rebirth.FrmMain.open (System.String fileName) <0xb9c7638 + 0x004e5> in <filename unknown>:0 
  at Ohana3DS_Rebirth.FrmMain.MenuOpen_Click (System.Object sender, System.EventArgs e) <0xb93aaa8 + 0x0007b> in <filename unknown>:0 
  at System.Windows.Forms.ToolStripItem.OnClick (System.EventArgs e) <0xb9388e0 + 0x00056> in <filename unknown>:0 
  at System.Windows.Forms.ToolStripMenuItem.OnClick (System.EventArgs e) <0xb9385d0 + 0x00287> in <filename unknown>:0 
  at System.Windows.Forms.ToolStripMenuItem.HandleClick (Int32 mouse_clicks, System.EventArgs e) <0xb938588 + 0x0001b> in <filename unknown>:0 
  at System.Windows.Forms.ToolStripItem.FireEvent (System.EventArgs e, ToolStripItemEventType met) <0xb923e38 + 0x000b5> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.ToolStripItem:FireEvent (System.EventArgs,System.Windows.Forms.ToolStripItemEventType)
  at System.Windows.Forms.ToolStrip.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) <0xb938320 + 0x00167> in <filename unknown>:0 
  at System.Windows.Forms.ToolStripDropDown.OnMouseUp (System.Windows.Forms.MouseEventArgs mea) <0xb939888 + 0x00017> in <filename unknown>:0 
  at System.Windows.Forms.Control.WmLButtonUp (System.Windows.Forms.Message& m) <0xb938018 + 0x00124> in <filename unknown>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) <0x1d4d0c0 + 0x001c3> in <filename unknown>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) <0x1dc9c00 + 0x00017> in <filename unknown>:0 
  at System.Windows.Forms.ToolStrip.WndProc (System.Windows.Forms.Message& m) <0x1dcfc70 + 0x00017> in <filename unknown>:0 
  at System.Windows.Forms.ToolStripDropDown.WndProc (System.Windows.Forms.Message& m) <0xb9311e8 + 0x0003f> in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlWindowTarget.OnMessage (System.Windows.Forms.Message& m) <0x1d4d0a0 + 0x0001d> in <filename unknown>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) <0x1d4d070 + 0x0002b> in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x1d4b770 + 0x0037f> in <filename unknown>:0 

Unhandled Exception:
System.NullReferenceException: Object reference not set to an instance of an object
  at Ohana3DS_Rebirth.Ohana.RenderEngine.Dispose (Boolean disposing) <0xba000f0 + 0x00156> in <filename unknown>:0 
  at Ohana3DS_Rebirth.Ohana.RenderEngine.Dispose () <0xba000c8 + 0x00018> in <filename unknown>:0 
  at Ohana3DS_Rebirth.GUI.OViewportPanel.finalize () <0xb9ffdb0 + 0x0002f> in <filename unknown>:0 
  at Ohana3DS_Rebirth.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) <0xb9ffd68 + 0x00028> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) <0xb9c68b8 + 0x00056> in <filename unknown>:0 
  at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) <0xb9c67b8 + 0x0007b> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) <0xb9ff740 + 0x001c7> in <filename unknown>:0 
  at System.Windows.Forms.Application.Exit () <0xb9ff708 + 0x00027> in <filename unknown>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) <0xb9f1730 + 0x0010b> in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) <0xb9f1718 + 0x00013> in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x1d4b770 + 0x00b67> in <filename unknown>:0 
  at System.Windows.Forms.XplatUIWin32.InternalWndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x1d4b530 + 0x00063> in <filename unknown>:0 
  at (wrapper native-to-managed) System.Windows.Forms.XplatUIWin32:InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr)
  at (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32:Win32DispatchMessage (System.Windows.Forms.MSG&)
  at System.Windows.Forms.XplatUIWin32.DispatchMessage (System.Windows.Forms.MSG& msg) <0x1e2f438 + 0x00013> in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) <0x1e2f418 + 0x0001d> in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x1dc6f80 + 0x00a1f> in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x1dc6ef0 + 0x00043> in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x1dc6c70 + 0x00033> in <filename unknown>:0 
  at Ohana3DS_Rebirth.Program.Main (System.String[] args) <0x1d30fa8 + 0x00083> in <filename unknown>:0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object
  at Ohana3DS_Rebirth.Ohana.RenderEngine.Dispose (Boolean disposing) <0xba000f0 + 0x00156> in <filename unknown>:0 
  at Ohana3DS_Rebirth.Ohana.RenderEngine.Dispose () <0xba000c8 + 0x00018> in <filename unknown>:0 
  at Ohana3DS_Rebirth.GUI.OViewportPanel.finalize () <0xb9ffdb0 + 0x0002f> in <filename unknown>:0 
  at Ohana3DS_Rebirth.FrmMain.FrmMain_FormClosing (System.Object sender, System.Windows.Forms.FormClosingEventArgs e) <0xb9ffd68 + 0x00028> in <filename unknown>:0 
  at System.Windows.Forms.Form.OnFormClosing (System.Windows.Forms.FormClosingEventArgs e) <0xb9c68b8 + 0x00056> in <filename unknown>:0 
  at System.Windows.Forms.Form.FireClosingEvents (CloseReason reason, Boolean cancel) <0xb9c67b8 + 0x0007b> in <filename unknown>:0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Form:FireClosingEvents (System.Windows.Forms.CloseReason,bool)
  at System.Windows.Forms.Application.Exit (System.ComponentModel.CancelEventArgs e) <0xb9ff740 + 0x001c7> in <filename unknown>:0 
  at System.Windows.Forms.Application.Exit () <0xb9ff708 + 0x00027> in <filename unknown>:0 
  at System.Windows.Forms.Application.OnThreadException (System.Exception t) <0xb9f1730 + 0x0010b> in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.OnThreadException (System.Exception e) <0xb9f1718 + 0x00013> in <filename unknown>:0 
  at System.Windows.Forms.NativeWindow.WndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x1d4b770 + 0x00b67> in <filename unknown>:0 
  at System.Windows.Forms.XplatUIWin32.InternalWndProc (IntPtr hWnd, Msg msg, IntPtr wParam, IntPtr lParam) <0x1d4b530 + 0x00063> in <filename unknown>:0 
  at (wrapper native-to-managed) System.Windows.Forms.XplatUIWin32:InternalWndProc (intptr,System.Windows.Forms.Msg,intptr,intptr)
  at (wrapper managed-to-native) System.Windows.Forms.XplatUIWin32:Win32DispatchMessage (System.Windows.Forms.MSG&)
  at System.Windows.Forms.XplatUIWin32.DispatchMessage (System.Windows.Forms.MSG& msg) <0x1e2f438 + 0x00013> in <filename unknown>:0 
  at System.Windows.Forms.XplatUI.DispatchMessage (System.Windows.Forms.MSG& msg) <0x1e2f418 + 0x0001d> in <filename unknown>:0 
  at System.Windows.Forms.Application.RunLoop (Boolean Modal, System.Windows.Forms.ApplicationContext context) <0x1dc6f80 + 0x00a1f> in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.ApplicationContext context) <0x1dc6ef0 + 0x00043> in <filename unknown>:0 
  at System.Windows.Forms.Application.Run (System.Windows.Forms.Form mainForm) <0x1dc6c70 + 0x00033> in <filename unknown>:0 
  at Ohana3DS_Rebirth.Program.Main (System.String[] args) <0x1d30fa8 + 0x00083> in <filename unknown>:0 

MacOSX El Capitan, build from KazoWAR's distribution.

Sparen avatar Dec 06 '16 19:12 Sparen

You can try SPICA: https://github.com/gdkchan/SPICA

Which should replace Ohana3DS at some point, through its missing a lot of features. It uses OpenTK that is basically a OpenGL wrapper for .NET, so it should run on the three major OSes (Windows, Linux and Mac) using Mono through tbh I only tested it on Windows.

gdkchan avatar Dec 08 '16 22:12 gdkchan