Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nikorasu/dwarfgenmanager
This is a Batch script for generating multiple Dwarf Fortress worlds automatically. It also organizes the basic info/map files into their world's folder, and outputs a log file of each world's population info.
https://github.com/nikorasu/dwarfgenmanager
automation bat batch batch-script dwarf-fortress script world-gen world-generator
Last synced: about 1 month ago
JSON representation
This is a Batch script for generating multiple Dwarf Fortress worlds automatically. It also organizes the basic info/map files into their world's folder, and outputs a log file of each world's population info.
- Host: GitHub
- URL: https://github.com/nikorasu/dwarfgenmanager
- Owner: Nikorasu
- License: mit
- Created: 2020-05-27T02:51:51.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-04-02T23:47:39.000Z (almost 4 years ago)
- Last Synced: 2024-11-07T06:36:51.061Z (3 months ago)
- Topics: automation, bat, batch, batch-script, dwarf-fortress, script, world-gen, world-generator
- Language: Batchfile
- Homepage: http://www.bay12forums.com/smf/index.php?topic=176439.0
- Size: 43.9 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Dwarf Fortress World Generation Manager
This is a Windows Batch script for generating multiple custom Dwarf Fortress worlds automatically. As worlds are generated, it renames their region folder to their in-game world-name, organizes the info/map files into their corresponding world's folder, and outputs a log file with a list of all worlds generated that session, with their age, populations, and tower info.### USAGE
Place the `GenerateWorlds.bat` file into your DF game folder (where `Dwarf Fortress.exe` is), without the game present this script does nothing.Next, either choose one of the preexisting generator presets found in your `world_gen.txt` file, or create your own custom one using the "Design New World with Advanced Parameters" in the game's main menu.
After that, you can run `GenerateWorlds.bat`, it will ask you to enter the preset title you want (spelling/capitalization must be exact), and how many worlds you want it to generate. Just make sure your computer has enough space for the number you give it. It'll then load up the game window and start generating. (Note: Depending on your gen settings and computer, this process may take a long time.)
It should do everything automatically at that point, although the DF game window will occasionally pop up during the process, so you may want to go afk or do something else while it works.Once it's finished you can either check each world's info folder to help narrow down which worlds you want to keep, or check the GenLog file which this script will create as worlds generate. If you want further Legends information you will need to start the game in Legends mode, and export those files the normal manual way, for now. Eventually I hope to have this script automatically output those legends files, but that will require a custom dfhack script. For now this bat script does not require dfhack in your game, it will work fine without.
### Example Output
Here's an example of what your world folders will look like, after being generated by this script:![See ExampleFolders.png](ExampleFolders.png "World folders will look like this!")