Armoured Biters

by CybranM

Adds a new type of enemy to the game called "Snappers" with custom sprites and animations. They're heavily armoured but slower than regular biters. This mod is compatible with most other mods.

Content
a month ago
0.17 - 2.0
162K
Enemies

g Error when enabling mod

a month ago

Failed to load mods: The given sprite rectangle (left_top=0x0, right_bottom=64x64) is outside the actual sprite size (left_top=0x0, right_bottom=32x32).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: ArmouredBiters/graphics/icons/big-armoured-biter.png

a month ago

I have the same problem

a month ago

Hmm, I can't replicate the issue. Are you using High or Low Quality texture compression in the games settings?

a month ago

on my case, I'm using High Quality

One thing I didn't mention and don't know if that's the case of the first poster:

Failed to load mods: The given sprite rectangle (left_top=0x0, right_bottom=64x64) is outside the actual sprite size (left_top=0x0, right_bottom=32x32).
If this is being used as an icon you may need to define the icon_size property.
See the log file for more information.: ArmouredBiters/graphics/icons/behemoth-armoured-biter.png

Mods to be disabled:
- Armored Biters
- Creative Mode
- Combat Mechanics Overhaul

So, after I tested deactivating the "Creative Mod", the game loads... but didn't test any further.

The OP needs to say if there is any other mod being show during the load like my case above, if it is the same mod, then the cause of this bad interaction is what need to be solved.

a month ago

Alright, thanks for the extra details. Will wait to see if ItsJustNix is also running other mods, I can't do much on my end.

a month ago

I have lots of mods but me and ironmonk seem to have creative mode wanting to be disabledin common

a month ago

I think I figured out the problem...

I was checking the information available at:
https://github.com/tburrows13/factorio-2.0-mod-porting-guide

And today I was checking my mod list and then I had an idea, and decided to open your mod and check the code:
1) on the link above, its said that Factorio 2.0 is high-res by default, so icon_size property must be 64 and not 32 (low-res)
2) I opened .data.lua on your mod and changed all icon_size = 32 entries for icon_size = 64
3) I dirty edit the icon image files to increase the size of the image to 64x64
4) I could now load just fine

The issue with Creative Mod is probably because it add snappers as items to the Creative Mod group, so, as the icon_size property was wrong, it caused the crash... without the Creative Mod, this item (probably created by this mod) isn't loaded, so there is no crash... but any other mod that do similar stuff might crash as well.

So, you need to fix this and create new icons with 64 res and substitute the 32 res ones.

a month ago

Nice find! I downloaded Creative Mod and updated the icons which solved the issue. Going to upload new version soon

New response