Kitty Corp Meow Mix Forums

Help & Tutorials => Help => Topic started by: DPBOX on January 22, 2015, 06:27:53 PM



Title: I can't look at models in BrawlBox! HELP!
Post by: DPBOX on January 22, 2015, 06:27:53 PM
For some reason BrawlBox suddenly stopped letting me preview and open models! I'm using BrawlBox v0.74b. Whenever I click on a model file, this happens.

(http://bin.smwcentral.net/u/20977/BBProb.png)

At first, I thought, "Well that's weird," because I was able to preview, open, and edit models flawlessly the last time I used BrawlBox, which was a few days ago. I then proceeded to redownload BrawlBox v0.74b. The same thing happened. I then tried BrawlBox v0.73b. Still, the same thing happened. When I tried BrawlBox v0.73, I could preview, open, and edit models and this error didn't happen.

What the heck! How could this possibly happen? How can I edit models one day and then not be able to a few days later, even when I'm using the same version I've always been using? What happened? How the heck do I fix this?

I'm scanned my computer for viruses, because that's the only thing I can think of that could be causing this. There were none at all.

Can someone please help me? I have no idea what these messages mean.


Title: Re: I can't look at models in BrawlBox! HELP!
Post by: BlackJax96 on January 22, 2015, 08:18:41 PM
Post the text shown when you press the Details button.


Title: Re: I can't look at models in BrawlBox! HELP!
Post by: DPBOX on January 22, 2015, 10:33:13 PM
Here you go.

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

************** Exception Text **************
OpenTK.Graphics.GraphicsContextException: The specified window isn't an OpenGL window
   at OpenTK.Platform.SDL2.Sdl2GraphicsContext..ctor(GraphicsMode mode, IWindowInfo win, IGraphicsContext shareContext, Int32 major, Int32 minor, GraphicsContextFlags flags)
   at OpenTK.Platform.SDL2.Sdl2Factory.CreateGLContext(GraphicsMode mode, IWindowInfo window, IGraphicsContext shareContext, Boolean directRendering, Int32 major, Int32 minor, GraphicsContextFlags flags)
   at OpenTK.Graphics.GraphicsContext..ctor(GraphicsMode mode, IWindowInfo window, Int32 major, Int32 minor, GraphicsContextFlags flags)
   at BrawlLib.OpenGL.TKContext..ctor(Control window)
   at BrawlLib.OpenGL.GLPanel.OnLoad(EventArgs e)
   at System.Windows.Forms.ModelPanel.OnLoad(EventArgs e)
   at System.Windows.Forms.UserControl.OnCreateControl()
   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
   at System.Windows.Forms.Control.CreateControl()
   at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
   at System.Windows.Forms.Control.set_Visible(Boolean value)
   at BrawlBox.MainForm.resourceTree_SelectionChanged(Object sender, EventArgs e)
   at BrawlBox.ResourceTree.set_SelectedNode(TreeNode value)
   at BrawlBox.ResourceTree.OnAfterSelect(TreeViewEventArgs e)
   at System.Windows.Forms.TreeView.TvnSelected(NMTREEVIEW* nmtv)
   at System.Windows.Forms.TreeView.WmNotify(Message& m)
   at System.Windows.Forms.TreeView.WndProc(Message& m)
   at BrawlBox.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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
BrawlBox
    Assembly Version: 0.74.5485.20658
    Win32 Version: 0.74.1.0
    CodeBase: file:///C:/Users/Jerry%20Brennecke/Downloads/BrawlBox%20v0.74/BrawlBox.exe
----------------------------------------
BrawlLib
    Assembly Version: 0.21.5485.20173
    Win32 Version: 0.21.1.1
    CodeBase: file:///C:/Users/Jerry%20Brennecke/Downloads/BrawlBox%20v0.74/BrawlLib.DLL
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    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.18408 built by: FX451RTMGREL
    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.34238 built by: FX452RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
OpenTK
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.1664.6217
    CodeBase: file:///C:/Users/Jerry%20Brennecke/Downloads/BrawlBox%20v0.74/OpenTK.DLL
----------------------------------------
Octokit
    Assembly Version: 0.6.1.0
    Win32 Version: 0.6.1
    CodeBase: file:///C:/Users/Jerry%20Brennecke/Downloads/BrawlBox%20v0.74/Octokit.DLL
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Net.Http
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Net.Http.dll
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
    Assembly Version: 0.0.0.0
    Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
    CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.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.




Title: Re: I can't look at models in BrawlBox! HELP!
Post by: BlackJax96 on January 23, 2015, 07:51:01 PM
I think this might be some new OpenTK platform bug. The OpenTK dll was updated to a newer version in release v0.73b.

I don't really know of a way to fix it other than trying different OpenTK builds since nothing else has been changed in respect to constructing the opengl control aside from updating the dll.


Title: Re: I can't look at models in BrawlBox! HELP!
Post by: DPBOX on March 15, 2015, 03:20:20 AM
I tried replacing the "OpenTK.dll" in, well, BrawlBox v0.75b, which still doesn't work, with the "OpenTK.dll" in v0.73. If I double click on "BrawlBox.exe" to open v0.75b, nothing opens. If I double click on a file to open with BrawlBox with this setup, like a .brres, this appears.

(http://bin.smwcentral.net/u/20977/bbprob2.png)

I then tried replacing v0.75's "BrawlLib.dll" with v0.73's. When I did, the same things that happened in the last paragraph occurred, except this popped up.

(http://bin.smwcentral.net/u/20977/bbprob3.png)

If I replace "BrawlBox.exe", well, then 0.73b and all newer versions are essentially useless

I don't want to keep using v0.73 for everything. It's extremely annoying!

(Sorry this wasn't earlier. I was lazy. :P)

Post Merge: March 16, 2015, 02:08:08 PM
EDIT: Another thing I forgot to say. My friend's computer doesn't get this error. That seems bizarre.