colorful_biochamber

by meifray

RGB Biochamber.

Tweaks
8 days ago
2.0
6.06K
Manufacturing

g sei-biochamber 0.1.4 changes

9 days ago

I just looked at it and I see you use the absolute path of the sprite, and im about to release 0.1.4 which removes the textures and sounds packaged in my mods and uses them directly from the space-age folder in the factorio data directory.
I really appreciate you taking your time to add support for it.

your mod will still load but it wont actually replace anything. to fix, in support/biochamber.lua on line 32 and 57 replace 'util.sprite_load' with 'require("__sei-library__.path_util").sa_sprite_load'
and on lines 43, 47, 50, 53, and 65 replace '__sei-biochamber__' with '__base__/../space-age'

8 days ago

You are wrong, you make them reference base/../space-age//graphics... instead of base/../space-age/graphics...

8 days ago

Where do I reference with //? Cause it shouldnt. I did test it before I posted this and it looked like it was working

8 days ago

If i do it shouldnt be, which i will fix

8 days ago
(updated 8 days ago)

Where do I reference with //? Cause it shouldnt. I did test it before I posted this and it looked like it was working

in sei-library/path_util.lua fix_path function, you catch the first '/' character and then remove most of path but dont remove the slash, and look at the line3: Util.space_age_path = "base/../space-age/" so you get 2 slash there.

Original:"space-age/graphics/entity/biochamber/biochamber-glow-2.png"
Your operation:"base/../space-age/"+"/graphics/entity/biochamber/biochamber-glow-2.png"
Result:"base/../space-age//graphics/entity/biochamber/biochamber-glow-2.png"

8 days ago

I just uploaded the fix for it yea I forgot about removing the path, weird enough // still counts as a single direction and doesn't error on sprite load

8 days ago

I just uploaded the fix for it yea I forgot about removing the path, weird enough // still counts as a single direction and doesn't error on sprite load

nice :)

8 days ago

oh it looks like your mod still uses the '__base__/../space-age//graphics*'

8 days ago

oh it looks like your mod still uses the '__base__/../space-age//graphics*'

shit, I forgot to make right version work too :/ I guess now I have to update again...

New response