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 v0.31:Raw 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.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
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: | ||
{{av}} | {{av}} | ||
− | + | '''Raw files''' are text files found in the \raw\objects subfolder of Dwarf Fortress. These files can be looked through to discover various specifics of game items, materials, and creatures, and can be changed to alter how the game behaves. They are sometimes referred to by players as just "the raws". | |
− | '''Raw files''' are text files found in the | ||
− | The | + | The \raw\graphics subfolder of Dwarf Fortress is used to store user-customizable {{L|graphics sets|graphics sets}}. |
− | Dwarf Fortress is not an open source program, so most | + | Dwarf Fortress is not an open source program, so most {{L|modding|modding}} of the game is limited to altering the raws or doing {{L|memory hacking}}. |
− | |||
− | |||
==Syntax of raw files== | ==Syntax of raw files== | ||
Line 22: | Line 19: | ||
===Types of content:=== | ===Types of content:=== | ||
*BODY - body parts and structures | *BODY - body parts and structures | ||
− | *BODY_DETAIL_PLAN - similar to | + | *BODY_DETAIL_PLAN - similar to BODY, but for layers/tissues/other small details, instead of large-scale parts (somebody please verify this) |
*BUILDING - custom workshops | *BUILDING - custom workshops | ||
*CREATURE - creatures | *CREATURE - creatures | ||
− | *CREATURE_VARIATION - variations that can be applied to creatures (eg, making them giants, or anthropomorphic | + | *CREATURE_VARIATION - variations that can be applied to creatures (eg, making them giants, or anthropomorphic) |
*DESCRIPTOR_COLOR - named colours for use with DESCRIPTOR_PATTERN objects (other purposes unknown) | *DESCRIPTOR_COLOR - named colours for use with DESCRIPTOR_PATTERN objects (other purposes unknown) | ||
*DESCRIPTOR_PATTERN - patterns with colour combinations for use with creatures (other purposes unknown) | *DESCRIPTOR_PATTERN - patterns with colour combinations for use with creatures (other purposes unknown) | ||
Line 51: | Line 48: | ||
*MATERIAL_TEMPLATE - definitions of information common to groups of materials (referenced all over the place) | *MATERIAL_TEMPLATE - definitions of information common to groups of materials (referenced all over the place) | ||
*PLANT - definitions of plants, their materials, and their derivitives | *PLANT - definitions of plants, their materials, and their derivitives | ||
− | *REACTION - reactions/custom workshop jobs (turn items into other items | + | *REACTION - reactions/custom workshop jobs (turn items into other items though dwarven effort) |
− | *TISSUE_TEMPLATE - defines | + | *TISSUE_TEMPLATE - defines the tissues for use with BODY_DETAIL_PLAN objects |
+ | |||
− | + | * usually the empty strings are used to divide different types of structures like the fine name | |
+ | and [OBJECT:] or different entries, however everything which is not a token besides the 1st string | ||
+ | (which is the filename) is understood as comments and is not considered. | ||
The tokens are enclosed in square brackets ([TOKEN:VALUES]). | The tokens are enclosed in square brackets ([TOKEN:VALUES]). | ||
− | When a world is generated, the raw files are | + | When a world is generated, the raw files are moved from <game folder>/raw/ to <game folder>/data/save/REGION/raw/. It is currently unknown how much these can then be changed without breaking the save. Unlike [[40d:raw file|previous versions]] of the game, raw files are not "compiled" into the data/objects folder. Indeed, said folder does not exist. |
A list of tokens can be seen at [[:Category:Tokens]]. | A list of tokens can be seen at [[:Category:Tokens]]. | ||
− | + | [[Category:Files]] | |
− |