jpanther / dectorio

Dectorio is a large mod that adds decorative elements to Factorio.
https://mods.factorio.com/mod/Dectorio
GNU General Public License v3.0
23 stars 17 forks source link

Crash with Alien Biomes on 2.0 #250

Open numbernegative opened 1 week ago

numbernegative commented 1 week ago

Describe the bug

Failed to load mods: Error while loading tile prototype "dect-paint-refined-operations-right" (tile): Value (256) outside of range. The data type allows values from 0 to 255 in property tree at ROOT.tile.dect-paint-refined-operations-right.layer
Modifications: Dectorio › Alien Biomes

How to reproduce Steps to reproduce the behaviour:

  1. Launch game with both Dectorio and Alien Biomes enabled

Mod list mod-list.json

Multiplayer Solo

jpanther commented 1 week ago

This issue is because there's too many tiles being loaded into the game as there's a max 255 possible tiles permitted. You'll need to load up with only one of Dectorio/Alien Biomes enabled and then in the mod settings turn off some of the tiles - ie. reduce the number of biomes in Alien Biomes or turn off some of the concrete/flooring options in Dectorio. Then you should be able to load up the game.

numbernegative commented 1 week ago

2.0 Has raised that tile limit to above 65,000 https://forums.factorio.com/viewtopic.php?p=589483#p589483

jpanther commented 1 week ago

Hmm interesting, I did not know this! I'll look into this further.

numbernegative commented 1 week ago

Alien Biomes devs are aware of this issue as well. According to them this is an issue with the layers system. Tile limit has been increased but layers are still limited to 255

jpanther commented 1 week ago

I guess this means there isn't a fix for this at the moment as the base game is the limitation here. I think part of the problem is that Alien Biomes uses up as many tiles as possible when it starts up and so there's no room left in the layers for other mods.

Wiwiweb commented 1 week ago

We fixed this in Alien Biomes 0.7.2, just released. We're still kinda figuring out how we're going to handle grouping tiles so that their layers only overlap if the tiles won't be placed next to each other. There might be more issues around that in the future, sorry.