question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Crash upon skeleton animation

See original GitHub issue

Hey there,

I’ve tried saving a few skeleton animations through Map.img and it works. However, when I try to save Map.img\Back\Effect3.img\BossLucid\Lucid.atlas, it gives me an error.

“System.OutOfMemoryException.”

System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown at WzComparerR2.PictureBoxEx.SaveAsGif(AnimationItem aniItem, String fileName, ImageHandlerConfig config) in C:\Users\Desktop\WzComparerR2 Localization\GMS\Stable\WzComparerR2\WzComparerR2\PictureBoxEx.cs:line 158 at WzComparerR2.MainForm.buttonItemSaveImage_Click(Object sender, EventArgs e) in C:\Users\Desktop\WzComparerR2 Localization\GMS\Stable\WzComparerR2\WzComparerR2\MainForm.cs:line 438 at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source) at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.ItemContainer.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.ItemControl.OnMouseUp(MouseEventArgs e) at DevComponents.DotNetBar.RibbonBar.OnMouseUp(MouseEventArgs e) 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.ContainerControl.WndProc(Message& m) at DevComponents.DotNetBar.ItemControl.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)

Update 2:

I tried saving Kinesis character at UI.img\Login.img\RaceSelect_new\Back0\18\Kinesis.atlas. It kind of works, but I get the following error:

System.AggregateException: One or more errors occurred. ---> System.ArgumentException: Value of -252 is not valid for red. Red must be greater than or equal to 0 and less than or equal to 255. at System.Drawing.Color.CheckByte(Int32 value, String name) at System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue) at System.Drawing.Color.FromArgb(Int32 red, Int32 green, Int32 blue) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.Palletize(Int32 colorCount) at ImageManipulation.OctreeQuantizer.GetPalette(ColorPalette original) at ImageManipulation.Quantizer.Quantize(Image source) at WzComparerR2.Common.BuildInGifEncoder.AppendFrame(Bitmap image, Int32 delay) at WzComparerR2.Common.BuildInGifEncoder.AppendFrame(IntPtr pBuffer, Int32 delay) at WzComparerR2.PictureBoxEx.<>c__DisplayClass28_3.<SaveAsGif>b__2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute() --- End of Internal Exceptional Stackway --- at System.Threading.Tasks.Task.WaitAll(Task[] tasks, Int32 millisecondsTimeout, CancellationToken cancellationToken) at WzComparerR2.PictureBoxEx.<>c__DisplayClass28_0.<SaveAsGif>b__0(Int32 curTime) at WzComparerR2.PictureBoxEx.SaveAsGif(AnimationItem aniItem, String fileName, ImageHandlerConfig config) at WzComparerR2.MainForm.buttonItemSaveImage_Click(Object sender, EventArgs e) at DevComponents.DotNetBar.BaseItem.RaiseClick(eEventSource source) at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.PopupItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.ButtonItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.BaseItem.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.ItemContainer.InternalMouseUp(MouseEventArgs objArg) at DevComponents.DotNetBar.ItemControl.OnMouseUp(MouseEventArgs e) at DevComponents.DotNetBar.RibbonBar.OnMouseUp(MouseEventArgs e) 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.ContainerControl.WndProc(Message& m) at DevComponents.DotNetBar.ItemControl.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) ---> (Internal exception #0) System.ArgumentException: Value of -252 is not valid for red. Red must be greater than or equal to 0 and less than or equal to 255. at System.Drawing.Color.CheckByte(Int32 value, String name) at System.Drawing.Color.FromArgb(Int32 alpha, Int32 red, Int32 green, Int32 blue) at System.Drawing.Color.FromArgb(Int32 red, Int32 green, Int32 blue) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.OctreeNode.ConstructPalette(ArrayList palette, Int32& paletteIndex) at ImageManipulation.OctreeQuantizer.Octree.Palletize(Int32 colorCount) at ImageManipulation.OctreeQuantizer.GetPalette(ColorPalette original) at ImageManipulation.Quantizer.Quantize(Image source) at WzComparerR2.Common.BuildInGifEncoder.AppendFrame(Bitmap image, Int32 delay) at WzComparerR2.Common.BuildInGifEncoder.AppendFrame(IntPtr pBuffer, Int32 delay) at WzComparerR2.PictureBoxEx.<>c__DisplayClass28_3.<SaveAsGif>b__2() at System.Threading.Tasks.Task.InnerInvoke() at System.Threading.Tasks.Task.Execute()<---

Saving the image at UI.img\Login.img\RaceSelect_new\Back0\19\skeleton.atlas (Cadena job) works fine without errors See: (https://media.giphy.com/media/3o8dFzNF1dvRwPKukM/giphy.gif)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Kagamiacommented, Jul 28, 2017

@Sunaries It’s the first time that skeleton use BlendMode.Multiply, which I have not implemented in spine-monogame.

Fixed, but it won’t support dumping GIF with transparent background at all. back0 20 skeleton atlas animation

0reactions
KENNYSOFTcommented, Jul 28, 2017

Wow!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Animation Skeleton Accident Fall Separate Green Screen ...
Stock footage 3d animation of skeleton accident fall down - separate on green screen 385198532 ✓ HD/4K ⬇ Download videos from Depositphotos ▷...
Read more >
UE4 crashes when i open skeletal mesh editor
I opened stock mannequin mesh, and it crashed instantly. I've submited report after crash, my login is MaxDBlack. here are some logs: log...
Read more >
Crash Car Skeletons Careful While Driving Animation ...
Stock footage Crash of a car with 3D skeletons. Be careful while driving. 3D animation of skeletons. 505993632 ✓ HD/4K ⬇ Download videos...
Read more >
3d Animation of Skeleton Accident Fall Down - Dreamstime
Video about 3d animation of skeleton accident fall down - separate on green screen. Video of cartoon, damage, accident - 87549988.
Read more >
T Bone Collision 3d Animation - YouTube
T Bone Collision 3d Animation. 6.6K views · 13 years ago ...more. Brown & Charbonneau, LLP. 182. Subscribe. 182 subscribers. 12. Share. Save....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found