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.
User:Rick
Jump to navigation
Jump to search
"A great guy that has made many useful editing tools for Dwarfort." --Mylon
Currently researching memory and save files for the latest Dwarf Fortress version.
You can find me in #bay12games as well as SomethingAwful's #df.
memory.ini
In newer versions of my tools, support for an INI file 'memory.ini' is present (in v0.27.169.33d and above), this file allows people to directly specify addresses and offsets in case I have not yet updated my tools for a newer Dwarf Fortress release.
A table of available settings:
Section | Name | Description | Used By |
---|---|---|---|
address | DWARF_FORTRESS | Address to "Dwarf Fortress" string, this is used by my tools to check to make sure you have the right version. | adjuststart, heal, reveal, warp |
address | MAP_DATA | Map data pointer. | reveal, warp |
address | MAP_X_COUNT | Map block X count value. | reveal, warp |
address | MAP_Y_COUNT | Map block Y count value. | reveal, warp |
address | MAP_Z_COUNT | Map block Z count value. | reveal, warp |
offset | MAP_DATA_DESIGNATION_OFFSET | Offset into block data for designation data, likely you won't need to change this. | reveal |
offset | MAP_DATA_OCCUPANCY_OFFSET | Offset into block data for occupancy data, likely you won't need to change this. | warp |
address | MENU_STATE | Menu state value. | heal, warp |
address | FOCUSED_CREATURE | Index of focused creature. | heal, warp |
address | STARTING_DWARF_COUNT | Starting dwarf count value for embark. | adjuststart |
address | STARTING_POINT_COUNT | Starting point count value for embark. | adjuststart |
address | MOUSE_X | Mouse X | warp |
address | MOUSE_Y | Mouse Y | warp |
address | MOUSE_Z | Mouse Z | warp |
address | CREATURE_VECTOR | Creature vector, please note that this needs to be the one that FOCUSED_CREATURE can index into, setting this to the wrong creature vector will end up with the wrong creatures being modified. | heal, warp |
offset | CREATURE_NAME_OFFSET | Offset to name in creature structure. | heal |
offset | CREATURE_X_OFFSET | Offset to X in creature structure. | warp |
offset | CREATURE_Y_OFFSET | Offset to Y in creature structure. | warp |
offset | CREATURE_Z_OFFSET | Offset to Z in creature structure. | warp |
offset | CREATURE_BODY_PART_HEALTH_VECTOR_OFFSET | Offset to body part health vector in creature structure. | heal |