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 User:Rick

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


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 3: Line 3:
 
Currently researching [[User:Rick/Memory research|memory]] and [[User:Rick/Save research|save files]] for the latest Dwarf Fortress version.
 
Currently researching [[User:Rick/Memory research|memory]] and [[User:Rick/Save research|save files]] for the latest Dwarf Fortress version.
  
You can find me in [irc://irc.newnet.net/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__
 
__TOC__
=Utilities=
+
== memory.ini ==
*[[User:Rick/Tweak|Gibbed's Dwarf Fortress Tweak]].
+
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.
*[[User:Rick/Tileset_Compiler|Gibbed's Dwarf Fortress Tileset Compiler]]
+
 
 +
=== A table of available settings ===
 +
{| border="1" cellpadding="2" width="100%"
 +
! width="10%" | Section
 +
! width="30%" | Name
 +
! width="40%" | Description
 +
! width="20%" | 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
 +
 
 +
|}
 +
 
 +
=== INI data ===
 +
You won't need a memory.ini file if my tool is currently up to date.
 +
 
 +
==== v0.27.169.33d ====
 +
<pre>
 +
[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
 +
</pre>

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)