Adventure Game Studio

AGS Support => Advanced Technical Forum => Topic started by: Babar on Wed 30/07/2008 14:16:24

Title: Error on sprite import
Post by: Babar on Wed 30/07/2008 14:16:24
I get this error when I try to import a new sprite. After the error message is closed, the sprite import window becomes a white rectangle with an X across it. My game is 8bit, and the sprite is also 8bit.

Error: Out of memory.
Version: AGS 3.0.2.43

System.OutOfMemoryException: Out of memory.
   at System.Drawing.Bitmap.Clone(Rectangle rect, PixelFormat format)
   at AGS.Editor.SpriteImportWindow.previewPanel_MouseDown(Object sender, MouseEventArgs e)
   at System.Windows.Forms.Control.OnMouseDown(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseDown(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.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)


PS: I have 512Mb RAM, and I had disabled my antivirus, closed all the extra messengers, etc. while working, so it would be very odd if it actually WAS out of memory.
Title: Re: Error on sprite import
Post by: Pumaman on Wed 30/07/2008 19:45:42
This was fixed in 3.0.2 SP1, please upgrade to the latest version from the Download page.
Title: Re: Error on sprite import
Post by: Babar on Wed 30/07/2008 20:03:36
Hahah...they move so fast! Thanks!