Kitty Corp Meow Mix Forums

Help & Tutorials => Help => Topic started by: Difegue on April 30, 2011, 07:13:27 PM



Title: "The given key was not present in the dictionary." BrawlBox sux
Post by: Difegue on April 30, 2011, 07:13:27 PM
Well, since yesterday, whenever I touch animations once I create them, ie modify or delete them, I get that error upon saving, and well I can't save. :srs:

I don't know wth is going wrong, since I tried using different versions of BrawlBox, and re-hexing the models I had, even with FortWaffles' original programs X)

I even tried in on another computer and got the same error...(althrough that might be real model corruption, even tho I don't get it, the models worked perfectly in game u.u)

So basically, has anyone ever stumbled upon that damn error, and fixed it? Because I can't continue my stages if I can't save  :kdance:

Quote from: error message gibberish
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   à System.ThrowHelper.ThrowKeyNotFoundException()
   à System.Collections.Generic.SortedList`2.get_Item(TKey key)
   à BrawlLib.SSBB.ResourceNodes.SCN0GroupNode.PostPro cess(VoidPtr dataAddress, StringTable stringTable)
   à BrawlLib.SSBB.ResourceNodes.SCN0Node.PostProcess(VoidPtr bresAddress, VoidPtr dataAddress, Int32 dataLength, StringTable stringTable)
   à BrawlLib.SSBB.ResourceNodes.BRESNode.OnRebuild(VoidPtr address, Int32 size, Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(VoidPtr address, Int32 length, Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ARCNode.OnRebuild(VoidPtr address, Int32 size, Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(VoidPtr address, Int32 length, Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ResourceNode.Calculat eSize(Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ARCNode.OnCalculateSi ze(Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   à BrawlLib.SSBB.ResourceNodes.ResourceNode.Merge(Boolean forceBuild)
   à BrawlBox.Program.Save()
   à BrawlBox.MainForm.saveToolStripMenuItem_Click(Object sender, EventArgs e)
   à System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   à System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   à System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   à System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   à System.Windows.Forms.ToolStripItem.FireEventInter active(EventArgs e, ToolStripItemEventType met)
   à System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   à System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   à System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   à System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   à System.Windows.Forms.Control.WndProc(Message& m)
   à System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   à System.Windows.Forms.ToolStrip.WndProc(Message& m)
   à System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow. OnMessage(Message& m)
   à System.Windows.Forms.Control.ControlNativeWindow. WndProc(Message& m)
   à System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


Title: Re: "The given key was not present in the dictionary." BrawlBox sux
Post by: BlackJax96 on April 30, 2011, 08:29:04 PM
Delete the extra stuff in the brres you opened that isn't a chr0 animation. You have some SCN0 nodes that probably don't have names, causing that error.


Title: Re: "The given key was not present in the dictionary." BrawlBox sux
Post by: Difegue on May 01, 2011, 08:08:38 AM
Well, it was that indeed! I thought I had given all of those a name, but I forgot some.

Even through in the end I just deleted them all because it screwed up my lighting :af:

thanks a bunch :)