🌐 Rabbasca, the forgotten Moon

by .Talon

This Moon of Gleba emits strange energy signatures which interfere with conventional energy sources. Use the limited power it provides to explore ancient vaults of a long gone civilization. Discover new ways to construct your machines and conquer space with your very own tool-assisted legs.

Content
7 days ago
2.0 - 2.1
13.9K
Factorio: Space Age Icon Space Age Mod
Planets Transportation Logistics Armor Enemies Manufacturing

g [Solved] Incompatibility between Rabbasca, Rabbasca Underground and Resource Highlighter (Dark)

7 days ago
(updated 7 days ago)

Resource Highlighter: https://mods.factorio.com/mod/resourcehighlighter-dark
no other mods used (besides required mods)
Error Log:

   2.727 Error ParallelSpriteLoader.cpp:67: Parallel sprite loading failed, falling back to normal sprite loading. The given sprite rectangle (left_top=0x0, right_bottom=256x256) is outside the actual sprite size (left_top=0x0, right_bottom=120x64).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: __space-age__/graphics/icons/calcite.png
         RAM: 31994 MB
   3.199 Error AtlasBuilder.cpp:1378: The given sprite rectangle (left_top=0x0, right_bottom=256x256) is outside the actual sprite size (left_top=0x0, right_bottom=120x64).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: __space-age__/graphics/icons/calcite.png; mods: planet-rabbasca resourcehighlighter-dark
         Prototypes using the sprite:
           data.raw["item"]["calcite"]
           data.raw["item"]["resourcehighlighter-treasure-calcite"]
           data.raw["item"]["resourcehighlighter-treasure-rabbasca-warp-anomaly"]
           data.raw["item"]["resourcehighlighter-treasure-rabbasca-yumako-mashup"]
           data.raw["recipe"]["haronite-decomposition"]
           data.raw["recipe"]["calcite-recycling"]
           data.raw["resource"]["calcite"]

I skimmed through the resource highlighter source and it only reads the icons, therefore i think the issue is probably in some of your mods.
The log says the incompatibility is between rabbasca and resource highlighter, but these two alone work. The error only happens when rabbasca underground is also present.

I'm using Factorio 2.1

6 days ago
(updated 6 days ago)

The method how resourcehighlighter's code copies icons clashes with rabbasca-underground resources which use calcite as a base, but then define their own icons, without removing the base icon.
I removed the base icon on them for the next version (rabbasca-underground 0.10.0), which should fix this issue.

6 days ago

Thanks

New response