Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: marcusbugger on Thu 26/06/2008 01:55:42

Title: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Thu 26/06/2008 01:55:42
Error: Onvoldoende geheugen.
Version: AGS 3.0.2.43

System.OutOfMemoryException: Onvoldoende geheugen.
   bij System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format)
   bij AGS.Editor.SpriteImportWindow.previewPanel_MouseDown(Object sender, MouseEventArgs e)
   bij System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   bij System.Windows.Forms.Control.WmMouseDown(Message& m, MouseButtons button, Int32 clicks)
   bij System.Windows.Forms.Control.WndProc(Message& m)
   bij System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bij System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bij System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)



onvoldoende geheugen is dutch means not enough memory. I 've got a fast pc of course with 2 gb ram memory............
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Gilbert on Thu 26/06/2008 02:12:24
It's probably the same problem as reported in the official release thread (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=34883.msg456796#msg456796) (read from the linked post onwards).

As far as I can tell it is an unresolved issue at the moment.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Pumaman on Thu 26/06/2008 20:58:15
Hmm is this a new problem in 3.0.2? Have you had the problem with previous versions?

The workaround is to always use the "Grab entire image" button rather than importing part of the image. It's something I'm looking in to.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Thu 26/06/2008 22:04:13
Quote from: Pumaman on Thu 26/06/2008 20:58:15
Hmm is this a new problem in 3.0.2? Have you had the problem with previous versions?

The workaround is to always use the "Grab entire image" button rather than importing part of the image. It's something I'm looking in to.


Yes that 's working - import whole image -  If I import a part of the image I get the same problem again, what ismael describes(this still doesn 't work).  I worked with v 2.71.631. I had no problem importing a part of image(right mouse button and then I saw a green selection, it worked fine). ....Oke....The new editor looks great.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Pumaman on Thu 26/06/2008 23:02:34
Yeah, this is an intermittent bug in .NET, and I'm still investigating how to work around it. Sorry for the inconvenience.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Fri 27/06/2008 01:42:12
Quote from: Pumaman on Thu 26/06/2008 23:02:34
Yeah, this is an intermittent bug in .NET, and I'm still investigating how to work around it. Sorry for the inconvenience.

Just grab the entire image and it works a simple thing I overlooked, sorry for this technical ahumm. But that other thing still doesn 't work at least here on my pc. Tiled sprite import is one thing I can 't use for example.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Ishmael on Sat 28/06/2008 12:55:58
Tiled import is grabbing just a part of the image, hence same thing. I'd concider this a know issue and work around it in the future since it's a .NET dealy and not direclty something to do with AGS until the solution comes up.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Pumaman on Sat 28/06/2008 18:12:08
Ok, I've released a Service Pack 1 release to fix this. Please try it out and let me know if it resolves the problem for you.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Sat 28/06/2008 20:16:54
Quote from: Pumaman on Sat 28/06/2008 18:12:08
Ok, I've released a Service Pack 1 release to fix this. Please try it out and let me know if it resolves the problem for you.

Yes, it works, I can import a part of the sprite and tiled sprite import works 2, oke.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Fri 04/07/2008 02:34:55
Hey Pumaman got problem with it? The sprites get "soaked". They dissapear in blue cup when creating a view. They get mixed up with other views, when installing package ags 3.0.2 service pack 1.... Not all views get weird some..
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Pumaman on Fri 04/07/2008 18:27:02
Hmm I remember somebody else reporting that happening to them a few months ago. I never managed to reproduce it, and nobody else had the problem either.

Can you get the problem to happen consistently?

Is the sprite ok until you add it to a view, or does it turn into a blue cup before that?
What about if you import the sprite, then close the editor, then start it up again? Is the sprite still ok?

EDIT: This is the previous thread:
http://www.adventuregamestudio.co.uk/yabb/index.php?topic=34494.0
is yours the same problem?
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Fri 04/07/2008 21:32:02
Yesterday it was very weird with those sprites. It now looks oke. I imported those sprites again and used them for my view.

I have them know double, the sprites where it went wrong with I don 't use know. They stay in that directory. Maybe I have 2 change the numbers, but that 's something I don 't know yet.


I will look this through if it gets wrong again, I explain it better oke..!! I think it came throug the upgrade to version 3.0.2.

I think I had the same problem as ma2003.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: Pumaman on Sat 05/07/2008 11:33:34
Hmm this is strange, especially now that two of you have had this problem. If you notice any particular pattern to what makes it happen, please let me know.
Title: Re: Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!
Post by: marcusbugger on Sat 05/07/2008 21:50:11
Quote from: Pumaman on Sat 05/07/2008 11:33:34
Hmm this is strange, especially now that two of you have had this problem. If you notice any particular pattern to what makes it happen, please let me know.

Oke. If it happens again I let you know and explain in detail.