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 Info.txt file

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 20: Line 20:
  
 
=== Examples ===
 
=== Examples ===
 
The info.txt is formatted like so:
 
 
{{code|
 
[ID:my_first_mod]
 
[NUMERIC_VERSION:1]
 
[DISPLAYED_VERSION:1.0.0]
 
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:1]
 
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:1.0.0]
 
[AUTHOR:Your Name Here]
 
[NAME:My First Mod]
 
[DESCRIPTION:A cool mod I made!]
 
}}
 
  
 
The examples below are largely identical.
 
The examples below are largely identical.
Line 38: Line 25:
 
==== Example Bay 12 ====
 
==== Example Bay 12 ====
  
''This is the example found at [https://bay12games.com/dwarves/modding_guide.html Bay 12 Games]. Comment notation used after tokens <--''
+
''This is the example found at [https://bay12games.com/dwarves/modding_guide.html Bay 12 Games].''
  
 
{{code|
 
{{code|
Line 49: Line 36:
 
[NAME:Vanilla Items]
 
[NAME:Vanilla Items]
 
[DESCRIPTION:These are the default Dwarf Fortress items.]
 
[DESCRIPTION:These are the default Dwarf Fortress items.]
[STEAM_TITLE:Test Descriptors]
 
[STEAM_DESCRIPTION:Some test object definitions for shapes and colors.]
 
[STEAM_TAG:mod] <-- as many as you want, use a separate STEAM_TAG for each one
 
[STEAM_KEY_VALUE_TAG:test:stuff] <-- as many as you want, similarly
 
[STEAM_METADATA:metadata test]
 
[STEAM_CHANGELOG:made some changes]
 
 
}}
 
}}
  
 
==== Example DF Wiki ====
 
==== Example DF Wiki ====
  
With entries (tokens) for the steam platform...
+
With entries (tokens?) for the steam platform...
  
 
{{code|
 
{{code|
Line 103: Line 84:
 
''Note that you should remove the last token "STEAM_FILE_ID" as it will be autogenerated.  Remove the [STEAM_FILE_ID:###] tag since that is unique for every mod and generates automatically whenever you upload your mod to the workshop''
 
''Note that you should remove the last token "STEAM_FILE_ID" as it will be autogenerated.  Remove the [STEAM_FILE_ID:###] tag since that is unique for every mod and generates automatically whenever you upload your mod to the workshop''
  
<!-- to edit this section click the edit link inline on the read tab -->
+
==== Example Lotsa ====
{{Info.txt tokens}}
+
 
 +
Note comments after tokens <nowiki><-- </nowiki>
 +
 
 +
{{code|
 +
[STEAM_TITLE:Lotsa Names]
 +
[STEAM_DESCRIPTION:As cool as "Urist" is, this mod adds over a thousand other names. Most are either typical human or pet names, though expect a few weird things to pop up now and then.
 +
 
 +
This mod includes over 2600 additional names that can be generated for dwarfs, humans, elves, beasts, pets... well, basically anything in the base game!
 +
 
 +
Lotsa Names is now compatible with Intro's Kobold Civ! You may load the mods in any order.]
 +
[STEAM_TAG:mod:names:descriptor:flavor:tweak:entity] <-- as many as you want, use a separate STEAM_TAG for each one
 +
[STEAM_KEY_VALUE_TAG:test:stuff] <-- as many as you want, similarly
 +
[STEAM_METADATA:metadata test]
 +
[STEAM_CHANGELOG:Made the mod compatible with Intro's Kobold Civ! Added more variety to the Evil name list.]
 +
[ID:lotsa_names]
 +
[NUMERIC_VERSION:5]
 +
[DISPLAYED_VERSION:5]
 +
[EARLIEST_COMPATIBLE_NUMERIC_VERSION:4]
 +
[EARLIEST_COMPATIBLE_DISPLAYED_VERSION:4]
 +
[AUTHOR:Brossentia]
 +
[NAME:Lotsa Names]
 +
[DESCRIPTION:Adds a variety of possible dwarf/elf/human/etc. names to the mix to help keep them distinct. Expect some funny and/or weird combos.]
 +
}}
  
<!-- to edit this section click the edit link inline on the read tab -->
+
<!-- to edit this section click the edit link inline -->
 
{{Steam workshop tokens}}
 
{{Steam workshop tokens}}
  
 
== See Also ==
 
== See Also ==
* Main article: [[Mod info token]]
 
* [[Modding pitfalls]]
 
 
* https://bay12games.com/dwarves/modding_guide.html
 
* https://bay12games.com/dwarves/modding_guide.html
 
* STEAM_METADATA: https://partner.steamgames.com/doc/api/ISteamUGC#SetItemMetadata
 
* STEAM_METADATA: https://partner.steamgames.com/doc/api/ISteamUGC#SetItemMetadata
* [[Modding#Basics_of_DF_modding]]
 
  
 
[[Category:Modding]]
 
[[Category:Modding]]

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)

This page is a member of 1 hidden category: