Page 1 of 1

[16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed REOPENED

Posted: Wed Dec 13, 2017 1:52 pm
by Hylaar
Hello, just start the update.
I'v got the following error msg ( see attached)
sprite error.JPG
sprite error.JPG (22.17 KiB) Viewed 7999 times
see attached for the log file
factorio-current.log
(3.77 KiB) Downloaded 205 times
And 'applause for your jobs. What's your done is very cool !!!

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed

Posted: Wed Dec 13, 2017 2:43 pm
by Hylaar
?!? it's working now....

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed

Posted: Wed Dec 13, 2017 2:49 pm
by posila
Thanks for the report.
Your computer ran out of memory. For 0.16.1 I changed limit for parallel loading of high resolution sprites to 12 GB RAM to reduce chance of this happening.

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed

Posted: Wed Dec 13, 2017 6:39 pm
by Loewchen
The same error occurs with 16GB RAM here: 54539 FYI.

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed

Posted: Wed Dec 13, 2017 8:25 pm
by Digital-Storm
Here is my log, I have 32GB of memory and run into this same issue.
factorio-current.log
(3.89 KiB) Downloaded 202 times

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed

Posted: Wed Dec 13, 2017 8:36 pm
by Loewchen
I reopen this, be it only for reassessment.

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed REOPENED

Posted: Wed Dec 13, 2017 9:31 pm
by mensinda
This issue still (randomly) occurs in 0.16.1 (I have 12GB of RAM - Windows 10 uses 2GB).
posila wrote:Thanks for the report.
Your computer ran out of memory. For 0.16.1 I changed limit for parallel loading of high resolution sprites to 12 GB RAM to reduce chance of this happening.

Wouldn't it be possible to dynamically calculate the RAM limit at runtime (depending on how much RAM is free when Factorio starts) instead of setting a constant value in the source code?

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed REOPENED

Posted: Wed Dec 13, 2017 11:10 pm
by Rseding91
mensinda wrote:This issue still (randomly) occurs in 0.16.1 (I have 12GB of RAM - Windows 10 uses 2GB).
posila wrote:Thanks for the report.
Your computer ran out of memory. For 0.16.1 I changed limit for parallel loading of high resolution sprites to 12 GB RAM to reduce chance of this happening.

Wouldn't it be possible to dynamically calculate the RAM limit at runtime (depending on how much RAM is free when Factorio starts) instead of setting a constant value in the source code?
The amount of RAM needed depends on your graphics settings, loaded mods, and size of all of the images - which isn't known until it's too late and you're already loading them. The best it could do is exit with a better error.

As we keep adding more graphics to the game with more high-res sprites the memory and video memory requirements keep going up. Because computers have no good way to tell us how much VRAM and RAM they have we have to do these things and "best-guess".

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed REOPENED

Posted: Thu Dec 14, 2017 6:28 am
by Rseding91
This may be fixed for the next version of 0.16. If not please let us know once it's out.

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed REOPENED

Posted: Thu Dec 14, 2017 11:02 am
by imajor
Is there a way to turn off high res sprites before I start the game? I got this error message on a 12GB system with 16.1, even if I exit all other applications.

Re: [16.0] Sprite cropping of "hr-artillery-wagon-base-10.png" failed REOPENED

Posted: Thu Dec 14, 2017 11:09 am
by imajor
Nevermind, found the config file.