BrawlCrate / BrawlCrateIssues

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

Folder in archive not exporting #176

Open BrawlCrate opened 4 years ago

BrawlCrate commented 4 years ago

I was trying to export the "bg" folder in MenuMulti.szs, I hit save, and it crashed.

BrawlCrate Canary #1a7b764d56b8f7f927d79b4bd6240bf7a525bb83 x86

The volume for a file has been externally altered so that the opened file is no longer valid. (Exception from HRESULT: 0x800703EE)
   at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
   at BrawlLib.Internal.IO.wFileMap..ctor(VoidPtr hFile, FileMapProtect protect, Int64 offset, UInt32 length)
   at BrawlLib.Internal.IO.FileMap.FromStreamInternal(FileStream stream, FileMapProtect prot, Int32 offset, Int32 length)
   at BrawlLib.Internal.IO.FileMap.FromTempFile(Int32 length, String& path)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild()
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Export(String outPath)
   at BrawlCrate.NodeWrappers.GenericWrapper.OnExport(String outPath)
   at BrawlCrate.NodeWrappers.GenericWrapper.Export()
   at BrawlCrate.NodeWrappers.GenericWrapper.ExportAction(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)