No more than 255 tiles?

Coming soon!
pleegwat
Filter Inserter
Filter Inserter
Posts: 260
Joined: Fri May 19, 2017 7:31 pm
Contact:

Re: No more than 255 tiles?

Post by pleegwat »

TheKillerChicken wrote:
Sat Sep 02, 2023 6:30 pm
If every byte was set to the true 64-bit integer (1 decellion), this game would need ~200 TB of memory. So that is why these practical values exist.
No, 64 bits can index 2⁶⁴ or about 16 * 10¹⁸ tiles. In words this is sixteen trillion or sixteen pentillion, depending on whether you subscribe to the long or the short scale. This is nowhere near a decillion (10⁶⁰ or 10³³, depending on the scale). However, this is completely irrelevant. The relevant number is 8 bytes per tile (or 8 kilobytes per chunk) for the tile IDs, plus some memory for those tiles which have been assigned a meaning. There is no need to allocate memory for unused tile IDs.

FuryoftheStars
Smart Inserter
Smart Inserter
Posts: 2596
Joined: Tue Apr 25, 2017 2:01 pm
Contact:

Re: No more than 255 tiles?

Post by FuryoftheStars »

Rseding91 wrote:
Mon Aug 28, 2023 4:00 pm
As part of the Space Age work we had to bite the bullet and change tiles to support up to 65'000~ tiles. It means more memory used and potentially save file size but it's now going to be there.
HECK YEAH!!!! \o/

Out of all the changes to the game for 2.0/expansion, this one right here is getting me the most excited!!
My Mods: Classic Factorio Basic Oil Processing | Sulfur Production from Oils | Wood to Oil Processing | Infinite Resources - Normal Yield | Tree Saplings (Redux) | Alien Biomes Tweaked | Restrictions on Artificial Tiles | New Gear Girl & HR Graphics

Post Reply

Return to “Implemented for 2.0”