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:Jifodus

From Dwarf Fortress Wiki
Revision as of 16:35, 17 July 2008 by Jifodus (talk | contribs) (→‎Memory: Addresses and offsets for 0.28.181.39c)
Jump to navigation Jump to search

My work analyzing DF's formats:

Memory research

CMV file format

Dwarf Fortress Utility Framework

Map block info

Memory

v0.28.181.39a

This is the result of a quick analysis, it's incomplete and only partially checked, but it may allow some of the tools to work. It appears that the existing map data offsets are still valid.

menu_state == 0x01322D58
focused_creature == 0x00D16C20
cursor_x == 0x009D6284
cursor_y == 0x009D6288
cursor_z == 0x009D628C
map_count_x == 0x01554040
map_count_y == 0x01554044
map_count_z == 0x01554048
map_data == 0x01554028
main_creature_vector == 0x015124F4
dwarf_race_id == 0x0131F1B8
starting_points == 0x00834693
starting_points_offset == 0x00000904
alt-starting_dwarves == 0x008355A4
alt-language_vector == 0x01555FA8
words_vector == 0x01555E88
happiness_offset == 0x00000520
art_defacement_malus == 0x00850135
skill_limit == 0x00831263
start_game_data == 0x01330D98
creature_jobs == 0x00000474
creature_race == 0x0000008C
creature_x == 0x00000094
creature_y == 0x00000096
creature_z == 0x00000098
creature_id == 0x000000F4
dwarf_civ_id == 0x0131F1AC
creature_civ == 0x00000100
creature_bodyparts == 0x000002FC
alt-creature_pain == 0x00000364
creature_exhaustion == 0x00000368
creature_hunger == 0x0000036C
creature_thirst == 0x00000370
creature_drowsiness == 0x00000374
creature_strength == 0x00000438
creature_agility == 0x0000043C
creature_toughness == 0x00000440
creature_skills == 0x00000444
creature_total_xp == 0x000004DC
dwarf_fortress == 0x009623E4
pe_timestamp == 0x00400108
pe_timestampv == 0x487B4E8B
dwarf_foreman_check == 0x01AA9D3A

v0.28.181.39b

This is the result of a quick analysis, it's only partially checked, but it allows the core Tweak tools and Foreman to work. It appears that the existing map data offsets are still valid.

menu_state == 0x01323D58
focused_creature == 0x00D17C20
cursor_x == 0x009D7284
cursor_y == 0x009D7288
cursor_z == 0x009D728C
map_count_x == 0x01555040
map_count_y == 0x01555044
map_count_z == 0x01555048
map_data == 0x01555028
main_creature_vector == 0x015134F4
dwarf_race_id == 0x013201B8
starting_points == 0x00835243
starting_points_offset == 0x00000904
alt-starting_dwarves == 0x00836154
alt-language_vector == 0x01556FA8
words_vector == 0x01556E88
happiness_offset == 0x00000520
art_defacement_malus == 0x00850D35
skill_limit == 0x00831E13
start_game_data == 0x01331D98
creature_jobs == 0x00000474
creature_race == 0x0000008C
creature_x == 0x00000094
creature_y == 0x00000096
creature_z == 0x00000098
creature_id == 0x000000F4
dwarf_civ_id == 0x013201AC
creature_civ == 0x00000100
creature_bodyparts == 0x000002FC
alt-creature_pain == 0x00000364
creature_exhaustion == 0x00000368
creature_hunger == 0x0000036C
creature_thirst == 0x00000370
creature_drowsiness == 0x00000374
creature_strength == 0x00000438
creature_agility == 0x0000043C
creature_toughness == 0x00000440
creature_skills == 0x00000444
creature_total_xp == 0x000004DC
dwarf_fortress == 0x009633E4
pe_timestamp == 0x00400108
pe_timestampv == 0x487C9338
dwarf_foreman_check == 0x01A16957

v0.28.181.39c

This is the result of a quick analysis, it's unchecked, but it should allow the core Tweak tools and Foreman to work.

menu_state == 0x01323D78
focused_creature == 0x00D17C44
cursor_x == 0x009D7284
cursor_y == 0x009D7288
cursor_z == 0x009D728C
map_count_x == 0x01555060
map_count_y == 0x01555064
map_count_z == 0x01555068
map_data == 0x01555048
main_creature_vector == 0x01513514
dwarf_race_id == 0x013201D8
starting_points == 0x008351C3
starting_points_offset == 0x00000904
alt-starting_dwarves == 0x008360D4
alt-language_vector == 0x01556FC8
words_vector == 0x01556EA8
happiness_offset == 0x00000520
art_defacement_malus == 0x00850C65
skill_limit == 0x00831D93
start_game_data == 0x01331DB8
creature_jobs == 0x00000474
creature_race == 0x0000008C
creature_x == 0x00000094
creature_y == 0x00000096
creature_z == 0x00000098
creature_id == 0x000000F4
dwarf_civ_id == 0x013201CC
creature_civ == 0x00000100
creature_bodyparts == 0x000002FC
alt-creature_pain == 0x00000364
creature_exhaustion == 0x00000368
creature_hunger == 0x0000036C
creature_thirst == 0x00000370
creature_drowsiness == 0x00000374
creature_strength == 0x00000438
creature_agility == 0x0000043C
creature_toughness == 0x00000440
creature_skills == 0x00000444
creature_total_xp == 0x000004DC
dwarf_fortress == 0x009633E4
pe_timestamp == 0x00400108
pe_timestampv == 0x487F2F30
dwarf_foreman_check == 0x01B89DBC

Tools

tile_tool

I wrote a tool that allows nearly complete editing of a tile's data. It's designed for analyzing a tile's data. Since it's not designed for mass editing, therefore I don't recommend using it for adding more than a couple tiles of water or magma. Or build multiple buildings on top of each other. Use '?' for in-tool help.

http://www.geocities.com/jifodus/tile_tool.zip (61KB)

Mar 04, 2008: http://www.geocities.com/jifodus/auto-update_tile_tool.zip (75KB) - Alternate version that is usable as soon as configuration gets uploaded for it. Source code: http://www.geocities.com/jifodus/tile_tool_src.zip (14KB)

Editable information:

  • Liquid Level
  • Designation Flags
  • Occupancy Flags
  • Temperature
  • Tile #
  • Unknown Values

Additional features:

  • Track tile data.
  • Compare a tile with a tracked tile.
  • Dump the raw bits of Designation, Occupancy, Pathfinding and Unknowns.