Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Way to edit the default worldgen options?  (Read 3374 times)

mndfreeze

  • Bay Watcher
    • View Profile
Way to edit the default worldgen options?
« on: December 18, 2014, 10:46:40 pm »

Is there a config file or some place that holds the worldgen options for the base worldgen section of create a new world?

I dont mean going into the advanced generator.  I mean I like everything about the simply world gen option choices but would like to tweak one specific thing up more.  Is there a config file or something that the normal world gen reads from that I can modify?

Basically I'd like to up the number of good tiles that are generated, but still use all the other options as they are in the normal simple world generator. 
Logged

mndfreeze

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #1 on: December 19, 2014, 12:16:55 am »

Or something that would also work would be if someone knows a simple way I can start up, generate a new world with the basic worldgen in game that I mostly like, then output its various varibles in a text file so I can just stick all of those right into the worldgen.txt or plug them into the advanced generator. 

the defaults that the advanced generator uses are no where close to what the normal world gen is set to.  I've tried quite a few times even using the wiki and such to generate worlds similiar to the simple gen ones but they either never generate correctly or if they do they are all sorts of whack.
Logged

Naryar

  • Bay Watcher
  • [SPHERE:VERMIN][LIKES_FIGHTING]
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #2 on: December 19, 2014, 05:48:44 am »

Learn to use advanced worldgen.

It's not even difficult.

Parhelion

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #3 on: December 19, 2014, 06:28:57 am »

Eh, rude response was rude.

If you're going to respond to a question, give a useful answer.  Like, "Sure, here's how to do it," or, "No, we can't edit that, but here are some world settings you can use to get similar 'create a world' results -- just copy and paste them into the world init file."

The advanced world gen's default settings often spit out results are drastically different to the simple option, causing a lot more rejections.  Or at least, mine do.  Some people just want to get in and play, not spend 4 hours experimenting on tweaking options that 5,000 other people have already figured out.  Next time, show some courtesy concerning what someone's trying to accomplish.

« Last Edit: December 19, 2014, 06:30:45 am by Parhelion »
Logged

Naryar

  • Bay Watcher
  • [SPHERE:VERMIN][LIKES_FIGHTING]
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #4 on: December 19, 2014, 07:04:10 am »

Eh, rude response was rude.

If you're going to respond to a question, give a useful answer.  Like, "Sure, here's how to do it," or, "No, we can't edit that, but here are some world settings you can use to get similar 'create a world' results -- just copy and paste them into the world init file."

The advanced world gen's default settings often spit out results are drastically different to the simple option, causing a lot more rejections.  Or at least, mine do.  Some people just want to get in and play, not spend 4 hours experimenting on tweaking options that 5,000 other people have already figured out.  Next time, show some courtesy concerning what someone's trying to accomplish.

He was asking something that only advanced worldgen could do, while not wanting to LEARN advanced worldgen. I pointed out this issue to him.

Advanced worldgen doesn't even have that much rejections if you remove the "required numbers of X tiles" at the end of the list.

Anyways, I realize my former post may have sounded arrogant, so here's how you do it...

-go into advanced worldgen
-choose your prefered size and island/region settings
-go over the list of parameters and find out the desired number of good/evil regions parameters
-increase good, decrease evil

read this for more help : http://dwarffortresswiki.org/index.php/DF2014:Advanced_world_generation#Desired_Good.2FEvil_Square_Counts

And then leave the list of parameters, save that list, and create worlds.

If you have too much rejections, change your parameters. Check whatever parameters conflict with each other.

If you want to tweak worlds other than the basic worldgen options, learn how to advanced worldgen, it's your best option and will save you hassle.
« Last Edit: December 19, 2014, 07:06:26 am by Naryar »
Logged

mndfreeze

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #5 on: December 19, 2014, 07:26:40 am »

The issue isnt that I dont want to learn the advanced world gen, and if you read through what I said you would understand I want the settings that the simple version is using to gen with.  Whatever the defaults are set to for the advanced are no where near what the basic simple ones are.  I already know how to change the number of good v evil tiles and etc, but it would surely be a whole lot easier to have the settings the simple one uses that forms that nice ratio of ocean v land and mountains, etc etc and just plug those numbers in then sit there and guess on each and every single advanced setting until I get something that generates close to it. 

I want to know if there is some file it stores these generic defaults it starts with.  the ADVANCED one has a file so I figure it only makes sense that the default simple does too.  That generic config setup it uses has to be stored somewhere.  Or if its not, does dfhack and/or another util have the capability to take a generated world and dump it out that I can just grab the numbers from that.

Logged

nasobema

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #6 on: December 19, 2014, 07:38:10 am »

I totally agree that this information would be helpful.

We'd only need two things:
- a list of advanced settings that reflect the standard world gen.
- a short description of which advanced parameter is actually affected by changing the standard parameter (I know, History and World Size are obvious but what about savagery?).
Logged

mndfreeze

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #7 on: December 20, 2014, 05:01:42 am »

I believe I found it.  When generating a world after its done doing the initial generation but before you accept the world it made, you can press p to export the image and info.  No idea if this is specific to a dfhack addon/script or in vanilla since I use the starter pack, but regardless it does indeed export the information used to generate that specific world and dumps it into the main dwarf fortress folder.

This is just a random world I made and exported while testing, the filename is made was region1-00125-01-01-world-<history,map,sites_and_people,etc>
and the generation info was put in region1-world_gen_param.txt
In the spoiler is the output of said file.  I believe this is exactly what I needed to be able to dump into the advanced generator but tweak just a few small things (hopefully)

Spoiler (click to show/hide)
Logged

mndfreeze

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #8 on: December 20, 2014, 07:05:37 am »

....annnnnnnd epic failure. 

I tried tossing that exact set of information directly into the file the advanced worldgen reads its default/saves from and using those EXACT settings it would not generate.  Obviously there are settings that are not being outputted when you save from a worl gen or settings that the simple one is inputting for you that just output as blank or zero.  Somehow its missing required info to actually generate properly.

After tweaking based on the error messages (first it was peaks and then volcanos) I got it to make it to where it starts the civ generatation and it would fail over and over somewhere in that setup, and the world was purely rectangular with the ocean only one tile thick all the way around, was silly. 

ermahgerds this shouldnt be this difficult!
Logged

Sussurous

  • Escaped Lunatic
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #9 on: December 20, 2014, 05:54:11 pm »

Quote
Whatever the defaults are set to for the advanced are no where near what the basic simple ones are.

The advanced parameters, have the same defaults as the normal generator. Choose one of the presets from the right, copy it, and than edit it as said before, by increasing the good tiles and decreasing the evil ones. This will create a perfectly normal world, except for the changes that those cause. If you wish to have different defaults "High savagery/frequent minerals" that are not the normal settings as the default. Please refer to the wiki, also, make sure to change the history down. (It defaults to 1050 for some reason)
Logged
"I want to die peacefully in my sleep like my grandfather, not screaming in terror like his passengers."

mndfreeze

  • Bay Watcher
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #10 on: December 20, 2014, 08:52:53 pm »

If that was true then I would not have made this post to begin with.  The advanced generator defaults dont come anywhere close to generating a land like the simple one does, not even taking into considering the history time or good/evil tiles.  Just the way land/sea/rivers generate alone is completely whack.
Logged

Sussurous

  • Escaped Lunatic
    • View Profile
Re: Way to edit the default worldgen options?
« Reply #11 on: December 20, 2014, 10:42:03 pm »

*Sighs heavily*

Alright, just for you I did some really basic !!SCIENCE!!
(if you can call it that)

I generated a medium world with all defaults, Copied the seed it gave me, and compared it's gen numbers to the presets of "Medium Region"

The numbers were almost all the same. (Exceptions being history generated) you can do it if you want, the advanced parameters are based off of using the normal generator at all defaults.

If you really want, you could generate a normal world, copy it to advanced using the "Last world generated" and seeds and than alter the tiles, and re-gen it. If you don't believe me.

Have fun
« Last Edit: December 20, 2014, 10:49:12 pm by Sussurous »
Logged
"I want to die peacefully in my sleep like my grandfather, not screaming in terror like his passengers."