Page 1 of 1

How many chunks is a region made of?

Posted: Thu Sep 11, 2014 11:53 pm
by VBMeireles
How big is a region in Factorio? Is it composed of chunks? How many?

Re: How many chunks is a region made of?

Posted: Fri Sep 12, 2014 12:13 am
by ssilk
A chunk: https://forums.factorio.com/wiki/inde ... itle=Chunk

The map contains theoretically unlimited number of chunks, cause there are no limits if you generate a map without limits. I calculated once, that if a tile is one square meter, and you have 8 GiB free memory you can discover an area about the size of the state of Lichtenstein. :)

Re: How many chunks is a region made of?

Posted: Fri Sep 12, 2014 1:10 am
by -root
ssilk wrote:I calculated once, that if a tile is one square meter, and you have 8 GiB free memory you can discover an area about the size of the state of Lichtenstein. :)
:lol: Factorio fun fact for the day.

Re: How many chunks is a region made of?

Posted: Fri Sep 12, 2014 12:33 pm
by arl85
If you enable "debug - detailed info" you can see "cursor", "chunk" and "region".
So I think it is that "region" OP is referring to.

Because a chunk is 32 tiles long it seem logic to have a region 32 chunks long, but I never checked.
It should be quite easy to check in sandbox mode moving around and watching detailed info lines, anyway.

Re: How many chunks is a region made of?

Posted: Fri Sep 12, 2014 2:21 pm
by cube
Region is 16 by 16 chunks large.

It is actually not exposed anywhere but the debug info (no game mechanic depends on regions, no scripting functions have access to regions), currently they are only used for organizing allocations.
There is also a chance that we will remove them completely in the future.

Re: How many chunks is a region made of?

Posted: Sat Sep 13, 2014 5:07 pm
by VBMeireles
cube wrote:Region is 16 by 16 chunks large.
Thank you!

Re: How many chunks is a region made of?

Posted: Mon Sep 15, 2014 1:29 am
by VBMeireles
cube wrote:Region is 16 by 16 chunks large.
I decided to check it out by myself through F5's information and it turns out the region number I was in only increased by 1 after I'd ran a distance of 32 chunks, making me conclude a region is actually 32 by 32 chunks large. Can you confirm that?

Re: How many chunks is a region made of?

Posted: Mon Sep 15, 2014 5:10 pm
by ssilk
To me that would make sense, since 16 * 16 = 256, but 32 * 32 = 1024, so a region is just 1024 * 1024 = 1 mebi tiles (http://en.wikipedia.org/wiki/Binary_prefix)