Spaceblock Memory Fix


Patch beacons to use less memory

8 months ago
1.1
644

b Failed to loading

3 months ago

Failed to load game module: spaceblock/data-final-fixes.lua:220:attempt to index local 'furn' (a nil calue) stack traceback: spaceblock/data-final-fixes.lua:220: in main chunk

[deleted message]
3 months ago
(updated 3 months ago)

Can you provide a log file? If not can you list all of the mods you were using. Without a complete list I won't be able to find the issue since this works with Brave New Oarc and Space Block.

3 months ago

Crash is in Space Block - not the fix mod.
Crash is in modifying Stone Furnaces, so it seems you must have some other mods that also modify Stone Furnaces, but earlier in the data stage, before Space Block does.

Remove the mod that is modifying Stone Furnaces.

3 months ago

Don’t remember installing Stone Furnaces? List the contents of factorio-current.log.
I try to turn off some mods, which one may cause problems?

spaceblock = "0.3.9",
["spaceblock-memory-fix"] = "0.3.901",
stdlib = "1.4.8",
["tree-eraser"] = "0.1.1"
}
7.624 Loading mod AAISignalsNoPowerrework 1.0.1 (data.lua)
7.672 Loading mod alien-biomes 0.6.8 (data.lua)
8.199 Loading mod Automatic_Train_Painter 1.2.0 (data.lua)
8.256 Loading mod BeltRouter 1.5.2 (data.lua)
8.316 Loading mod combat-mechanics-overhaul 0.6.24 (data.lua)
8.324 Script @combat-mechanics-overhaul/collision-mask-util-extended/data/collision-mask-util-extended.lua:133: Named collision layer [flying-layer] set to layer [layer-13]
8.328 Script @combat-mechanics-overhaul/collision-mask-util-extended/data/collision-mask-util-extended.lua:133: Named collision layer [projectile-layer] set to layer [layer-14]
8.332 Script @combat-mechanics-overhaul/collision-mask-util-extended/data/collision-mask-util-extended.lua:133: Named collision layer [vehicle-layer] set to layer [layer-15]
8.391 Loading mod DefaultTrainConditions 1.1.0 (data.lua)
8.458 Loading mod glutenfree-aai-signal-transmission-preview 1.0.1 (data.lua)
8.510 Loading mod Kux-ZoomRunning 2.1.8 (data.lua)
8.575 Loading mod RecipeBook 3.5.10 (data.lua)
8.633 Loading mod RemoteConfiguration 1.2.6 (data.lua)
8.684 Loading mod Krastorio2 1.3.24 (data.lua)
8.866 Loading mod infinite-ore-recipes 0.1.0 (data.lua)
8.923 Loading mod space-exploration 0.6.138 (data.lua)
8.932 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [empty-space-tile] set to layer [layer-17]
8.937 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [space-tile] set to layer [layer-18]
8.941 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [moving-tile] set to layer [layer-19]
8.945 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [composite-entity-circuit-connection-layer] set to layer [layer-20]
9.046 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [addon-layer] set to layer [layer-21]
9.298 Loading mod CursorEnhancements 2.1.1 (data.lua)
9.367 Loading mod rocket-log 1.1.13 (data.lua)
9.433 Loading mod SE-FireEverything 1.0.2 (data.lua)
9.498 Loading mod se-recycling-extras 0.4.2 (data.lua)
9.570 Loading mod space-exploration-postprocess 0.6.30 (data.lua)
9.640 Loading mod Space-Exploration-Rocket-Part-Delivery 1.1.0 (data.lua)
9.708 Loading mod remote-requests 0.1.2 (data.lua)
9.776 Loading mod AutoCircuit 0.1.4 (data-updates.lua)
9.841 Loading mod base 1.1.109 (data-updates.lua)
9.920 Loading mod bobinserters 1.2.0 (data-updates.lua)
9.985 Loading mod bullet-trails 0.6.2 (data-updates.lua)
10.060 Loading mod no-pipe-touching 0.1.14 (data-updates.lua)
10.136 Loading mod Squeak Through 1.8.2 (data-updates.lua)
10.205 Loading mod aai-industry 0.5.22 (data-updates.lua)
10.301 Loading mod alien-biomes 0.6.8 (data-updates.lua)
10.375 Loading mod Krastorio2 1.3.24 (data-updates.lua)
10.818 Loading mod infinite-ore-recipes 0.1.0 (data-updates.lua)
10.924 Loading mod MushroomCloud 1.0.17 (data-updates.lua)
11.003 Loading mod space-exploration 0.6.138 (data-updates.lua)
11.150 Loading mod SE-FireEverything 1.0.2 (data-updates.lua)
11.235 Loading mod se-recycling-extras 0.4.2 (data-updates.lua)
11.315 Loading mod WireShortcuts 1.1.13 (data-final-fixes.lua)
11.397 Loading mod aai-containers 0.2.11 (data-final-fixes.lua)
11.477 Loading mod auto_sort_chests 1.0.1 (data-final-fixes.lua)
11.547 Loading mod bobinserters 1.2.0 (data-final-fixes.lua)
11.623 Loading mod CopyPasteModules 0.1.1 (data-final-fixes.lua)
11.692 Loading mod FluidWagonColorMask 1.1.0 (data-final-fixes.lua)
11.767 Loading mod jetpack 0.3.14 (data-final-fixes.lua)
11.856 Loading mod Kux-CoreLib 2.11.0 (data-final-fixes.lua)
11.931 Loading mod no-pipe-touching 0.1.14 (data-final-fixes.lua)
12.023 Loading mod robot_attrition 0.5.15 (data-final-fixes.lua)
12.100 Loading mod spaceblock 0.3.9 (data-final-fixes.lua)
12.494 Error ModManager.cpp:1625: 模組「spaceblock」載入失敗:spaceblock/data-final-fixes.lua:220: attempt to index local 'furn' (a nil value)
stack traceback:
spaceblock/data-final-fixes.lua:220: in main chunk
12.496 Loading mod core 0.0.0 (data.lua)
12.740 Checksum for core: 3215923532
13.092 Error ModManager.cpp:1625: Error in assignID: recipe-category with name 'crafting' does not exist.

Source: default (utility-sprites).
13.326 Initial atlas bitmap size is 16384
13.326 Created atlas bitmap 2048x784 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
13.338 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
13.388 Parallel Sprite Loader initialized (threads: 7)
13.510 Sprites loaded
13.523 Generated mipmaps (5) for atlas [0] of size 2048x784
13.524 Custom mipmaps uploaded (99)
13.556 Factorio initialised
13.556 Discord overlay detected (DiscordHook64.dll)

3 months ago

It doesn't seem to work, "spaceblock" errors keep appearing.
I have removed all mods except SE+K2. But it still gives errors.

spaceblock = "0.3.9",
["spaceblock-memory-fix"] = "0.3.901",
stdlib = "1.4.8"
}
4.029 Loading mod alien-biomes 0.6.8 (data.lua)
4.491 Loading mod Krastorio2 1.3.24 (data.lua)
4.690 Loading mod space-exploration 0.6.138 (data.lua)
4.699 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [flying-layer] set to layer [layer-14]
4.704 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [projectile-layer] set to layer [layer-15]
4.708 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [vehicle-layer] set to layer [layer-16]
4.712 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [empty-space-tile] set to layer [layer-17]
4.717 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [space-tile] set to layer [layer-18]
4.722 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [moving-tile] set to layer [layer-19]
4.726 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [composite-entity-circuit-connection-layer] set to layer [layer-20]
4.829 Script @space-exploration/collision-mask-util-extended/data/collision-mask-util-extended.lua:115: Named collision layer [addon-layer] set to layer [layer-21]
5.072 Loading mod space-exploration-postprocess 0.6.30 (data.lua)
5.120 Loading mod base 1.1.109 (data-updates.lua)
5.171 Loading mod aai-industry 0.5.22 (data-updates.lua)
5.245 Loading mod alien-biomes 0.6.8 (data-updates.lua)
5.294 Loading mod Krastorio2 1.3.24 (data-updates.lua)
5.711 Loading mod space-exploration 0.6.138 (data-updates.lua)
5.835 Loading mod aai-containers 0.2.11 (data-final-fixes.lua)
5.885 Loading mod jetpack 0.3.14 (data-final-fixes.lua)
5.946 Loading mod robot_attrition 0.5.15 (data-final-fixes.lua)
5.996 Loading mod spaceblock 0.3.9 (data-final-fixes.lua)
6.316 Error ModManager.cpp:1625: Failed to load mod "spaceblock": spaceblock/data-final-fixes.lua:220: attempt to index local 'furn' (a nil value)
stack traceback:
spaceblock/data-final-fixes.lua:220: in main chunk
6.318 Loading mod core 0.0.0 (data.lua)
6.519 Checksum for core: 3215923532
6.608 Error ModManager.cpp:1625: Error in assignID: recipe-category with name 'crafting' does not exist.

Source: default (utility-sprites).
6.775 Initial atlas bitmap size is 16384
6.776 Created atlas bitmap 2048x784 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
6.791 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
6.870 Parallel Sprite Loader initialized (threads: 7)
7.171 Sprites loaded
7.208 Generated mipmaps (5) for atlas [0] of size 2048x784
7.208 Custom mipmaps uploaded (99)
7.214 Factorio initialised
7.214 Discord overlay detected (DiscordHook64.dll)

3 months ago

Do you realize that you have Krastorio and SpaceBlock loading?

3 months ago

Ya - you're running three mods that each completely change the terrain. I don't know what you're expecting by I highly doubt Space Block will work with either Krastorio2 nor Space Exploration.

I narrowed it to just Space Block and Krastorio2 and that won't work.
Then I tested SE and Space Block - that seems to work - but doubtful it is what you expect.

3 months ago

Thanks for your reply, maybe I misunderstood.
I always thought that Space block can help Space-Exploration reduce memory.
Now we know that they are incompatible, and both have different Spaces.
Space-Exploration requires over 10GB of memory to load, and it's the largest mod I've ever played. I'm always looking for a mod that reduces memory, and your picture looks a lot like Space-Exploration's base in space. I always thought it was compatible with Space-Exploration, but now I know they are different.
Perhaps it is stated that it is incompatible with Space-Exploration, and our Q&A would not exist.

3 months ago

Installing Space-Exploration will also install Krastorio2, both must exist together. So I cannot remove Krastorio2.

3 months ago

Space Exploration has no dependency on Krastorio2. I removed Krastorio2 without any issue, you just have to remove Krastorio Assets too.

I would never expect these three scenarios to work well together. Anyway - there is nothing I can do since this is not a bug with SpaceBlock Memory Fix

Space Block Memory Fix will have ZERO impact on memory for Space Exploration. It is designed to reduce memory consumed by SpaceBlock. Adding SpaceBlock will not improve the experience or save memory.

3 months ago

Thank you, I cannot remove Krastorio Assets alone, it must be installed together with Krastorio2.
I have been playing this archive for more than half a year, and I have forgotten why I installed Krastorio 2, but I enjoy the extremely difficult space dream. Now I am only halfway through the process, with more than 400 trains and 1000 train stations, and the huge memory caused by it makes me a little worried. .Will it crash?
Thank you for your detailed explanation. You are a very warm person. Programmers have a very kind heart and are eager to help others. Thank you.

New response