v50 Steam/Premium information for editors
- v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
- Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.
Editing Importing and exporting worlds
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | + | {{Quality|Superior|05:33, 1 May 2014 (UTC)}} | |
− | {{Quality| | ||
{{av}} | {{av}} | ||
− | Although | + | Although Dwarf Fortress is a single-player game, it is still common to incorporate a social aspect into the game. For example, you may have found a great site that you want to share with others, or you want to play a save or embark someone else posted, or you're reporting a crash during world generation, or maybe you simply want to back up your world or game. There are two primary methods for importing and exporting [[region|worlds]] in Dwarf Fortress: exchanging the seed and exchanging the save. |
== Seed == | == Seed == | ||
− | "Seed" refers to the 4 specific random strings used to seed the pseudo-random number generator. These values are not sufficient to duplicate a world without the rest of the [[world token|world gen parameters]], but "seed" is shorter to say, so is often used to mean the entire set of parameters. Provided the versions of | + | "Seed" refers to the 4 specific random strings used to seed the pseudo-random number generator. These values are not sufficient to duplicate a world without the rest of the [[world token|world gen parameters]], but "seed" is shorter to say, so is often used to mean the entire set of parameters. Provided the versions of Dwarf Fortress are similar enough and no [[modding]] has taken place on either end, using a person's world gen parameters suffices to generate the same worlds as they did. Unfortunately, this method is incapable of also moving around any events that happened after world generation ended, including the fortresses or adventurers that may have taken place. |
If modding has taken place, the world (but still not any events past worldgen) can still be exchanged if both receiver and transmitter have exactly the same modification. Moving the world through this method may be slow for the receiver, especially for worlds with a long history. | If modding has taken place, the world (but still not any events past worldgen) can still be exchanged if both receiver and transmitter have exactly the same modification. Moving the world through this method may be slow for the receiver, especially for worlds with a long history. | ||
===Export=== | ===Export=== | ||
− | The easiest way to export your | + | The easiest way to export your world gen parameters is to press {{k|p}} at the "<font color="green">p</font>: Export image/info" prompt right after world gen has completed. If you didn't do that, then start the game in [[Legends|Legends mode]], and press {{k|P}}. Either way, your Dwarf Fortress root folder should now contain several new files including a text file with phrase "world_gen_param" in its name. That's the one people want. Copy or email the file or the text inside it to the receiver, or simply store the file in a safe place to be able to regenerate the world later. |
− | This process is more difficult during [[Fortress mode|fortress]] or [[Adventure mode|adventure]] play, because the world cannot be loaded in Legends mode. During fortress mode, load up your fortress and press {{k|Esc}}. Go to "export local image". Export local images of however much of | + | This process is more difficult during [[Fortress mode|fortress]] or [[Adventure mode|adventure]] play, because the world cannot be loaded in Legends mode. During fortress mode, load up your fortress and press {{k|Esc}}. Go to "export local image". Export local images of however much of you fortress you want (select only one level of it to save time exporting); the exported image is not important. Your Dwarf Fortress root folder should now contain several new files including a text file with phrase "world_gen_param" in its name. That is the one people want. As before, copy or email the file or its contents to whatever purpose was intended. |
− | During adventure play, the "export local image" function is not available. If this is the case, it is necessary to make a copy of the save. From the | + | During adventure play, the "export local image" function is not available. If this is the case, it is necessary to make a copy of the save. From the Dwarf Fortress root directory, navigate to "data/save". From there, locate the folder with the region name to export parameters of, and copy the entire folder. Then, paste the folder into the same "data/save" directory. Now, navigate to dwarf fortress and load the region with the name "Copy of ..." or "... copy" or the like, and retire or starve the adventurer. Then, load the same copy in Legends mode and press {{k|P}} to export the same "world_gen_param" file. |
− | After these processes, the extra files in the | + | After these processes, the extra files in the Dwarf Fortress root directory can be safely deleted. Additionally, after the adventure strategy, the copy of the region can also be deleted. |
===Import=== | ===Import=== | ||
− | Open your | + | Open your Dwarf Fortress root directory, go to Data, then Init. Open the text file called "world_gen.txt". Copy/Paste the parameters given to the bottom of that file. Make sure to save and close the file. |
− | Next, open | + | Next, open Dwarf Fortress. Go to "Design New World with Advanced Parameters". Worlds that you have parameters for are listed by title on the right. Choose your newly acquired world from the list and hit enter. Note that this process may take a while. |
==Save== | ==Save== | ||
Line 30: | Line 29: | ||
===Location=== | ===Location=== | ||
− | Your saved game is located in your | + | Your saved game is located in your Dwarf Fortress folder inside the "data/save" folder. The save folder will contain one or more sub-folders, each one holding one of your worlds, and a "current" folder. The "current" folder is used to track the changes to the active world while Dwarf Fortress is running; it is not important unless Dwarf Fortress is open, and can safely be deleted otherwise. |
===Export=== | ===Export=== | ||
− | Upload the entire save folder (preferably compressed) to your favorite file host, or | + | Upload the entire save folder (preferably compressed) to your favorite file host, or better yet to the [http://dffd.bay12games.com/ Dwarf Fortress File Depot]. |
===Import=== | ===Import=== | ||
− | Simply drop the other person's save folder in the "save", and the game can be played. | + | Simply drop the other person's save folder in the "data/save", and the game can be played. |
{{Category|Guides}} | {{Category|Guides}} | ||
[[ru:Importing and exporting worlds]] | [[ru:Importing and exporting worlds]] |