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 Command line

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:
The ''command line'' is used for [[World generation|generating worlds]] quickly from the [http://en.wikipedia.org/wiki/Command_Prompt Command Prompt] in Windows or a [http://en.wikipedia.org/wiki/Unix_shell terminal window] in Linux. Here is the text from command_line.txt:
+
The ''command line'' is used for [[World generation | generating worlds]] quickly from the [http://en.wikipedia.org/wiki/Command_Prompt Command Prompt] in Windows or a [http://en.wikipedia.org/wiki/Unix_shell terminal window] in Linux. Here is the text from command_line.txt:
 +
 
  
<pre>
 
 
See readme.txt for the license.
 
See readme.txt for the license.
 
See release_notes.txt for information on handling saves and a brief writeup on the changes for this version.
 
See release_notes.txt for information on handling saves and a brief writeup on the changes for this version.
Line 13: Line 13:
  
  
Dwarf Fortress currently offers one command line option, a world generator, suggested by genmac.
+
Dwarf Fortress currently offers one command line option, a world generator, suggested by genmac. You can use it as follows:
You can use it as follows:
 
  
FORMAT: dwarfort.exe -gen <id number> <seed> <world gen param title>
+
<pre>FORMAT: dwarfort.exe -gen <id number> <seed> <world gen param title>
 
EXAMPLE: dwarfort.exe -gen 1 3498 STANDARD
 
EXAMPLE: dwarfort.exe -gen 1 3498 STANDARD
 
EXAMPLE: dwarfort.exe -gen 2 RANDOM CUSTOM6
 
EXAMPLE: dwarfort.exe -gen 2 RANDOM CUSTOM6
 +
</pre>
  
 
+
This will open a silent, introless dwarf fortress, generate a world with the given id number and seed, export the region files
This will open a silent, introless dwarf fortress, generate a world with the given id number and seed,
+
and a picture, and finally quit.  The window remains open so you can see what's going on.  You can still abort world generation  
export the region files and a picture, and finally quit.  The window remains open so you can see
+
while it is running.  If you attempt to create a world number that already exists, it will abort immediately.
what's going on.  You can still abort world generation while it is running.  If you attempt to create
 
a world number that already exists, it will abort immediately.
 
</pre>
 
  
 
On Linux, make sure to rename the '''df''' shell script to something else before putting it in your path, since a '''df''' command already exists and replacing it with the ''Dwarf Fortress'' launcher script could mess up your system.
 
On Linux, make sure to rename the '''df''' shell script to something else before putting it in your path, since a '''df''' command already exists and replacing it with the ''Dwarf Fortress'' launcher script could mess up your system.

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)