Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Reproducing a "Create world now" world  (Read 828 times)

greycat

  • Bay Watcher
    • View Profile
Reproducing a "Create world now" world
« on: April 05, 2012, 08:27:06 pm »

I reported a crash during world gen and Footkerchief wants me to try to reproduce it.  The world gen was done with "Create world now", not advanced world gen.  So now I'm trying to learn how to reproduce the simple world gen, using the advanced world gen interface.

I couldn't even enter the seeds in the game interface, but I managed to find this thread which told me how to work around that.

A bit of experimentation on my own got me part way there, I think.  In a new directory, I extracted 0.34.07 and then did a "Create world now" with short history, exported the image, and accepted.

Then I tried to duplicate that using the advanced world gen interface.  I copied the "medium island" parameter set and gave it a new title.  I changed the history length to 125 years, enabled the seeds, saved it, exited the game, edited the data/init/world_gen.txt file, pasted in the seeds from the ./gamelog.txt file, restarted the game, and did a world gen from the new parameter set.  Then exported that image and accepted.

I opened the two images to compare them.  The land masses all look the same.  But the towns are in different places, and the roads run a bit differently.  So it looks like I'm only part way there -- there is something different in the way civilizations are set up.

Has anyone tried this yet?  Any thoughts on which other parameter(s) are different between the two world gen interfaces?
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Putnam

  • Bay Watcher
  • DAT WIZARD
    • View Profile
Re: Reproducing a "Create world now" world
« Reply #1 on: April 05, 2012, 09:05:47 pm »

There should be an "Export world gen params" button that you can press that will upload the exact world generation parameters to a text file.

Taffer

  • Bay Watcher
    • View Profile
Re: Reproducing a "Create world now" world
« Reply #2 on: April 06, 2012, 06:28:27 am »

There should be an "Export world gen params" button that you can press that will upload the exact world generation parameters to a text file.

If you exported the map just after gen, it will do this for you. Otherwise, this.
Logged

greycat

  • Bay Watcher
    • View Profile
Re: Reproducing a "Create world now" world
« Reply #3 on: April 06, 2012, 09:19:58 am »

Ohhh, thanks guys.  And the crash is reproducible after all.  Good news!  (Non-reproducible bugs are much harder to fix.)

And now I can also see what's different between "Create world now!" with shortened history, and "MEDIUM ISLAND":

Code: [Select]
--- medium-island 2012-04-06 10:14:22.000000000 -0400
+++ create-world-now 2012-04-06 10:17:14.000000000 -0400
@@ -1,9 +1,13 @@
 [WORLD_GEN]
- [TITLE:MEDIUM ISLAND]
+ [TITLE:CREATE WORLD NOW = 4233333]
+ [SEED:0SCBJNdSFlNDh0z7Uak9]
+ [HISTORY_SEED:icWLuNriBwM1CRyLgWeh]
+ [NAME_SEED:3tiWfaYvy8uUYHfGSRoP]
+ [CREATURE_SEED:D3EDM2PoMtQKYugzI2p2]
  [DIM:129:129]
  [EMBARK_POINTS:1274]
- [END_YEAR:1050]
- [BEAST_END_YEAR:200:80]
+ [END_YEAR:125]
+ [BEAST_END_YEAR:125:-1]
  [REVEAL_ALL_HISTORY:1]
  [CULL_HISTORICAL_FIGURES:0]
  [ELEVATION:1:400:1600:1600]
@@ -71,8 +75,8 @@
  [LEVELS_AT_BOTTOM:1]
  [CAVE_MIN_SIZE:5]
  [CAVE_MAX_SIZE:25]
- [MOUNTAIN_CAVE_MIN:15]
- [NON_MOUNTAIN_CAVE_MIN:25]
+ [MOUNTAIN_CAVE_MIN:10]
+ [NON_MOUNTAIN_CAVE_MIN:15]
  [ALL_CAVES_VISIBLE:0]
  [SHOW_EMBARK_TUNNEL:2]
  [TOTAL_CIV_NUMBER:40]

That's something I've been wondering for some time.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz