Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Decided to create a 3x3 world in DF64bits and it worked.  (Read 5696 times)

exdeath

  • Bay Watcher
    • View Profile
Decided to create a 3x3 world in DF64bits and it worked.
« on: July 04, 2016, 10:48:47 am »

I decided to test if the game would be able to handle 3x3 worlds and it worked.
To set the world size to 3, I used a program called cheat engine, that is basically like some gameshark thing for pcs.
I will use it to test if my pc will handle a 16x16 embark size, if the world is 3x3.
3x3 is the smallest size that follow the formula: size X or Y = 2^n+1 where N is integer and Size X or Y is odd

World Map image


Worlgen parameters used to do the 3x3 world:
Code: [Select]
[WORLD_GEN]
[TITLE:MINIMAL POCKET WORLD]
[CUSTOM_NAME:3x3 world]
[DIM:17:17]
[EMBARK_POINTS:10000]
[END_YEAR:2]
[BEAST_END_YEAR:9999:-1]
[REVEAL_ALL_HISTORY:1]
[CULL_HISTORICAL_FIGURES:1]
[ELEVATION:1:400:25:25]
[RAINFALL:0:100:25:25]
[TEMPERATURE:25:75:25:25]
[DRAINAGE:0:100:25:25]
[VOLCANISM:0:100:25:25]
[SAVAGERY:0:100:25:25]
[ELEVATION_FREQUENCY:1:1:1:1:1:1]
[RAIN_FREQUENCY:1:1:1:1:1:1]
[DRAINAGE_FREQUENCY:1:1:1:1:1:1]
[TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
[SAVAGERY_FREQUENCY:1:1:1:1:1:1]
[VOLCANISM_FREQUENCY:1:1:1:1:1:1]
[POLE:NONE]
[MINERAL_SCARCITY:99999]
[MEGABEAST_CAP:1]
[SEMIMEGABEAST_CAP:1]
[TITAN_NUMBER:0]
[TITAN_ATTACK_TRIGGER:0:0:0]
[DEMON_NUMBER:0]
[NIGHT_TROLL_NUMBER:0]
[BOGEYMAN_NUMBER:0]
[VAMPIRE_NUMBER:0]
[WEREBEAST_NUMBER:0]
[SECRET_NUMBER:0]
[REGIONAL_INTERACTION_NUMBER:0]
[DISTURBANCE_INTERACTION_NUMBER:0]
[EVIL_CLOUD_NUMBER:0]
[EVIL_RAIN_NUMBER:0]
[GENERATE_DIVINE_MATERIALS:1]
[GOOD_SQ_COUNTS:0:0:0]
[EVIL_SQ_COUNTS:0:0:0]
[PEAK_NUMBER_MIN:0]
[PARTIAL_OCEAN_EDGE_MIN:0]
[COMPLETE_OCEAN_EDGE_MIN:0]
[VOLCANO_MIN:0]
[REGION_COUNTS:SWAMP:0:0:0]
[REGION_COUNTS:DESERT:0:0:0]
[REGION_COUNTS:FOREST:0:0:0]
[REGION_COUNTS:MOUNTAINS:0:0:0]
[REGION_COUNTS:OCEAN:0:0:0]
[REGION_COUNTS:GLACIER:0:0:0]
[REGION_COUNTS:TUNDRA:0:0:0]
[REGION_COUNTS:GRASSLAND:0:0:0]
[REGION_COUNTS:HILLS:0:0:0]
[EROSION_CYCLE_COUNT:250]
[RIVER_MINS:0:0]
[PERIODICALLY_ERODE_EXTREMES:1]
[OROGRAPHIC_PRECIPITATION:1]
[SUBREGION_MAX:5000]
[CAVERN_LAYER_COUNT:1]
[CAVERN_LAYER_OPENNESS_MIN:0]
[CAVERN_LAYER_OPENNESS_MAX:100]
[CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
[CAVERN_LAYER_PASSAGE_DENSITY_MAX:100]
[CAVERN_LAYER_WATER_MIN:0]
[CAVERN_LAYER_WATER_MAX:100]
[HAVE_BOTTOM_LAYER_1:1]
[HAVE_BOTTOM_LAYER_2:1]
[LEVELS_ABOVE_GROUND:100]
[LEVELS_ABOVE_LAYER_1:100]
[LEVELS_ABOVE_LAYER_2:100]
[LEVELS_ABOVE_LAYER_3:100]
[LEVELS_ABOVE_LAYER_4:100]
[LEVELS_ABOVE_LAYER_5:100]
[LEVELS_AT_BOTTOM:100]
[CAVE_MIN_SIZE:1]
[CAVE_MAX_SIZE:500]
[MOUNTAIN_CAVE_MIN:0]
[NON_MOUNTAIN_CAVE_MIN:0]
[ALL_CAVES_VISIBLE:0]
[SHOW_EMBARK_TUNNEL:2]
[TOTAL_CIV_NUMBER:5]
[TOTAL_CIV_POPULATION:-1]
[SITE_CAP:-1]
[PLAYABLE_CIVILIZATION_REQUIRED:1]
[ELEVATION_RANGES:0:0:0]
[RAIN_RANGES:0:0:0]
[DRAINAGE_RANGES:0:0:0]
[SAVAGERY_RANGES:0:0:0]
[VOLCANISM_RANGES:0:0:0]

And the Save:
https://www.4shared.com/rar/XixawjSBca/region4.html


INGAME PIC


PS: Before you ask, if you want use the program cheat engine to create larger maps, yes you can do it.
Its possible to do it, DF handled 513x513, dont know if it can handle larger sizes.
« Last Edit: March 22, 2018, 06:19:15 pm by exdeath »
Logged

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #1 on: July 04, 2016, 10:54:24 am »

wow. How do you actually set it that small? (how do you use that program)
Logged
Eventually when you go far enough the insane start becoming the sane

nuget102

  • Bay Watcher
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #2 on: July 04, 2016, 05:01:11 pm »

I could easily see this being useful to people with low end machines.
Logged
The fort where filth melts your skin! (updated 4/9/15)

Curiosity killed the cat.
Satisfaction brought it back.

exdeath

  • Bay Watcher
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #3 on: July 04, 2016, 05:28:39 pm »

1- First you open the cheat engine and dwarf fortress

2-On cheat engine click on select a process to work, the icon is the one with an pc on it.

3-Find dwarf fortress.exe there and click on open

4-Now on dwarf fortress, go to design a world with advanced parameters.

5-Start to generate a world.

6-Go to cheat engine write the size of X or Y map size on the value text field and click on first scan.

7-Stop the world generation, go back to advanced world generation and select a parameter with different size and start to generate an world.

8- Go to cheat engine write the X or Y map size of this new world parameter, at the value text field and click on first scan.

9-On the cheat engine on the left side, you will see a box with address value and previous value.
Here you will see the ram values, what this program do is to look for ram values with the values you wrote on the text field, so the program looked for ram values that had the exact map size you searched when you searched them.

10-Continue going back to 7, until you have 4 values (or 8 if X and Y map size values are the same). When this happen click two times on the value and you will see the address appear on the bottom box.

11-Stop the world generation and go back to advanced world generation menu.

12-At cheat engine, now go to bottom box, click on the address you want and change the value, to the new value you want. Click the box near this value to make a cross inside this box, this means the ram value wont change

13-Now you can create a new world with this value.
PS: Sometimes dwarf fortress will crash while trying to generate a world.

If you want to do it for world Y value, just do the same thing I said here but with world Y value.

Another thing, many times, the max amount of sub-region amount is not enought even for 257x257 world, if you want to have an easier time generating a world bigger than 257x257, you will need to set the max number of subregion to a number higher than 5000 that is the limit, you can also use cheat engine to do that.
« Last Edit: March 22, 2018, 06:09:10 pm by exdeath »
Logged

§k

  • Bay Watcher
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #4 on: July 04, 2016, 08:22:30 pm »

Does 3×3 world mean that you can embark on the whole world? So you send troops to take down goblin towers?
Logged
All of them are wearing copper and Iron masks saying "in a time before time somebody attacked somebody"

Show undead posts since last visit.

Max™

  • Bay Watcher
  • [CULL:SQUARE]
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #5 on: July 05, 2016, 06:17:57 am »

No, it's still 3 world tiles with 16 embark tiles with 48... er... tile tiles each.
Logged

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #6 on: July 30, 2016, 07:17:07 am »

I'm now curious to see something like a world that is 3x2049 or something.
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

exdeath

  • Bay Watcher
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #7 on: August 07, 2016, 05:17:42 pm »

I'm now curious to see something like a world that is 3x2049 or something.
Done some tests and even 3x17 crashed. Maybe I am doing something wrong.
Logged

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #8 on: August 08, 2016, 06:43:08 pm »

Try 1x1
Logged
Eventually when you go far enough the insane start becoming the sane

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #9 on: August 09, 2016, 10:14:14 pm »

Try 1x1
That's not a 2^n +1 size.
2x2 is 2^0 +1, but the size supposedly needs to be odd.
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

Xazo-Tak

  • Bay Watcher
  • *Camping forever*
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #10 on: August 09, 2016, 10:16:13 pm »

I'm now curious to see something like a world that is 3x2049 or something.
Done some tests and even 3x17 crashed. Maybe I am doing something wrong.
Do non-square worlds even still work for normal sizes with 64-bit?
Seems like the sort of bug that could go undetected even amongst thousands of players, because no one uses it.
Logged
How to have recursive Fun:
Have Fun
Reclaim fort
Destroy your main graveyard with a cave-in

exdeath

  • Bay Watcher
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #11 on: August 13, 2016, 11:47:40 am »

I'm now curious to see something like a world that is 3x2049 or something.
Done some tests and even 3x17 crashed. Maybe I am doing something wrong.
Do non-square worlds even still work for normal sizes with 64-bit?
Seems like the sort of bug that could go undetected even amongst thousands of players, because no one uses it.
They arent working. I tested some non squares maps with the default sizes and on some cases they crashed. Even 129x257 crashed once.
« Last Edit: August 22, 2016, 06:35:22 am by exdeath »
Logged

Dozebôm Lolumzalìs

  • Bay Watcher
  • what even is truth
    • View Profile
    • test
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #12 on: August 13, 2016, 11:15:45 pm »

1 is an odd number.
Logged
Quote from: King James Programming
...Simplification leaves us with the black extra-cosmic gulfs it throws open before our frenzied eyes...
Quote from: Salvané Descocrates
The only difference between me and a fool is that I know that I know only that I think, therefore I am.
Sigtext!

Gwolfski

  • Bay Watcher
  • Strawberries!
    • View Profile
    • ignore pls!
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #13 on: August 14, 2016, 05:59:20 pm »

1 is an odd number.

but its neither a prime nor composite
Logged
Eventually when you go far enough the insane start becoming the sane

Halnoth

  • Bay Watcher
  • Plan for the Worst. Hope for the Best. Have Fun!
    • View Profile
Re: Decided to create a 3x3 world in DF64bits and it worked.
« Reply #14 on: August 14, 2016, 06:19:16 pm »

Are you able to get civs with this small of a world? It would certainly reduce lag a lot but without goblins then the play would be boring I'd think.
Logged
One of the dwarfs walked in front of Thor to get a better view of the prye, and Thor kicked him irritably into the middle of the flames, which made Thor feel slightly better and made all the dwarfs feel much worse.

Cloth Armor Mod http://www.bay12forums.com/smf/index.php?topic=158967.msg7063531#msg7063531
Pages: [1] 2