Can 't import sprites with the new editor ags 3.0.2.43. Get this warning!!!

Started by marcusbugger, Thu 26/06/2008 01:55:42

Previous topic - Next topic

marcusbugger

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............

Gilbert

It's probably the same problem as reported in the official release thread (read from the linked post onwards).

As far as I can tell it is an unresolved issue at the moment.

Pumaman

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.

marcusbugger

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.

Pumaman

Yeah, this is an intermittent bug in .NET, and I'm still investigating how to work around it. Sorry for the inconvenience.

marcusbugger

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.

Ishmael

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.
I used to make games but then I took an IRC in the knee.

<Calin> Ishmael looks awesome all the time
\( Ö)/ ¬(Ö ) | Ja minähän en keskellä kirkasta päivää lähden minnekään juoksentelemaan ilman housuja.

Pumaman

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.

marcusbugger

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.

marcusbugger

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..

Pumaman

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?

marcusbugger

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.

Pumaman

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.

marcusbugger

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.

SMF spam blocked by CleanTalk