BrawlCrate / BrawlCrateIssues

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

CSSSlot #297

Open BrawlCrate opened 3 years ago

BrawlCrate commented 3 years ago

CSSSlot17 [Pit] not load files so all enties gone

v0.37 x86

Access to the path 'C:\Program Files\brawlcreate\CustomLists\FighterList.txt' is denied.
   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, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
   at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
   at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
   at System.IO.File.InternalWriteAllText(String path, String contents, Encoding encoding, Boolean checkHost)
   at System.IO.File.WriteAllText(String path, String contents)
   at BrawlLib.CustomLists.FighterNameGenerators.GenerateDefaultList()
   at BrawlLib.CustomLists.FighterNameGenerators.GenerateLists()
   at BrawlLib.CustomLists.FighterNameGenerators.InternalNameFromID(Int32 id, Int32 idOffset, String flagToIgnore)
   at BrawlLib.SSBB.ResourceNodes.CSSCEntryNode.OnInitialize()
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Initialize(ResourceNode parent, DataSource origSource, DataSource uncompSource)
   at BrawlLib.SSBB.ResourceNodes.CSSCNode.OnPopulate()
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.get_Children()
   at BrawlCrate.NodeWrappers.BaseWrapper.OnExpand()
   at BrawlCrate.UI.ResourceTree.OnBeforeExpand(TreeViewCancelEventArgs e)
   at System.Windows.Forms.TreeView.TvnExpanding(NMTREEVIEW* nmtv)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at BrawlCrate.UI.ResourceTree.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)