Kitty Corp Meow Mix Forums

Help & Tutorials => Help => Topic started by: D.L. Yomegami on August 20, 2011, 11:26:42 PM



Title: BrawlBox won't allow SceneDatas to be edited
Post by: D.L. Yomegami on August 20, 2011, 11:26:42 PM
What the title says, really - BrawlBox keeps crashing when I try to edit the SceneData of a stage and (try to) save. Here's the full extent of the error it's giving me:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.SortedList`2.get_Item(TKey key)
   at BrawlLib.SSBB.ResourceNodes.SCN0GroupNode.PostPro cess(VoidPtr dataAddress, StringTable stringTable)
   at BrawlLib.SSBB.ResourceNodes.SCN0Node.PostProcess(VoidPtr bresAddress, VoidPtr dataAddress, Int32 dataLength, StringTable stringTable)
   at BrawlLib.SSBB.ResourceNodes.BRESNode.OnRebuild(VoidPtr address, Int32 size, Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(VoidPtr address, Int32 length, Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Merge(Boolean forceBuild)
   at BrawlBox.Program.Save()
   at BrawlBox.MainForm.saveToolStripMenuItem_Click(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.FireEventInter active(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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BrawlBox
    Assembly Version: 0.63.4042.32260
    Win32 Version: 0.63.3.0
    CodeBase: file:///C:/Users/Grendel%20Man/Desktop/BrawlBox%20v0.63d/BrawlBox.exe
----------------------------------------
BrawlLib
    Assembly Version: 0.10.4042.32259
    Win32 Version: 0.10.3.0
    CodeBase: file:///C:/Users/Grendel%20Man/Desktop/BrawlBox%20v0.63d/BrawlLib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4215 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I'm using BrawlBox v0.63d, Modset 4.2. I tried updating my BrawlBox, but apparently the most recent version can't edit lighting at the moment.

Granted, it crashed during my first attempt at editing Scene Data. However, then I was able to edit it by modifying the SceneData independently of the stage and then adding the edited SceneData back in. Now, it doesn't work no matter what I do.

By the look of the error, it seems like I'm missing something. However, I'd like to know if someone more knowledgeable than I am about this that knows what's going on.


Title: Re: BrawlBox won't allow SceneDatas to be edited
Post by: DSX8 on August 21, 2011, 01:31:03 AM
What the title says, really - BrawlBox keeps crashing when I try to edit the SceneData of a stage and (try to) save. Here's the full extent of the error it's giving me:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.SortedList`2.get_Item(TKey key)
   at BrawlLib.SSBB.ResourceNodes.SCN0GroupNode.PostPro cess(VoidPtr dataAddress, StringTable stringTable)
   at BrawlLib.SSBB.ResourceNodes.SCN0Node.PostProcess(VoidPtr bresAddress, VoidPtr dataAddress, Int32 dataLength, StringTable stringTable)
   at BrawlLib.SSBB.ResourceNodes.BRESNode.OnRebuild(VoidPtr address, Int32 size, Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(VoidPtr address, Int32 length, Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Rebuild(Boolean force)
   at BrawlLib.SSBB.ResourceNodes.ResourceNode.Merge(Boolean forceBuild)
   at BrawlBox.Program.Save()
   at BrawlBox.MainForm.saveToolStripMenuItem_Click(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.FireEventInter active(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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
BrawlBox
    Assembly Version: 0.63.4042.32260
    Win32 Version: 0.63.3.0
    CodeBase: file:///C:/Users/Grendel%20Man/Desktop/BrawlBox%20v0.63d/BrawlBox.exe
----------------------------------------
BrawlLib
    Assembly Version: 0.10.4042.32259
    Win32 Version: 0.10.3.0
    CodeBase: file:///C:/Users/Grendel%20Man/Desktop/BrawlBox%20v0.63d/BrawlLib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4214 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4215 (VistaSP2GDR.050727-4200)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.4016 (NetFxQFE.050727-4000)
    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

I'm using BrawlBox v0.63d, Modset 4.2. I tried updating my BrawlBox, but apparently the most recent version can't edit lighting at the moment.

Granted, it crashed during my first attempt at editing Scene Data. However, then I was able to edit it by modifying the SceneData independently of the stage and then adding the edited SceneData back in. Now, it doesn't work no matter what I do.

By the look of the error, it seems like I'm missing something. However, I'd like to know if someone more knowledgeable than I am about this that knows what's going on.
it might be ur BrawlLib file... not sure.


Title: Re: BrawlBox won't allow SceneDatas to be edited
Post by: D.L. Yomegami on August 25, 2011, 05:01:24 PM
If that's the case, then fixing it is going to be a hassle - downloading a fresh copy of the modset and replacing the files didn't fix the issue. Neither did a computer restart, although I doubted that would work.

In that case, is there anything else that can edit lighting? If Brawlbox refuses to cooperate, it's either that or throw what I was working on out the window. I'm really not in the mood to do the latter, so any additional help would be much appreciated.

Edit: If it helps any, it only throws the error upon saving certain edited SceneDatas (for example, the one I'm having issues with is from Lylat Cruise). I just did a quick test for another SceneData, and it saved without problems. o.O


Title: Re: BrawlBox won't allow SceneDatas to be edited
Post by: Shinobu Nyan! on August 25, 2011, 07:57:28 PM
Download a new lylat cruise then export that scene data and replace your edited scene data with that one. Then edit the new one. It could work.