I can't seem to find anything about making a map any bigger than 257.

Valid values are 17,33,65,129, and 257. Others may not work

It sounds like there are numbers that you can use – does anyone know of any, or if you can at all?

  • 3
    Based on this pattern I'd suggest trying 513 or 1025 and seeing if those work. Dec 13, 2012 at 3:19
  • 1
    That did not seem to work. Dec 13, 2012 at 3:37
  • 1
    There is very little reason to generate a map larger than 257 x 257. Each of those sizes are region tiles with 16x16 map tiles composing each region tile, and either 64x64 or 32x32 (forget which) game tiles making up each map tile. 257 x 257 world can take up to 20 minutes to generate on a top of the line PC - why do you want bigger? Dec 13, 2012 at 3:53
  • 3
    I am not really interested in the generation time, I want to know if you can. Dec 13, 2012 at 4:10

2 Answers 2


From what I'm finding on the wiki, I do not believe this is possible. From the 40d World Generation page:

Note that only available world widths/heights are 17, 33, 65, 129, and 257; even directly editing the world_gen.txt file will not let you use other sizes than these.

Obviously this may no longer be accurate, but as there have been no major world gen changes, I believe it is. The DF2012 Advanced World Generation page is a little more ambiguous, but it says:

Valid values are 17,33,65,129, and 257. Others may not work.

Based on this, I don't think you'll be able to make a world larger than 257x257.


This is possible with a cheat engine. That is a program that work like gamegenie. With it you can edit the world Y and X size variable.

PS: If you think about the size that DF has right now it follow a rule, the rule is: Size Y or X = (2^N)+1, N need to be a integer. I also heard X and Y need to be odd numbers, so 2 (2^0+1) is not valid. So the possible values you can put (according to somewhere) need to follow the formula (2^n)+1, n need to be a integer value and final value need to be a odd one, 17 (a possible dwarf x or y size), 65, 257, 513... follow this formula.

Just remember some thing, when you change the size of Y or X on advanced world generation, it auto change some world generation settings, you can see that by getting a setting with large size and reducing it to pocket size.

I made a 257 x 513 map with it.

As to how to exactly do it:

  1. first download and install cheat engine http://www.cheatengine.org/
  2. Open dwarf fortress and cheat engine
  3. Go to cheat engine and tell it to look at dwarf fortress
  4. Go to dwarf fortress advanced world generator and select the setting you will use
  5. Change the size you want to change (x or y) to a different value.
  6. Go to cheat engine program and write the value (X or Y) has and click on search.
  7. After it made the search, go to dwarf fortress and change the X (or Y if you are doing with Y) to another value
  8. Go to cheat engine program and write this new value and tell it to search.
  9. Continue doing 8 and 9 until it cheat engine shows only one variable
  10. Click on this variable on cheat engine and change it to the value you want.
  11. Now the value you want is changed

if you did it with size X, you will know need to dowith size Y if wanted. After you finish to generate the world, you can close the program, you will not need to open it everytime you want to play the map.

  • Hi jole, welcome to Arqade. I've edited your answer to include data from your last answer and deleted it. In the future, please edit your answer instead of posting a new one.
    – Oak
    Sep 10, 2013 at 16:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .