Brawlbox Resources & History

Started by BlackJax96, December 14, 2010, 03:39:11 AM

Previous topic - Next topic

0 Members and 9 Guests are viewing this topic.

I love you for the cultureinvariant stuff :happy:

I've been out of the loop for a while... I need a guide for all this new fandangled goodness

I hate reporting low bugs but here is one:



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

************** Exception Text **************
BrawlLib.Wii.Compression.InvalidCompressionException: Compression header does not match LZ77 format.
  at BrawlLib.Wii.Compression.RunLength.Expand(CompressionHeader* header, VoidPtr dstAddress, Int32 dstLen)
  at BrawlLib.Wii.Compression.Compressor.Expand(CompressionHeader* header, VoidPtr dstAddr, Int32 dstLen)
  at BrawlLib.SSBB.ResourceNodes.ResourceNode.ReplaceRaw(FileMap map)
  at BrawlLib.SSBB.ResourceNodes.ResourceNode.Replace(String fileName)
  at BrawlBox.GenericWrapper.OnReplace(String inStream, Int32 filterIndex)
  at BrawlBox.GenericWrapper.Replace()
  at BrawlBox.GenericWrapper.ReplaceAction(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)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
BrawlBox
   Assembly Version: 0.67.4587.27685
   Win32 Version: 0.67.1.0
   CodeBase: file:///C:/Users/Chico/Downloads/brawlbox/Brawlbox%20v0.67b/BrawlBox.exe
----------------------------------------
BrawlLib
   Assembly Version: 0.14.4587.27677
   Win32 Version: 0.14.1.0
   CodeBase: file:///C:/Users/Chico/Downloads/brawlbox/Brawlbox%20v0.67b/BrawlLib.DLL
----------------------------------------
System.Windows.Forms
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Numerics
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.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.


had it while replacing my attributes.

July 24, 2012, 12:21:23 AM #11853 Last Edit: July 24, 2012, 12:32:19 AM by BlackJax96
Quote from: namq on July 24, 2012, 12:20:33 AM
I hate reporting low bugs but here is one:



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

************** Exception Text **************
BrawlLib.Wii.Compression.InvalidCompressionException: Compression header does not match LZ77 format.
  at BrawlLib.Wii.Compression.RunLength.Expand(CompressionHeader* header, VoidPtr dstAddress, Int32 dstLen)
  at BrawlLib.Wii.Compression.Compressor.Expand(CompressionHeader* header, VoidPtr dstAddr, Int32 dstLen)
  at BrawlLib.SSBB.ResourceNodes.ResourceNode.ReplaceRaw(FileMap map)
  at BrawlLib.SSBB.ResourceNodes.ResourceNode.Replace(String fileName)
  at BrawlBox.GenericWrapper.OnReplace(String inStream, Int32 filterIndex)
  at BrawlBox.GenericWrapper.Replace()
  at BrawlBox.GenericWrapper.ReplaceAction(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)


************** Loaded Assemblies **************
mscorlib
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
   CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
BrawlBox
   Assembly Version: 0.67.4587.27685
   Win32 Version: 0.67.1.0
   CodeBase: file:///C:/Users/Chico/Downloads/brawlbox/Brawlbox%20v0.67b/BrawlBox.exe
----------------------------------------
BrawlLib
   Assembly Version: 0.14.4587.27677
   Win32 Version: 0.14.1.0
   CodeBase: file:///C:/Users/Chico/Downloads/brawlbox/Brawlbox%20v0.67b/BrawlLib.DLL
----------------------------------------
System.Windows.Forms
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Data
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 (RTMRel.030319-0100)
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Core
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Numerics
   Assembly Version: 4.0.0.0
   Win32 Version: 4.0.30319.1 built by: RTMRel
   CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.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.


had it while replacing my attributes.

Well now I need to know why and how RunLength compression is involved. :srs:


Ok I fixed it and updated the updated update so now you can enjoy your updateception moar.

Quote from: BlackJax96 on July 24, 2012, 12:21:23 AM
Well now I need to know why and how RunLength compression is involved. :srs:

Not sure, I was about to parse my moveset data into a new fresh fox .pac, but this little bug is taunting me ^^.

Also I got an "un sure what the heck" that bug is, that it doesn't let me save my file.  Got that bug on 67 and it's still in the 67b.

I think it's about how I edited the actions, idk, something about "the given key was not present in the dictionary"

I added a new action to see if I could make it work.

I did in that file all of this:

- Took a fresh file and added 6 sub routines with Project Smash Attacks (bb 67b wasn't out yet so)
- Parsed my moveset data into the new fresh file.
- Tested the file (It works!!!)
- Added new functions to the file with the sub routines (they also worked!!!)
- Added a new action (why it doesn't let me save anymore?)

Not saying adding the action was the cause, but it once saved, but it isn't anymore (proof that the file saved after the action was made is that I have the file ;)) reason why editing it further stops me from saving it is unknown.

EDIT:

Quote from: BlackJax96 on July 24, 2012, 12:21:23 AM
Well now I need to know why and how RunLength compression is involved. :srs:


Ok I fixed it and updated the updated update so now you can enjoy your updateception moar.

That was epic fast!!!

Ypu said that nothing inside brres is Unknown anymore, but you haven't updated the DrawOPA/DrawXLU's unknown in the nodelist.
And there's the Unknown in the brres itself :P
But seriously, I don't recognize SCN0 anymore :srs:

I just have to ask: How do you figure these things out? It's just like you took it straight out of a devkit :O
Another thing: We still don't know what RASD do (brres format), which some games use (MKW and LoZ: SS)

And you didn't update STPM, COLL and add STDT support D:
I'm such a crybaby.
3DS FC: 5370-0958-4818
Wii U NNID: Doraleus

Quote from: rednuorG ykS on July 24, 2012, 12:52:48 AM
Ypu said that nothing inside brres is Unknown anymore, but you haven't updated the DrawOPA/DrawXLU's unknown in the nodelist.
And there's the Unknown in the brres itself :P
But seriously, I don't recognize SCN0 anymore :srs:

I just have to ask: How do you figure these things out? It's just like you took it straight out of a devkit :O
Another thing: We still don't know what RASD do (brres format), which some games use (MKW and LoZ: SS)

And you didn't update STPM, COLL and add STDT support D:
I'm such a crybaby.


Anything that's still unknown is just mislabeled padding.
Although I thought BRRES was already fully known. >.>

And maybe I did take it out of a devkit. Maybe I didn't. >w>

Did I mention I also know everything about RSAR, RWSD, RBNK and RSEQ too, but I just have yet to implement it? lol <w<

Quote from: BlackJax96 on July 24, 2012, 12:56:36 AM
Did I mention I also know everything about RSAR, RWSD, RBNK and RSEQ too, but I just have yet to implement it? lol <w<
You programming genius.

Quote from: BlackJax96 on July 24, 2012, 12:56:36 AM
And maybe I did take it out of a devkit. Maybe I didn't. >w>
:>.>:

Quote from: BlackJax96 on July 24, 2012, 12:56:36 AM
Did I mention I also know everything about RSAR, RWSD, RBNK and RSEQ too, but I just have yet to implement it? lol <w<
Yeah I pretty much figured that out.

And you liek ignoring text in black?
While I'm eating cereal at 3 AM. Wait. Were I talking about STPM, COLL and STDT?
3DS FC: 5370-0958-4818
Wii U NNID: Doraleus

Quote from: BlackJax96 on July 24, 2012, 12:56:36 AM
Did I mention I also know everything about RSAR, RWSD, RBNK and RSEQ too, but I just have yet to implement it? lol <w<
inb4nzm
[white]: SW-2632-7270-6724[/white]



Quote from: rednuorG ykS on July 24, 2012, 01:07:20 AM
:>.>:
Yeah I pretty much figured that out.

And you liek ignoring text in black?
While I'm eating cereal at 3 AM. Wait. Were I talking about STPM, COLL and STDT?

meh, I ignore all texts
LOL nice

Quote from: Segtendo on July 24, 2012, 01:23:13 AM
inb4nzm
Quote from: SmashClash on July 24, 2012, 01:24:36 AM
inb4someonepreparesforthegetoutfrog

I'm surprised nobody inb4'd tcll with the fur thing.
inb4tcllforreal

I have my get out gifs ready btw

Quote from: BlackJax96 on July 24, 2012, 01:31:30 AM
I'm surprised nobody inb4'd tcll with the fur thing.
inb4tcllforreal

I have my get out gifs ready btw



My frogs are ready.
[white]: SW-2632-7270-6724[/white]


A MKWii dude said that when he saves the MKWii CLR0 it switch to v3 and single color after saving :|

Yes, after saving, closing and re-opening the file.
Mario Kart Wii custom track creator

Skype: helloimyourmind13