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 "v0.31:Memory hacking"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(map offsets)
(table-izing and adding some 0.31.02 stuff)
Line 2: Line 2:
 
These are currently unverified, but it is a start, if the hex is -1, don't know that yet
 
These are currently unverified, but it is a start, if the hex is -1, don't know that yet
  
md5 851c1190b6a7b42f2463967623d18575
+
{| {{prettytable}}
pe_timestamp 4bb45f99
+
|- bgcolor="#ddd"
buildings 0x0166f9a8
+
! Description
constructions 0xffffffff
+
! 0.31.01
creatures 0x0166eccc
+
! 0.31.02
current_cursor_creature 0x00ae82cc
 
current_menu_state 0x017f6f38
 
cursor_xyz 0x0166ecd4
 
effects_vector 0x017f6da0
 
hotkey_start 0x01476ecc
 
items 0x0166eda8
 
language_vector 0x016affe0
 
map_data 0x016ad718
 
matgloss 0xffffffff
 
notes 0x01474de8
 
pause_state 0x0146e45f
 
region_x 0x016ad750
 
region_y 0x016ad754
 
region_z 0x016ad758
 
settlement_current 0xffffffff
 
settlements 0x016af4a4
 
translation_vector 0x016b0010
 
vegetation 0x017f6da0
 
view_screen 0xffffffff
 
window_dims 0x017f5abc
 
window_x 0x00e32798
 
window_y 0x00e60838
 
window_z 0x00e60814
 
world 0x016aed50
 
x_count 0x016ad738
 
y_count 0x016ad73c
 
z_count 0x016ad740
 
  
mouse_x 0x00ae82cc
+
|-
mouse_y 0x00ae82d0
+
! md5 hash
mouse_z 0x00ae82d4
+
| 851c1190b6a7b42f2463967623d18575
 +
| 23dfe141c7ea4e63ebb3c618a12b48ec
  
Creature Offsets
+
|-
name 0x0
+
! pe_timestamp
profession 0x88
+
| 4bb45f99
race 0x8C
+
| ?
position 0x90
 
flags1 0xF8
 
flags2 0xFC
 
sex 0x110
 
id 0x114
 
artifact_name 0x6D0
 
labors 0x770
 
happiness 0x830
 
  
Map offsets
+
|-
map_data_map_x_offset         0x0058
+
! buildings
map_data_map_y_offset         0x005A
+
| 0x0166f9a8
map_data_type_offset         0x009a
+
 
map_data_designation_offset   0x029c
+
|-
map_data_occupancy_offset     0x069c
+
! constructions
map_data_0a60_offset         0x0A9c
+
| 0xffffffff
map_data_pathfinding_offset   0x0D9c
+
 
map_data_1160_offset         0x119c
+
|-
map_data_1360_offset         0x139c
+
! current_menu_state
map_data_temperature1_offset 0x159c
+
| colspan="2" | 0x017f6f38
map_data_temperature2_offset 0x179c
+
 
map_data_1960_offset         0x199c
+
|-
map_data_1b60_offset         0x1B9c
+
! cursor_xyz
 +
| colspan="2" rowspan="2" | 0x00ae82cc
 +
 
 +
|-
 +
! mouse_x
 +
<!-- Cell rowspanned out -->
 +
|-
 +
! mouse_y
 +
| colspan="2" | 0x00ae82d0
 +
|-
 +
! mouse_z
 +
| colspan="2" | 0x00ae82d4
 +
 
 +
|-
 +
! effects_vector
 +
| 0x017f6da0
 +
 
 +
|-
 +
! hotkey_start
 +
| 0x01476ecc
 +
 
 +
|-
 +
! items
 +
| 0x0166eda8
 +
 
 +
|-
 +
! language_vector
 +
| 0x016affe0
 +
 
 +
|-
 +
! matgloss
 +
| 0xffffffff
 +
 
 +
|-
 +
! notes
 +
| 0x01474de8
 +
 
 +
|-
 +
! pause_state
 +
| 0x0146e45f
 +
 
 +
|-
 +
! region_x
 +
| 0x016ad750
 +
|-
 +
! region_y
 +
| 0x016ad754
 +
|-
 +
! region_z
 +
| 0x016ad758
 +
 
 +
|-
 +
! settlement_current
 +
| 0xffffffff
 +
|-
 +
! settlements
 +
| 0x016af4a4
 +
 
 +
|-
 +
! translation_vector
 +
| 0x016b0010
 +
 
 +
|-
 +
! vegetation
 +
| 0x017f6da0
 +
 
 +
|-
 +
! view_screen
 +
| 0xffffffff
 +
 
 +
|-
 +
! window_dims
 +
| 0x017f5abc
 +
|-
 +
! window_x
 +
| 0x00e32798
 +
|-
 +
! window_y
 +
| 0x00e60838
 +
|-
 +
! window_z
 +
| 0x00e60814
 +
|-
 +
! world
 +
| 0x016aed50
 +
 
 +
|}
 +
 
 +
==Creature data==
 +
{| {{prettytable}}
 +
|- bgcolor="#ddd"
 +
! Description
 +
! 0.31.01
 +
! 0.31.02
 +
 
 +
|-
 +
! creatures
 +
| 0x0166eccc
 +
 
 +
|-
 +
! current_cursor_creature
 +
| 0x00ae82cc
 +
 
 +
|-
 +
! name
 +
| 0x0
 +
 
 +
|-
 +
! profession
 +
| 0x88
 +
 
 +
|-
 +
! race
 +
| 0x8C
 +
 
 +
|-
 +
! position
 +
| 0x90
 +
 
 +
|-
 +
! flags1
 +
| 0xF8
 +
 
 +
|-
 +
! flags2
 +
| 0xFC
 +
 
 +
|-
 +
! sex
 +
| 0x110
 +
 
 +
|-
 +
! id
 +
| 0x114
 +
 
 +
|-
 +
! artifact_name
 +
| 0x6D0
 +
 
 +
|-
 +
! labors
 +
| 0x770
 +
 
 +
|-
 +
! happiness
 +
| 0x830
 +
 
 +
|}
 +
 
 +
==Map data==
 +
{| {{prettytable}}
 +
|- bgcolor="#ddd"
 +
! Description
 +
! 0.31.01
 +
! 0.31.02
 +
 
 +
|-
 +
! map_data
 +
| colspan="2" | 0x016ad718
 +
 
 +
|-
 +
! map x_count
 +
| colspan="2" | 0x016ad738
 +
|-
 +
! map y_count
 +
| colspan="2" | 0x016ad73c
 +
|-
 +
! map z_count
 +
| colspan="2" | 0x016ad740
 +
 
 +
|-
 +
! map_data_map_x_offset
 +
| colspan="2" | 0x0058
 +
 
 +
|-
 +
! map_data_map_y_offset
 +
| colspan="2" | 0x005A
 +
 
 +
|-
 +
! map_data_type_offset
 +
| colspan="2" | 0x009a
 +
 
 +
|-
 +
! map_data_designation_offset
 +
| colspan="2" | 0x029c
 +
 
 +
|-
 +
! map_data_occupancy_offset
 +
| colspan="2" | 0x069c
 +
 
 +
|-
 +
! map_data_0a60_offset
 +
| colspan="2" | 0x0A9c
 +
 
 +
|-
 +
! map_data_pathfinding_offset
 +
| colspan="2" | 0x0D9c
 +
 
 +
|-
 +
! map_data_1160_offset
 +
| colspan="2" | 0x119c
 +
 
 +
|-
 +
! map_data_1360_offset
 +
| colspan="2" | 0x139c
 +
 
 +
|-
 +
! map_data_temperature1_offset
 +
| colspan="2" | 0x159c
 +
 
 +
|-
 +
! map_data_temperature2_offset
 +
| colspan="2" | 0x179c
 +
 
 +
|-
 +
! map_data_1960_offset
 +
| colspan="2" | 0x199c
 +
 
 +
|-
 +
! map_data_1b60_offset
 +
| colspan="2" | 0x1B9c
 +
 
 +
|}
  
 
[[Category:Hacking]]
 
[[Category:Hacking]]

Revision as of 19:52, 8 April 2010

This article is about an older version of DF.

These are currently unverified, but it is a start, if the hex is -1, don't know that yet

Description 0.31.01 0.31.02
md5 hash 851c1190b6a7b42f2463967623d18575 23dfe141c7ea4e63ebb3c618a12b48ec
pe_timestamp 4bb45f99 ?
buildings 0x0166f9a8
constructions 0xffffffff
current_menu_state 0x017f6f38
cursor_xyz 0x00ae82cc
mouse_x
mouse_y 0x00ae82d0
mouse_z 0x00ae82d4
effects_vector 0x017f6da0
hotkey_start 0x01476ecc
items 0x0166eda8
language_vector 0x016affe0
matgloss 0xffffffff
notes 0x01474de8
pause_state 0x0146e45f
region_x 0x016ad750
region_y 0x016ad754
region_z 0x016ad758
settlement_current 0xffffffff
settlements 0x016af4a4
translation_vector 0x016b0010
vegetation 0x017f6da0
view_screen 0xffffffff
window_dims 0x017f5abc
window_x 0x00e32798
window_y 0x00e60838
window_z 0x00e60814
world 0x016aed50

Creature data

Description 0.31.01 0.31.02
creatures 0x0166eccc
current_cursor_creature 0x00ae82cc
name 0x0
profession 0x88
race 0x8C
position 0x90
flags1 0xF8
flags2 0xFC
sex 0x110
id 0x114
artifact_name 0x6D0
labors 0x770
happiness 0x830

Map data

Description 0.31.01 0.31.02
map_data 0x016ad718
map x_count 0x016ad738
map y_count 0x016ad73c
map z_count 0x016ad740
map_data_map_x_offset 0x0058
map_data_map_y_offset 0x005A
map_data_type_offset 0x009a
map_data_designation_offset 0x029c
map_data_occupancy_offset 0x069c
map_data_0a60_offset 0x0A9c
map_data_pathfinding_offset 0x0D9c
map_data_1160_offset 0x119c
map_data_1360_offset 0x139c
map_data_temperature1_offset 0x159c
map_data_temperature2_offset 0x179c
map_data_1960_offset 0x199c
map_data_1b60_offset 0x1B9c