BrawlCrate / BrawlCrateIssues

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

Image Replacing isn't Working #239

Open BrawlCrate opened 3 years ago

BrawlCrate commented 3 years ago

I tried to edit the CSP of Mario in Project +, but it doesn't work Saying that a File THAT DOESN'T EXIST is "Being Used". Why is this happening?

v0.36 x86

The process cannot access the file 'C:\Users\Kirbo\AppData\Local\Temp\tmpE588.tmp' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.CalculateSize(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ARCNode.OnCalculateSize(Boolean force, Boolean rebuilding)
   at BrawlLib.SSBB.ResourceNodes.ARCNode.OnCalculateSize(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.CalculateSize(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ARCNode.OnCalculateSize(Boolean force, Boolean rebuilding)
   at BrawlLib.SSBB.ResourceNodes.ARCNode.OnCalculateSize(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Merge(Boolean forceBuild)
   at BrawlCrate.Program.Save()
   at BrawlCrate.Program.Close(Boolean force)
   at BrawlCrate.UI.MainForm.OnClosing(CancelEventArgs e)
   at System.Windows.Forms.Form.WmClose(Message& m)
   at System.Windows.Forms.Form.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)