Page 1 of 1

[16.36] Loading sprites failed: Error when reading from file

Posted: Thu Apr 19, 2018 3:16 pm
by maheujs

Code: Select all

 0.003 2018-04-19 10:43:11; Factorio 0.16.36 (build 36253, win64, alpha)
   0.003 Operating system: Windows 7 Service Pack 1
   0.003 Program arguments: "C:\Program Files\Factorioo\bin\x64\factorio.exe" 
   0.003 Read data path: C:/Program Files/Factorioo/data
   0.003 Write data path: C:/Users/Utilisateur/AppData/Roaming/Factorio [1650/152093MB]
   0.003 Binaries path: C:/Program Files/Factorioo/bin
   0.015 System info: [CPU: Intel(R) Core(TM)2 Duo CPU     P8600  @ 2.40GHz, 2 cores, RAM: 2829/8088 MB, page: 3447/16174 MB, virtual: 92/8388607 MB, extended virtual: 0 MB]
   0.015 Display options: [FullScreen: 1] [VSync: 0] [UIScale: system (100.0%)] [MultiSampling: OFF] [Screen: 255] [Lang: en]
   0.018 Available display adapters: 1
   0.018  [0]: \\.\DISPLAY1 - Mobile Intel(R) 4 Series Express Chipset Family {0x05, [0,0], 1440x900, 32bit, 50Hz}
   0.018 Create display on adapter 0. Size 1280x720 at position [70, 72].
   0.111 Initialised Direct3D:[0] Mobile Intel(R) 4 Series Express Chipset Family; driver: igdumd64.dll 8.15.10.2302
   0.131   Video memory size (dedicated video/dedicated system/shared system/available): 64/0/1631/1691 MB
   0.238 DSound: Starting _dsound_update thread
   0.238 DSound: Enter _dsound_update; tid=4740
   0.239 Device reset internal.
   0.241 Desktop composition is active.
   0.241 The largest texture size supported by graphics cards it very low (4096). Setting graphics preset to Low.
   0.241 Graphics options: [Graphics quality: normal] [Video memory usage: low] [Light scale: 25%] [DXT: false] [Shader: 1]
   0.241                   [Parallel sprite loading: 1] [Max texture size: 0/4096] [Bmp cache: 0] [Sprite slicing: 1] [Low quality rotation: 1]
   0.453 Loading mod settings bobenemies 0.16.0 (settings.lua)
   0.454 Loading mod settings bobinserters 0.16.3 (settings.lua)
   0.454 Loading mod settings even-distribution 0.2.8 (settings.lua)
   0.454 Loading mod settings long-reach24 0.0.9 (settings.lua)
   0.455 Loading mod settings Nanobots 2.0.2 (settings.lua)
   0.455 Loading mod settings YARM 0.7.303 (settings.lua)
   0.455 Loading mod settings bobores 0.16.1 (settings.lua)
   0.456 Loading mod settings bobvehicleequipment 0.16.0 (settings.lua)
   0.456 Loading mod settings bobplates 0.16.0 (settings.lua)
   0.457 Loading mod settings bobassembly 0.16.0 (settings.lua)
   0.457 Loading mod settings boblogistics 0.16.3 (settings.lua)
   0.458 Loading mod settings bobmining 0.16.0 (settings.lua)
   0.458 Loading mod settings bobmodules 0.16.0 (settings.lua)
   0.459 Loading mod settings bobwarfare 0.16.0 (settings.lua)
   0.464 Loading mod core 0.0.0 (data.lua)
   0.502 Loading mod base 0.16.36 (data.lua)
   0.775 Loading mod ModuleInserter 3.0.2 (data.lua)
   0.858 Loading mod bobenemies 0.16.0 (data.lua)
   0.942 Loading mod bobinserters 0.16.3 (data.lua)
   1.019 Loading mod boblibrary 0.16.1 (data.lua)
   1.098 Loading mod even-distribution 0.2.8 (data.lua)
   1.178 Loading mod Nanobots 2.0.2 (data.lua)
   1.273 Loading mod upgrade-planner2 1.6.1 (data.lua)
   1.358 Loading mod YARM 0.7.303 (data.lua)
   1.450 Loading mod bobores 0.16.1 (data.lua)
   1.541 Loading mod bobtech 0.16.0 (data.lua)
   1.630 Loading mod bobvehicleequipment 0.16.0 (data.lua)
   1.727 Loading mod bobplates 0.16.0 (data.lua)
   1.838 Loading mod bobassembly 0.16.0 (data.lua)
   1.946 Loading mod bobelectronics 0.16.0 (data.lua)
   2.051 Loading mod bobgreenhouse 0.16.0 (data.lua)
   2.154 Loading mod boblogistics 0.16.3 (data.lua)
   2.302 Loading mod bobmining 0.16.0 (data.lua)
   2.443 Loading mod bobpower 0.16.1 (data.lua)
   2.590 Loading mod bobrevamp 0.16.0 (data.lua)
   2.728 Loading mod bobmodules 0.16.0 (data.lua)
   2.882 Loading mod bobwarfare 0.16.0 (data.lua)
   3.053 Loading mod base 0.16.36 (data-updates.lua)
   3.196 Loading mod bobenemies 0.16.0 (data-updates.lua)
   3.338 Loading mod bobinserters 0.16.3 (data-updates.lua)
   3.480 Loading mod Nanobots 2.0.2 (data-updates.lua)
   3.481 Script @__boblibrary__/recipe-functions.lua:76: Recipe ammo-nano-scrappers does not exist.
   3.481 Script @__boblibrary__/recipe-functions.lua:76: Recipe ammo-nano-deconstructors does not exist.
   3.621 Loading mod upgrade-planner2 1.6.1 (data-updates.lua)
   3.761 Loading mod bobores 0.16.1 (data-updates.lua)
   3.902 Loading mod bobtech 0.16.0 (data-updates.lua)
   4.045 Loading mod bobvehicleequipment 0.16.0 (data-updates.lua)
   4.194 Loading mod bobplates 0.16.0 (data-updates.lua)
   4.199 Script @__boblibrary__/module-functions.lua:12: Recipe polishing-wheel-synthetic does not exist.
   4.352 Loading mod bobassembly 0.16.0 (data-updates.lua)
   4.504 Loading mod bobelectronics 0.16.0 (data-updates.lua)
   4.652 Loading mod bobgreenhouse 0.16.0 (data-updates.lua)
   4.797 Loading mod boblogistics 0.16.3 (data-updates.lua)
   4.953 Loading mod bobmining 0.16.0 (data-updates.lua)
   5.103 Loading mod bobpower 0.16.1 (data-updates.lua)
   5.256 Loading mod bobrevamp 0.16.0 (data-updates.lua)
   5.404 Loading mod bobmodules 0.16.0 (data-updates.lua)
   5.563 Loading mod bobwarfare 0.16.0 (data-updates.lua)
   5.566 Script @__boblibrary__/recipe-functions.lua:76: Recipe gun-cotton-synthetic does not exist.
   5.574 Script @__boblibrary__/module-functions.lua:12: Recipe gun-cotton-synthetic does not exist.
   5.722 Loading mod ModuleInserter 3.0.2 (data-final-fixes.lua)
   5.872 Loading mod even-distribution 0.2.8 (data-final-fixes.lua)
   6.020 Loading mod tree_collision 0.4.2 (data-final-fixes.lua)
   6.168 Loading mod bobelectronics 0.16.0 (data-final-fixes.lua)
   6.400 Checksum for core: 1316978547
   6.400 Checksum of base: 4140083139
   6.400 Checksum of ModuleInserter: 3276626434
   6.400 Checksum of bobenemies: 663681064
   6.400 Checksum of bobinserters: 2634251498
   6.400 Checksum of boblibrary: 59313886
   6.400 Checksum of clock: 0
   6.401 Checksum of even-distribution: 1638450686
   6.401 Checksum of long-reach24: 4166847516
   6.401 Checksum of Nanobots: 2475870239
   6.401 Checksum of tree_collision: 3231141521
   6.401 Checksum of upgrade-planner2: 2009078650
   6.401 Checksum of YARM: 1786542758
   6.401 Checksum of bobores: 3418552415
   6.401 Checksum of bobtech: 2754529862
   6.401 Checksum of bobvehicleequipment: 1214461171
   6.401 Checksum of bobplates: 588373870
   6.401 Checksum of bobassembly: 262568743
   6.401 Checksum of bobelectronics: 3969922877
   6.401 Checksum of bobgreenhouse: 540722007
   6.401 Checksum of boblogistics: 2304631358
   6.401 Checksum of bobmining: 1108206312
   6.401 Checksum of bobpower: 4191124
   6.401 Checksum of bobrevamp: 2386249982
   6.401 Checksum of bobmodules: 4185527414
   6.401 Checksum of bobwarfare: 416552353
   6.830 Loading sounds...
   7.157 Info PlayerData.cpp:65: Local player-data.json available, timestamp 1524148601
   7.157 Info PlayerData.cpp:72: Cloud player-data.json unavailable
   7.459 Loaded shader file C:/Program Files/Factorioo/data/core/graphics/shaders/game.cso
   7.460 Loaded shader file C:/Program Files/Factorioo/data/core/graphics/shaders/zoom-to-world.cso
   7.461 Loaded shader file C:/Program Files/Factorioo/data/core/graphics/shaders/alpha-mask.cso
   7.490 Initial atlas bitmap size is 4096
   7.494 Created atlas bitmap 4096x4095 [none]
   7.494 Created atlas bitmap 4096x395 [none]
   7.495 Created atlas bitmap 4096x1114 [terrain]
   7.495 Created atlas bitmap 4096x930 [shadow]
   7.495 Created atlas bitmap 4096x2388 [no-crop, trilinear-filtering, icon, light]
   7.495 Created atlas bitmap 4096x476 [alpha-mask]
  28.588 Error AtlasSystem.cpp:1135: Loading sprites failed: Error when reading from file.
  28.588 Error Util.cpp:49: Error when reading from file.
  30.328 DSound: Stopping voice
  30.328 DSound: Joining thread
  30.329 DSound: Exit _dsound_update; tid=4740
  30.329 DSound: Waiting for voice to stop ... signaled
  30.330 DSound: Joined thread
  30.330 DSound: Destroying thread
  30.330 DSound: Thread destroyed
  30.330 DSound: Releasing buffer
  30.330 DSound: Voice stopped
  30.330 DSound: Deallocating voice
  30.330 DSound: Deallocated voice
  30.419 Goodbye


I get an "Error reading from file" message at this point.The game works every time I reinstall but will crash the following day.

I had previously loaded and unloaded the Alien Biomes mod which has stopped working with 0.16.36

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Thu Apr 19, 2018 4:32 pm
by Rseding91
Thanks for the report. "Error reading from file" can also mean it ran out of memory/video memory when trying to read the file from disk. I see in the log file you only have 8 GB of RAM and your graphics card only has 64 MB of video memory (well below the minimum required.)

Because your graphics card has such little dedicated VRAM there's not much we can do.

I'm going to move this to won't fix.

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Thu Apr 19, 2018 4:39 pm
by maheujs
I had been playing for six months without any problems but I understand the situation. Thank you for the quick response.

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Thu Apr 19, 2018 5:33 pm
by posila
I find it interesting reinstalling the game fixes the issue for a day. The error happens when reading from disk, and your disk is almost full. You seem to be using some quite old laptop, if it has still the original HDD, maybe the HDD is failing?

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Thu Apr 19, 2018 6:23 pm
by maheujs
It's funny you should mention that because I rebooted my machine and chkdsk came on to scan and repair some sectors. My RAM usage has been unusually high lately even when all programs are closed. I'm running spyware and virus scans right now and I'll free up some space.

Yes, this laptop is old and it needs to survive another two years when I will have finished my degree and become an electrotechnician. But there's no doubt that it's under par so I'll find some other way some other day because Factorio is among the best games I've played in my entire life.

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Thu Apr 19, 2018 7:26 pm
by Jap2.0
You might also want to try changing graphics quality from normal to low in the config if it still doesn't work.

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Fri Apr 20, 2018 1:19 pm
by kitcat
Rseding91 wrote:"Error reading from file" can also mean it ran out of memory/video memory when trying to read the file from disk.
That’s kind of misleading. Isn’t it possible to report out-of-memory errors (RAM or VRAM) with a more informative error message or fail more gracefully?

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Fri Apr 20, 2018 5:30 pm
by Rseding91
kitcat wrote:
Rseding91 wrote:"Error reading from file" can also mean it ran out of memory/video memory when trying to read the file from disk.
That’s kind of misleading. Isn’t it possible to report out-of-memory errors (RAM or VRAM) with a more informative error message or fail more gracefully?
No, when memory runs out it's a random piece of code that fails and depending where that happens we have no idea why that code failed.

It's near impossible to recover from "out of memory" errors because you're out of memory and even throwing an error takes memory.

Re: [16.36] Loading sprites failed: Error when reading from file

Posted: Fri Apr 20, 2018 7:16 pm
by kitcat
Rseding91 wrote:No, when memory runs out it's a random piece of code that fails and depending where that happens we have no idea why that code failed.

It's near impossible to recover from "out of memory" errors because you're out of memory and even throwing an error takes memory.
I understand that running out of RAM is a problem there, but failing without any indication of a cause when running out of VRAM sounds weird. I’m not a 3D-programmer, so I’ll take your word for it.