Skip to main content

News

Topic: The Sphere Studio v1.2.1 (Read 99084 times) previous topic - next topic

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #615
Almost there, just have to work some of the bugs out (switching projects usually crashes the IDE, and I don't know why yet)  I ended up embarking on a massive refactoring project in the process of implementing this.  The Sphere Studio codebase is much better organized now.

Anyway, here's a screenshot showing off lots of stuff. :)
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #616
Thanks to @Miscreant for tipping me off, I'm in the process of hunting down bugs in the spriteset and map editors that can cause the IDE to crash.  A lot of the default plugins are glitchy; it's fairly old code and suffering pretty badly from bit rot, especially with the all the refactoring going on around them lately.  This is largely my fault: I do all this refactoring to the core, but never touch the editor plugins.

C# is a joy to code in though, so I don't mind fixing stuff. :)
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

  • Radnen
  • [*][*][*][*][*]
  • Senior Staff
  • Wise Warrior
Re: The Sphere Studio v1.2.1
Reply #617
I'll admit the plugins were glitchy because at the time it was such a huge undertaking to recreate the massive amount of editors for sphere 1.x development. They never got the polish they deserve. The map editor in particular was recoded 3 times and while I'm happy with the current version for 1.x maps, there's still some stuff I'd love to have cleaned up.
If you use code to help you code you can use less code to code. Also, I have approximate knowledge of many things.

Sphere-sfml here
Sphere Studio editor here

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #618
By the way @Radnen, how do you like the new dark theme (based on the screenshots)?  It was tricky to get all the colors to work well together, but I really like the way it turned out.  I find it a lot easier to differentiate different parts of a statement compared to the classic colors.  For example there was one file I saw that had half of the code commented out but I didn't realize it until I switched to the Dark theme. :P
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

  • Radnen
  • [*][*][*][*][*]
  • Senior Staff
  • Wise Warrior
Re: The Sphere Studio v1.2.1
Reply #619
I love the look. It's dark theme but not hard on the eyes. There's a softness to it I like. +1
If you use code to help you code you can use less code to code. Also, I have approximate knowledge of many things.

Sphere-sfml here
Sphere Studio editor here

  • Rhuan
  • [*][*][*][*]
Re: The Sphere Studio v1.2.1
Reply #620
Could someone refresh my memory as to why the Sphere Studio couldn't be made cross platform? What was the key windows on dependency? Could this be replaced?

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #621
ObjectListView causes issues, I know that.  DockPanelSuite is supposed to work under Mono/Wine, but it's flaky.  But mostly it's OLV that breaks everything, I'm pretty sure.
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

Re: The Sphere Studio v1.2.1
Reply #622
Not sure if this is one of the noted issues, but with the Sprite Editor, when I try to set delay, I get this:

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

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at SphereStudio.Plugins.Components.DirectionLayout.SetDelayItem_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.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.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.ToolStripDropDown.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.7.2102.0 built by: NET47REL1LAST
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
Sphere Studio
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Sphere%20Studio.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2104.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2103.2 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
SphereStudio.Base
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/SphereStudio.Base.DLL
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2102.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    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.7.2102.0 built by: NET47REL1LAST
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
WeifenLuo.WinFormsUI.Docking
    Assembly Version: 2.16.0.0
    Win32 Version: 2.16.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/WeifenLuo.WinFormsUI.Docking.DLL
----------------------------------------
AudioPlayerPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/AudioPlayerPlugin.dll
----------------------------------------
FontEditPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/FontEditPlugin.dll
----------------------------------------
ImageEditPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/ImageEditPlugin.dll
----------------------------------------
LegacySpherePlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/LegacySpherePlugin.dll
----------------------------------------
MapEditPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/MapEditPlugin.dll
----------------------------------------
miniSphereGdkPlugin
    Assembly Version: 4.8.4.2270
    Win32 Version: 4.8.4.2270
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/miniSphereGdkPlugin.dll
----------------------------------------
ScriptEditPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/ScriptEditPlugin.dll
----------------------------------------
SpritesetEditPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/SpritesetEditPlugin.dll
----------------------------------------
TaskListPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/TaskListPlugin.dll
----------------------------------------
WindowstyleEditPlugin
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/Plugins/WindowstyleEditPlugin.dll
----------------------------------------
ObjectListView
    Assembly Version: 2.9.1.1072
    Win32 Version: 2.9.1.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/ObjectListView.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.2046.0 built by: NET47REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
ScintillaNET
    Assembly Version: 3.6.3.0
    Win32 Version: 3.6.3.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/ScintillaNET.DLL
----------------------------------------
SphereStudio.Vanilla
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Program%20Files/miniSphere/ide/SphereStudio.Vanilla.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 can't particularly make sense of it. I've noticed it comes up for quite a few things, but this is so far the only one that gave me the sads lol

Windows 10 Home Creator's Update, fresh install of miniSphere 4.8 w/ Sphere Studio.

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #623
Thanks, the spriteset editor is kind of buggy and tends to crash a lot.  I know I fixed one such bug very recently, but I thought that fix for that made it into mS 4.8.4?  Maybe not, or maybe you hit a different bug...

In any case I'm going to post a 4.8.5 patch later tonight so I'll put Studio through its paces and try to flush out any crash bugs.
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #624
On an unrelated note, .NET's dialog box for uncaught exceptions seems kind of mystical to me.  Normally when an exception is thrown, it unwinds the stack until it finds a catch{} block to handle it; if there is no catch{}, then the stack completely unwinds and the program crashes.  .NET apps instead show that dialog box which terminates the operation in progress but somehow the app keeps running.  I can't understand how that works--does the runtime just unwind the function that threw the exception?  And if so, what gets returned to the caller?  By all means something like that should never work... and yet it does. :hushed: 
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #625
I fixed the bug.  "Set Delay" is only supposed to be enabled when you right-click an actual image frame (i.e. it's set per-image, not per direction), Sphere Studio mistakenly enabled it when clicking a direction header, and then clicking it causes an error because nothing is actually selected.

Fix is in 4.8.5.  Let me know if you find any other issues.
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

Re: The Sphere Studio v1.2.1
Reply #626
On an unrelated note, .NET's dialog box for uncaught exceptions seems kind of mystical to me.  Normally when an exception is thrown, it unwinds the stack until it finds a catch{} block to handle it; if there is no catch{}, then the stack completely unwinds and the program crashes.  .NET apps instead show that dialog box which terminates the operation in progress but somehow the app keeps running.  I can't understand how that works--does the runtime just unwind the function that threw the exception?  And if so, what gets returned to the caller?  By all means something like that should never work... and yet it does. :hushed: 
It could be some kind of threading thing, something in .NET that isn't exposed to a program developer.

Re: The Sphere Studio v1.2.1
Reply #627
Unselected High Priority items on the task list seem a little difficult to read in both Light & Dark... Has anyone else found that?
"I am to misbehave." - Malcom Renyolds, Captain of Serenity

  • Fat Cerberus
  • [*][*][*][*][*]
  • Global Moderator
  • miniSphere Developer
Re: The Sphere Studio v1.2.1
Reply #628
Hm, it doesn't seem to adapt well to the dark theme.  I'll have to fix that (along with a laundry list of other bugs :P)
miniSphere 5.0.1 - Cell compiler - SSj debugger - thread | on GitHub
For the sake of our continued health I very much hope that Fat Cerberus does not become skilled enough at whatever arcane art it would require to cause computers to spawn enourmous man eating pigs ~Rhuan

Re: The Sphere Studio v1.2.1
Reply #629
Instead of changing the background color based on priority, why don't you create an icon for each?