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.

Difference between revisions of "User:Rick"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 5: Line 5:
 
You can find me in [irc://irc.worldirc.org/bay12games #bay12games] as well as SomethingAwful's [irc://irc.synirc.net/df #df].
 
You can find me in [irc://irc.worldirc.org/bay12games #bay12games] as well as SomethingAwful's [irc://irc.synirc.net/df #df].
  
 +
__TOC__
 
== memory.ini ==
 
== memory.ini ==
 
In newer versions of my tools, support for an INI file 'memory.ini' is present (for 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.
 
In newer versions of my tools, support for an INI file 'memory.ini' is present (for 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.

Revision as of 23:42, 8 December 2007

"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 (for 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

v0.27.169.33d

[address]
DWARF_FORTRESS=0x0089A3A4
MENU_STATE=0x01243654
FOCUSED_CREATURE=0x00C37540
CREATURE_VECTOR=0x0141EA40
MOUSE_X=0x008FD288
MOUSE_Y=0x008FD28C
MOUSE_Z=0x008FD290
MAP_DATA=0x01460560
MAP_X_COUNT=0x01460578
MAP_Y_COUNT=0x0146057C
MAP_Z_COUNT=0x01460580
STARTING_DWARF_COUNT=0x00789634
STARTING_POINT_COUNT=0x007887E3

[offset]
MAP_DATA_DESIGNATION_OFFSET=0x0260
MAP_DATA_OCCUPANCY_OFFSET=0x660
CREATURE_NAME_OFFSET=0x000
CREATURE_BODY_PART_HEALTH_VECTOR_OFFSET=0x308
CREATURE_X_OFFSET=0x0094
CREATURE_Y_OFFSET=0x0096
CREATURE_Z_OFFSET=0x0098