I took a look on the different questions on this forum and I couldn't find an answer for my problem. If it was solved before sorry for answering again for it.
I'm working on a gamebox, recently changed some of the image files to others with 300 dpi resolution.
I can open the gamebox and also I can do the set up to create an scenario file.
Once i have all the scenario files i add them to the gamebox.
I try to open the gamebox and it starts without problems but when I try to open any of the scenario, the program crashes this error message appears:
"version 1.2.1.14
os Microsoft Windows NT 5.1.2600 Service Pack 2
framework 2.0.50727.42
cpu count 2
System.OutOfMemoryException: Out of memory.
at System.Drawing.Bitmap..ctor(Stream stream)
at ZunTzu.Graphics.c.d..ctor(a A_0, PixelFormat A_1)
at ZunTzu.Graphics.c.a.e()
at ZunTzu.Visualization.y.c.e()
at ZunTzu.Visualization.y.b(Int64 A_0)
at ZunTzu.b.b(String[] A_0)"
error message: out of memory
Moderators: Ichibrothers, Cambronne
All are jpeg files with rgb colour.Jerome wrote:Hi!
I am pretty sure your images are a bit exotic.
Try saving them in the most simple JPEG or PNG format.
Avoid exotic color spaces like CMYK. Use RGB.
Avoid 'progressive' or 'interlaced' images.
maps are a bit large 5mb to 10 mb. the gamebox is 132mb.
I cannot understand why I can open the gamebox select all the game components, prepare a setup, without crashing the program, but if I try to select an scenario the program crashes....
All the images are RGB? Good. What about 'progressive'?alonsii wrote:All are jpeg files with rgb colour.
I bet at least one of them was saved as 'progressive'.
Could you try opening them in a bitmap editor and saving them again?
Note: re-encoding JPEG images repeatedly degrades quality so you might want to make a copy of your game box to experiment.
Jerome, ZunTzu developer.
Didn't have time to reencoding everything, but I tried to use one of the scenarios as a startup and it opens without problems....Jerome wrote:All the images are RGB? Good. What about 'progressive'?alonsii wrote:All are jpeg files with rgb colour.
I bet at least one of them was saved as 'progressive'.
Could you try opening them in a bitmap editor and saving them again?
Note: re-encoding JPEG images repeatedly degrades quality so you might want to make a copy of your game box to experiment.