BrawlCrate / BrawlCrateIssues

Separate issue tracker repo for bugs submitted from the application, matching BrawlBox's implementation
3 stars 0 forks source link

Importing audio into brbnk #315

Open BrawlCrate opened 2 years ago

BrawlCrate commented 2 years ago

In the process of trying to import audio into a brbnk file, it crashed. The audio was some raw ADPCM

v0.37 x86

Insufficient memory to continue the execution of the program.
   at System.Runtime.InteropServices.Marshal.AllocHGlobal(IntPtr cb)
   at BrawlLib.Internal.UnsafeBuffer..ctor(Int32 size)
   at BrawlLib.SSBB.ResourceNodes.RSARFileAudioNode.Init(VoidPtr strmAddr, Int32 strmLen, WaveInfo* info)
   at BrawlLib.SSBB.ResourceNodes.WAVESoundNode.Replace(String fileName)
   at BrawlCrate.NodeWrappers.GenericWrapper.OnReplace(String inStream)
   at BrawlCrate.NodeWrappers.GenericWrapper.Replace()
   at BrawlCrate.NodeWrappers.GenericWrapper.ReplaceAction(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.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   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.ScrollableControl.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.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)