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.

v0.31:Memory hacking

From Dwarf Fortress Wiki
Revision as of 05:02, 19 September 2010 by Andux (talk | contribs) (→‎Legacy versions: reorganizing a bit, + .12 and .13)
Jump to navigation Jump to search
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

General

Description 0.31.01 0.31.02 0.31.03 0.31.04 legacy 0.31.04 SDL 0.31.05 legacy 0.31.05 SDL 0.31.06 legacy 0.31.06 SDL 0.31.07 legacy 0.31.07 SDL 0.31.08 legacy 0.31.08 SDL
md5 hash 851c1190
b6a7b42f
24639676
23d18575
23dfe141
c7ea4e63
ebb3c618
a12b48ec
94641d97
a0ecff6f
2194e3d0
b310d946
98223ef6
728797aa
fd50b0a4
c2030a75
655a895c
5b90d15e
b9bb71e2
8c6c62e5
ac100278
c7ec226d
8d9ba809
534faded
394ff63f
c00fedd5
df0b36e4
beb589bc
0dfe1f3a
98f6378a
cae6133e
fc2ec6f6
c4b7e37d
afa2716e
31d29110
968ac64e
403647e6
afbfc5e0
85b8a5c6
d19c02db
1c0b5254
af1b8ff9
a34b51c3
f6609da3
56f4ae59
da5d2be6
00ca5c9e
c9d2a794
a83e6b21
307cf41f
b54c315f
a40dec86
pe_timestamp 4bb45f99 4bbdf378 4bc3c470 4befdde5 4bf014fa 4c090730 4c091569 4c0f6a01 4c0f83d5 4c1caaf9 4c1cbe4b 4d1d60a0 4d1d69fe

Legacy versions

Description 0.31.01 0.31.02 0.31.03 0.31.04 legacy 0.31.05 legacy
buildings 0166f9a8 ? ? ? ?
current_menu_state 017f6f38 ? ? ?
cursor_xyz ae82cc ae92cc af42b8 af22b8
mouse_x
mouse_y ae82d0 ae92d0 af42bc af22bc
mouse_z ae82d4 ae92d4 af42c0 af22c0
effects_vector 017f6da0 ? ? ? ?
hotkey_start 01476ecc ? ? ? ?
items 0166eda8 ? ? ? ?
language_vector 016affe0 016b1028 01731684 0172f684
notes 01474de8 ? ? ? ?
pause_state 0146e45f ? ? ? ?
region_x 016ad750 ? ? ? ?
region_y 016ad754 ? ? ? ?
region_z 016ad758 ? ? ? ?
settlements 016af4a4 ? ? ? ?
translation_vector 016b0010 016b1058 017316b4 0172f6b4
vegetation 017f6da0 ? ? ? ?
window_dims 17f5abc 17f6b00 ? 1875408
window_grid_x
window_grid_y 17f5ac0 17f6b04 ? 187540c
window_x (viewport_x) 00e32798 ? ? eb1df8
window_y (viewport_y) 00e60838 ? ? edfe98
window_z (viewport_z) 00e60814 ? ? edfe74
world 016aed50 ? ? ? ?


Description 0.31.06 legacy 0.31.07 legacy 0.31.08 legacy 0.31.09 legacy 0.31.10 legacy
cursor_xyz af32b8 af72c0
mouse_x
mouse_y af32bc af72c4
mouse_z af32c0 af72c8
window_dims 1876408 18f7d78
window_grid_x
window_grid_y 187640c 18f7d7c
window_x (viewport_x) eb2df8 f33930
window_y (viewport_y) ee0e98 f61a08
window_z (viewport_z) ee0e74 f619e4
Description 0.31.11 legacy 0.31.12 legacy 0.31.13 legacy
cursor_xyz b0b2c0 ab3180
mouse_x
mouse_y b0b2c4 ab3184
mouse_z b0b2c8 ab3188
window_dims 190bea8 18ae950
window_grid_x
window_grid_y 190beac 18ae954
window_x (viewport_x) f47970 eef7a8
window_y (viewport_y) f75a48 f1d880
window_z (viewport_z) f75a24 f1d85c

Note

Version 0.31.03 seems to have a second cursor position block located at 13F008, with the Y and Z values swapped.

SDL versions

Description 0.31.04 SDL 0.31.05 SDL 0.31.06 SDL 0.31.07 SDL 0.31.08 SDL
cursor_xyz ae92c8 af12cc af12d0 af32d8 af22d8
mouse_x
mouse_y ae92cc af12d0 af12d4 af32dc af22dc
mouse_z ae92d0 af12d4 af12d8 af32e0 af22e0
language_vector 016bd38c 016c539c ? ?
translation_vector 016bd3bc 016c53cc ? ?
window_dims 18030fc 180b10c ? 180d11c 180c11c
window_grid_x
window_grid_y 1803100 180b110 ? 180d120 180c120
window_x (viewport_x) e640dc e6c0dc ? e6e0ec e6d0ec
window_y (viewport_y) e921b0 e9a1b0 ? e9c1c0 e9b1c0
window_z (viewport_z) e9218c e9a18c ? e9a19c e9b19c
Description 0.31.09 SDL 0.31.10 SDL 0.31.11 SDL 0.31.12 SDL 0.31.13 SDL
cursor_xyz b062d8 ac77f0
mouse_x
mouse_y b062dc ac77f4
mouse_z b062e0 ac77f8
window_dims 182015c 17dc8bc
window_grid_x
window_grid_y 1820160 17dc8c0
window_x (viewport_x) e81114 e42c74
window_y (viewport_y) eaf1e8 e70d48
window_z (viewport_z) eaf1c4 e70d24

Creature data

Description 0.31.01 0.31.02 0.31.03 0.31.04 legacy 0.31.04 SDL 0.31.05 legacy 0.31.05 SDL
creatures 0166eccc ? ? ? ? ? ?
creature_vector 0166ecb4 0166fcfc 016ec9f4 01678714 016ea9f4 0168070c
current_cursor_creature 00ae82cc ? ? ? ? ? ?
name 0 ? ? ? ? ? ?
profession 88 ? ? ? ? ? ?
race 8C ? ? ? ? ? ?
position 90 ? ? ? ? ? ?
flags1 F8 ? ? ? ? ? ?
flags2 FC ? ? ? ? ? ?
sex 110 ? ? ? ? ? ?
id 114 ? ? ? ? ? ?
artifact_name 6D0 ? ? ? ? ? ?
labors 770 ? ? ? ? ? ?
happiness 830 ? ? ? ? ? ?


Map data

Legacy versions

Description 0.31.01 0.31.02 0.31.03 0.31.04 legacy 0.31.05 legacy
map_data 16ad718 16ae760 172edbc 172cdbc
map x_count 16ad738 16ae780 172eddc 172cddc
map y_count 16ad73c 16ae784 172ede0 172cde0
map z_count 16ad740 16ae788 172ede4 172cde4
Description 0.31.06 legacy 0.31.07 legacy 0.31.08 legacy 0.31.09 legacy 0.31.10 legacy
map_data 172ddbc 17af72c
map x_count 172dddc 17af74c
map y_count 172dde0 17af750
map z_count 172dde4 17af754
Description 0.31.11 legacy 0.31.12 legacy 0.31.13 legacy
map_data 17c385c 1769c5c
map x_count 17c387c 1769c74
map y_count 17c3880 1769c78
map z_count 17c3884 1769c7c


SDL versions

Description 0.31.04 SDL 0.31.05 SDL 0.31.06 SDL 0.31.07 SDL 0.31.08 SDL
map_data 16baac4 16c2ad4 ? 16c4ae4 16c3ae4
map x_count 16baae4 16c2af4 ? 16c4b04 16c3b04
map y_count 16baae8 16c2af8 ? 16c4b08 16c3b08
map z_count 16baaec 16c2afc ? 16c4b0c 16c3b0c
Description 0.31.09 SDL 0.31.10 SDL 0.31.11 SDL 0.31.12 SDL 0.31.13 SDL
map_data 16d7b24 1697bdc
map x_count 16d7b44 1697bf4
map y_count 16d7b48 1697bf8
map z_count 16d7b4c 1697bfc


Tile data offsets

Description 0.31.01–12 0.31.13
map_data_map_x_offset 0058
map_data_map_y_offset 005A
map_data_type_offset 009a 007a
map_data_designation_offset 029c 027c
map_data_occupancy_offset 069c 067c
map_data_0a60_offset 0A9c 0A7c
map_data_pathfinding_offset 0D9c 0D7c
map_data_1160_offset 119c 117c
map_data_1360_offset 139c 137c
map_data_temperature1_offset 159c 157c
map_data_temperature2_offset 179c 177c
map_data_1960_offset 199c 197c
map_data_1b60_offset 1B9c 1B7c