halp
So was trying out the electric2x2 mod,
but it wouldn't load
got this message
when i scouted for electric2x2 file, i found only the zipped version in the mod directory, so i unzipped it so it had its own folder in the mod directory.
makes me wonder, how did factorio even know that it wanted electric_furnance_base.png if it hadn't even unzipped the electric_furnance2x2 mod?
I've been told mods have to be unzipped b4 they work, but here Factorio seems to be getting instructions from the mod regardless.
Its a complete mystery. You mod devs must know many strange secrets about mods.
I also added it to the mod-list.json file, because I think mods are supposed to be registered there.
and tried again.
got same error message
anyone know whats wrong? I find the solutions interesting because they give insight into the mysteries of factorio mod dev.
thanks
electric2x2 fail
Re: electric2x2 fail
You can get it when this file has 'read-only' attribute.
Please always add the link https://mods.factorio.com/mods/henenzzz ... aces%202x2
Please always add the link https://mods.factorio.com/mods/henenzzz ... aces%202x2
Re: electric2x2 fail
Hi darkfrei,
>You can get it when this file has 'read-only' attribute.
I tried setting the read only attribute to True on file Properties for the electric-furnace-base.png file in the "electric furnaces 2x2_0.0.2" directory. It didn't change the error message on loading Factorio
What was the idea behind setting the read only attribute?
>You can get it when this file has 'read-only' attribute.
I tried setting the read only attribute to True on file Properties for the electric-furnace-base.png file in the "electric furnaces 2x2_0.0.2" directory. It didn't change the error message on loading Factorio
What was the idea behind setting the read only attribute?
-
- Fast Inserter
- Posts: 152
- Joined: Sun Dec 18, 2016 3:02 pm
- Contact:
Re: electric2x2 fail
Unzip the mod, go to prototypes folder inside the mod, open entities.lua, change line 52 to this
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-base.png",
filename = "__base__/graphics/entity/electric-furnace/electric-furnace-base.png",
Re: electric2x2 fail
It worked!
thanks evildogbot100
edit:
...except the graphic for the furnace is clunky, its still a 3x3 image, even though the furnace takes up 2x2 squares.
thanks evildogbot100
edit:
...except the graphic for the furnace is clunky, its still a 3x3 image, even though the furnace takes up 2x2 squares.
Re: electric2x2 fail
You must add scale to pictures, scale = 0.66, but x and y shift must be higher in 1.5 times.meems wrote:...except the graphic for the furnace is clunky, its still a 3x3 image, even though the furnace takes up 2x2 squares.
Re: electric2x2 fail
Just want to add something.
Mods can work zipped or unzipped, as long as the structure is correct (correct folder name + info.json).I've been told mods have to be unzipped b4 they work