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"
Jump to navigation
Jump to search
(→SDL versions: + 0.31.14) |
(+ 0.31.15) |
||
Line 122: | Line 122: | ||
| 2da156d1fbaf8192ede9ce91abc5f366 | | 2da156d1fbaf8192ede9ce91abc5f366 | ||
| 4c9b6efb | | 4c9b6efb | ||
+ | |||
+ | |- | ||
+ | ! 0.31.15 legacy | ||
+ | | 70e42315dd0f69c4ed4de5e2a4ccbcdf | ||
+ | | 4ca859cd | ||
+ | |- | ||
+ | ! 0.31.15 SDL | ||
+ | | b4d188dfb592fc813dad31f45407991d | ||
+ | | 4ca869ea | ||
|- | |- | ||
|} | |} | ||
+ | |||
==General offsets== | ==General offsets== | ||
Line 361: | Line 371: | ||
! 0.31.13 legacy | ! 0.31.13 legacy | ||
! 0.31.14 legacy | ! 0.31.14 legacy | ||
+ | ! 0.31.15 legacy | ||
|- | |- | ||
! cursor_xyz | ! cursor_xyz | ||
Line 366: | Line 377: | ||
| colspan="1" rowspan="2" | b0b2c0 | | colspan="1" rowspan="2" | b0b2c0 | ||
| colspan="1" rowspan="2" | ab3180 | | colspan="1" rowspan="2" | ab3180 | ||
− | | colspan=" | + | | colspan="2" rowspan="2" | ab5180 |
|- | |- | ||
! mouse_x | ! mouse_x | ||
Line 375: | Line 386: | ||
| b0b2c4 | | b0b2c4 | ||
| ab3184 | | ab3184 | ||
− | | ab5184 | + | | colspan="2" | ab5184 |
|- | |- | ||
! mouse_z | ! mouse_z | ||
Line 381: | Line 392: | ||
| b0b2c8 | | b0b2c8 | ||
| ab3188 | | ab3188 | ||
− | | ab5188 | + | | colspan="2" | ab5188 |
|- | |- | ||
! window_dims | ! window_dims | ||
Line 387: | Line 398: | ||
| colspan="1" rowspan="2" | 190bea8 | | colspan="1" rowspan="2" | 190bea8 | ||
| colspan="1" rowspan="2" | 18ae950 | | colspan="1" rowspan="2" | 18ae950 | ||
− | | colspan=" | + | | colspan="2" rowspan="2" | 18b0958 |
|- | |- | ||
! window_grid_x | ! window_grid_x | ||
Line 396: | Line 407: | ||
| 190beac | | 190beac | ||
| 18ae954 | | 18ae954 | ||
− | | 18b095c | + | | colspan="2" | 18b095c |
|- | |- | ||
! window_x (viewport_x) | ! window_x (viewport_x) | ||
Line 402: | Line 413: | ||
| f47970 | | f47970 | ||
| eef7a8 | | eef7a8 | ||
− | | ef17a8 | + | | colspan="2" | ef17a8 |
|- | |- | ||
! window_y (viewport_y) | ! window_y (viewport_y) | ||
Line 408: | Line 419: | ||
| f75a48 | | f75a48 | ||
| f1d880 | | f1d880 | ||
− | | f1f880 | + | | colspan="2" | f1f880 |
|- | |- | ||
! window_z (viewport_z) | ! window_z (viewport_z) | ||
Line 414: | Line 425: | ||
| f75a24 | | f75a24 | ||
| f1d85c | | f1d85c | ||
− | | f1f85c | + | | colspan="2" | f1f85c |
|- | |- | ||
Line 531: | Line 542: | ||
! 0.31.13 SDL | ! 0.31.13 SDL | ||
! 0.31.14 SDL | ! 0.31.14 SDL | ||
− | + | ! 0.31.15 SDL | |
|- | |- | ||
! cursor_xyz | ! cursor_xyz | ||
Line 538: | Line 549: | ||
| rowspan="2" | b062d8 | | rowspan="2" | b062d8 | ||
| rowspan="2" | ac77f0 | | rowspan="2" | ac77f0 | ||
− | | rowspan="2" | ac87f0 | + | | colspan="2" rowspan="2" | ac87f0 |
|- | |- | ||
Line 549: | Line 560: | ||
| b062dc | | b062dc | ||
| ac77f4 | | ac77f4 | ||
− | | ac87f4 | + | | colspan="2" | ac87f4 |
|- | |- | ||
! mouse_z | ! mouse_z | ||
Line 556: | Line 567: | ||
| b062e0 | | b062e0 | ||
| ac77f8 | | ac77f8 | ||
− | | ac87f8 | + | | colspan="2" | ac87f8 |
|- | |- | ||
! window_dims | ! window_dims | ||
Line 563: | Line 574: | ||
| rowspan="2" | 182015c | | rowspan="2" | 182015c | ||
| rowspan="2" | 17dc8bc | | rowspan="2" | 17dc8bc | ||
− | | rowspan="2" | 17dd8bc | + | | colspan="2" rowspan="2" | 17dd8bc |
|- | |- | ||
! window_grid_x | ! window_grid_x | ||
Line 573: | Line 584: | ||
| 1820160 | | 1820160 | ||
| 17dc8c0 | | 17dc8c0 | ||
− | | 17dd8c0 | + | | colspan="2" | 17dd8c0 |
|- | |- | ||
! window_x (viewport_x) | ! window_x (viewport_x) | ||
Line 580: | Line 591: | ||
| e81114 | | e81114 | ||
| e42c74 | | e42c74 | ||
− | | e43c74 | + | | colspan="2" | e43c74 |
|- | |- | ||
! window_y (viewport_y) | ! window_y (viewport_y) | ||
Line 587: | Line 598: | ||
| eaf1e8 | | eaf1e8 | ||
| e70d48 | | e70d48 | ||
− | | e71d48 | + | | colspan="2" | e71d48 |
|- | |- | ||
! window_z (viewport_z) | ! window_z (viewport_z) | ||
Line 594: | Line 605: | ||
| eaf1c4 | | eaf1c4 | ||
| e70d24 | | e70d24 | ||
− | | e71d24 | + | | colspan="2" | e71d24 |
|} | |} | ||
Line 831: | Line 842: | ||
! 0.31.13 legacy | ! 0.31.13 legacy | ||
! 0.31.14 legacy | ! 0.31.14 legacy | ||
+ | ! 0.31.15 legacy | ||
|- | |- | ||
Line 837: | Line 849: | ||
| 17c385c | | 17c385c | ||
| 1769c5c | | 1769c5c | ||
− | | 176bc5c | + | | colspan="2" | 176bc5c |
|- | |- | ||
! map x_count | ! map x_count | ||
Line 843: | Line 855: | ||
| 17c387c | | 17c387c | ||
| 1769c74 | | 1769c74 | ||
− | | 176bc74 | + | | colspan="2" | 176bc74 |
|- | |- | ||
! map y_count | ! map y_count | ||
Line 849: | Line 861: | ||
| 17c3880 | | 17c3880 | ||
| 1769c78 | | 1769c78 | ||
− | | 176bc78 | + | | colspan="2" | 176bc78 |
|- | |- | ||
! map z_count | ! map z_count | ||
Line 855: | Line 867: | ||
| 17c3884 | | 17c3884 | ||
| 1769c7c | | 1769c7c | ||
− | | 176bc7c | + | | colspan="2" | 176bc7c |
|} | |} | ||
Line 910: | Line 922: | ||
! 0.31.13 SDL | ! 0.31.13 SDL | ||
! 0.31.14 SDL | ! 0.31.14 SDL | ||
+ | ! 0.31.15 SDL | ||
|- | |- | ||
! map_data | ! map_data | ||
Line 916: | Line 929: | ||
| 16d7b24 | | 16d7b24 | ||
| 1697bdc | | 1697bdc | ||
− | | 1698bdc | + | | colspan="2" | 1698bdc |
|- | |- | ||
! map x_count | ! map x_count | ||
Line 923: | Line 936: | ||
| 16d7b44 | | 16d7b44 | ||
| 1697bf4 | | 1697bf4 | ||
− | | 1698bf4 | + | | colspan="2" | 1698bf4 |
|- | |- | ||
! map y_count | ! map y_count | ||
Line 930: | Line 943: | ||
| 16d7b48 | | 16d7b48 | ||
| 1697bf8 | | 1697bf8 | ||
− | | 1698bf8 | + | | colspan="2" | 1698bf8 |
|- | |- | ||
! map z_count | ! map z_count | ||
Line 937: | Line 950: | ||
| 16d7b4c | | 16d7b4c | ||
| 1697bfc | | 1697bfc | ||
− | | 1698bfc | + | | colspan="2" | 1698bfc |
|} | |} | ||
Line 947: | Line 960: | ||
! Description | ! Description | ||
! 0.31.01–12 | ! 0.31.01–12 | ||
− | ! 0.31.13– | + | ! 0.31.13–15 |
|- | |- | ||
! map_data_map_x_offset | ! map_data_map_x_offset |
Revision as of 19:03, 3 October 2010
This article is about an older version of DF. |
This page includes mods. The content is not part of normal DF as released. Changing game files can sometimes cause unexpected results, and should always be done with care and caution. |
These are currently unverified, but it is a start, if the hex is -1, don't know that yet
Version identification
Version | MD5 hash | PE timestamp |
---|---|---|
0.31.01 | 851c1190b6a7b42f2463967623d18575 | 4bb45f99 |
0.31.02 | 23dfe141c7ea4e63ebb3c618a12b48ec | 4bbdf378 |
0.31.03 | 94641d97a0ecff6f2194e3d0b310d946 | 4bc3c470 |
0.31.04 legacy | 98223ef6728797aafd50b0a4c2030a75 | 4befdde5 |
0.31.04 SDL | 655a895c5b90d15eb9bb71e28c6c62e5 | 4bf014fa |
0.31.05 legacy | ac100278c7ec226d8d9ba809534faded | 4c090730 |
0.31.05 SDL | 394ff63fc00fedd5df0b36e4beb589bc | 4c091569 |
0.31.06 legacy | 0dfe1f3a98f6378acae6133efc2ec6f6 | 4c0f6a01 |
0.31.06 SDL | c4b7e37dafa2716e31d29110968ac64e | 4c0f83d5 |
0.31.07 legacy | 403647e6afbfc5e085b8a5c6d19c02db | 4c1caaf9 |
0.31.07 SDL | 1c0b5254af1b8ff9a34b51c3f6609da3 | 4c1cbe4b |
0.31.08 legacy | 56f4ae59da5d2be600ca5c9ec9d2a794 | 4d1d60a0 |
0.31.08 SDL | a83e6b21307cf41fb54c315fa40dec86 | 4d1d69fe |
0.31.09 legacy | ||
0.31.09 SDL | 1a85839ab03df082974dc5629d3fbc26 | 4c3897c0 |
0.31.10 legacy | ||
0.31.10 SDL | 349d1ad6eda7b6c5e87f8e4726a0999a | 4c398089 |
0.31.11 legacy | ||
0.31.11 SDL | 552cfa417fd131204ebfee66aefc4adb | 4c496d93 |
0.31.12 legacy | ed7cbf10442b56824a032d2bb82f7127 | 4c4c1527 |
0.31.12 SDL | f0459165a426a9f2dd8d957e9fa7f01d | 4c4c32e7 |
0.31.13 legacy | 085dd59d4396f08e96124c3bdef6e2d0 | 4c908b66 |
0.31.13 SDL | 59f194b0b2103ca5df7601a01ce21280 | 4c90ada8 |
0.31.14 legacy | 7e07cd0654489e52f25698b1136980df | 4c9b4c27 |
0.31.14 SDL | 2da156d1fbaf8192ede9ce91abc5f366 | 4c9b6efb |
0.31.15 legacy | 70e42315dd0f69c4ed4de5e2a4ccbcdf | 4ca859cd |
0.31.15 SDL | b4d188dfb592fc813dad31f45407991d | 4ca869ea |
General offsets
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 | 0.31.14 legacy | 0.31.15 legacy |
cursor_xyz | b0b2c0 | ab3180 | ab5180 | ||
mouse_x | |||||
mouse_y | b0b2c4 | ab3184 | ab5184 | ||
mouse_z | b0b2c8 | ab3188 | ab5188 | ||
window_dims | 190bea8 | 18ae950 | 18b0958 | ||
window_grid_x | |||||
window_grid_y | 190beac | 18ae954 | 18b095c | ||
window_x (viewport_x) | f47970 | eef7a8 | ef17a8 | ||
window_y (viewport_y) | f75a48 | f1d880 | f1f880 | ||
window_z (viewport_z) | f75a24 | f1d85c | f1f85c |
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 | 0.31.09 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.10 SDL | 0.31.11 SDL | 0.31.12 SDL | 0.31.13 SDL | 0.31.14 SDL | 0.31.15 SDL |
cursor_xyz | b062d8 | ac77f0 | ac87f0 | |||
mouse_x | ||||||
mouse_y | b062dc | ac77f4 | ac87f4 | |||
mouse_z | b062e0 | ac77f8 | ac87f8 | |||
window_dims | 182015c | 17dc8bc | 17dd8bc | |||
window_grid_x | ||||||
window_grid_y | 1820160 | 17dc8c0 | 17dd8c0 | |||
window_x (viewport_x) | e81114 | e42c74 | e43c74 | |||
window_y (viewport_y) | eaf1e8 | e70d48 | e71d48 | |||
window_z (viewport_z) | eaf1c4 | e70d24 | e71d24 |
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 | 0.31.14 legacy | 0.31.15 legacy |
map_data | 17c385c | 1769c5c | 176bc5c | ||
map x_count | 17c387c | 1769c74 | 176bc74 | ||
map y_count | 17c3880 | 1769c78 | 176bc78 | ||
map z_count | 17c3884 | 1769c7c | 176bc7c |
SDL versions
Description | 0.31.04 SDL | 0.31.05 SDL | 0.31.06 SDL | 0.31.07 SDL | 0.31.08 SDL | 0.31.09 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.10 SDL | 0.31.11 SDL | 0.31.12 SDL | 0.31.13 SDL | 0.31.14 SDL | 0.31.15 SDL |
map_data | 16d7b24 | 1697bdc | 1698bdc | |||
map x_count | 16d7b44 | 1697bf4 | 1698bf4 | |||
map y_count | 16d7b48 | 1697bf8 | 1698bf8 | |||
map z_count | 16d7b4c | 1697bfc | 1698bfc |
Tile data offsets
Description | 0.31.01–12 | 0.31.13–15 |
---|---|---|
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 |