Rusty's Locale Utilities


A set of helper functions for resolving proper localised names and descriptions of prototypes, including recipes and items. There are also utilities for resolving prototype icons, because why not?

Internal
10 months ago
0.18 - 2.0
77.2K

b mipmap error with angel's refining and crafting combinator.

5 years ago

Factorio failed to load mods after updating this mod
Error produced was:

Failed to load mods: Error while loading virtual-signal prototype "fill-crude-oil-barrel" (virtual-signal): Sprite 'angelsrefining/graphics/icons/angels-liquid/liquid-item-base.png' has mipmap count set to 4, so it's size is expected to be multiple of 8. But its size is 330x330.
Modifications: Crafting Combinator

I don't know enough to say for sure if this was caused by this mod, or issues with the others mentioned, but I was able to get my mod-list to load by changing line 24 of icons.lua from:

            new.icon_mipmaps = new.icon_mipmaps or prototype.icon_mipmaps

to:

            new.icon_mipmaps = nil

kludgy, but got it to load.

5 years ago

I'll have to look at that closer. Sounds like I missed something in how mipmaps work...

Your "fix" basically reverts it to how it was before I added the mipmaps, so it should work for now.

5 years ago

Forgot to mention it here, but this should be fixed in 1.0.13 ;)

New response