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
(+ 0.31.07 stuff)
Line 14: Line 14:
 
! 0.31.05 SDL
 
! 0.31.05 SDL
 
! 0.31.06 legacy
 
! 0.31.06 legacy
 +
! 0.31.06 SDL
 +
! 0.31.07 legacy
 +
! 0.31.07 SDL
  
 
|-
 
|-
Line 20: Line 23:
 
| style="font-size: 35%;" | 23dfe141c7ea4e63ebb3c618a12b48ec
 
| style="font-size: 35%;" | 23dfe141c7ea4e63ebb3c618a12b48ec
 
| style="font-size: 35%;" | 94641d97a0ecff6f2194e3d0b310d946
 
| style="font-size: 35%;" | 94641d97a0ecff6f2194e3d0b310d946
 +
 
| style="font-size: 35%;" | 98223ef6728797aafd50b0a4c2030a75
 
| style="font-size: 35%;" | 98223ef6728797aafd50b0a4c2030a75
 
| style="font-size: 35%;" | 655a895c5b90d15eb9bb71e28c6c62e5
 
| style="font-size: 35%;" | 655a895c5b90d15eb9bb71e28c6c62e5
| style="font-size: 70%;" | ac100278c7ec226d8d9ba809534faded
+
 
| style="font-size: 70%;" | 394ff63fc00fedd5df0b36e4beb589bc
+
| style="font-size: 35%;" | ac100278c7ec226d8d9ba809534faded
| style="font-size: 75%;" | 0dfe1f3a98f6378acae6133efc2ec6f6
+
| style="font-size: 35%;" | 394ff63fc00fedd5df0b36e4beb589bc
 +
 
 +
| style="font-size: 70%;" | 0dfe1f3a98f6378acae6133efc2ec6f6
 +
| style="font-size: 70%;" |  
 +
 
 +
| style="font-size: 75%;" | 403647e6afbfc5e085b8a5c6d19c02db
 +
| style="font-size: 75%;" |  
  
 
|-
 
|-
Line 31: Line 41:
 
| 4bbdf378
 
| 4bbdf378
 
| 4bc3c470
 
| 4bc3c470
 +
 
| 4befdde5
 
| 4befdde5
 
| 4bf014fa
 
| 4bf014fa
 +
 
| 4c090730
 
| 4c090730
 
| 4c091569
 
| 4c091569
 +
 
| 4c0f6a01
 
| 4c0f6a01
 +
|
 +
 +
| 4c1caaf9
 +
| 4c1cbe4b
  
 
|-
 
|-
Line 53: Line 70:
 
| colspan="2" rowspan="2" | 0xae82cc
 
| colspan="2" rowspan="2" | 0xae82cc
 
| colspan="1" rowspan="2" | 0xae92cc
 
| colspan="1" rowspan="2" | 0xae92cc
 +
 
| colspan="1" rowspan="2" | 0xaf42b8
 
| colspan="1" rowspan="2" | 0xaf42b8
 
| colspan="1" rowspan="2" | 0xae92c8
 
| colspan="1" rowspan="2" | 0xae92c8
 +
 
| colspan="1" rowspan="2" | 0xaf22b8
 
| colspan="1" rowspan="2" | 0xaf22b8
 
| colspan="1" rowspan="2" | 0xaf12cc
 
| colspan="1" rowspan="2" | 0xaf12cc
 +
 
| colspan="1" rowspan="2" | 0xaf32b8
 
| colspan="1" rowspan="2" | 0xaf32b8
 +
| colspan="1" rowspan="2" |
 +
 +
| colspan="1" rowspan="2" | 0xaf72c0
 +
| colspan="1" rowspan="2" |
  
 
|-
 
|-
Line 66: Line 90:
 
| colspan="2" | 0xae82d0
 
| colspan="2" | 0xae82d0
 
| 0xae92d0
 
| 0xae92d0
 +
 
| 0xaf42bc
 
| 0xaf42bc
 
| 0xae92cc
 
| 0xae92cc
 +
 
| 0xaf22bc
 
| 0xaf22bc
 
| 0xaf12d0
 
| 0xaf12d0
 +
 
| 0xaf32bc
 
| 0xaf32bc
 +
|
 +
 +
| 0xaf72c4
 +
|
 
|-
 
|-
 
! mouse_z
 
! mouse_z
 
| colspan="2" | 0xae82d4
 
| colspan="2" | 0xae82d4
 
| 0xae92d4
 
| 0xae92d4
 +
 
| 0xaf42c0
 
| 0xaf42c0
 
| 0xae92d0
 
| 0xae92d0
 +
 
| 0xaf22c0
 
| 0xaf22c0
 
| 0xaf12d4
 
| 0xaf12d4
 +
 
| 0xaf32c0
 
| 0xaf32c0
 +
|
  
 +
| 0xaf72c8
 +
|
 
|-
 
|-
 
! effects_vector
 
! effects_vector
Line 97: Line 134:
 
| colspan="2" | 0x016affe0
 
| colspan="2" | 0x016affe0
 
| 0x016b1028
 
| 0x016b1028
 +
 
| 0x01731684
 
| 0x01731684
 
| 0x016bd38c
 
| 0x016bd38c
 +
 
| 0x0172f684
 
| 0x0172f684
 
| 0x016c539c
 
| 0x016c539c
Line 135: Line 174:
 
| colspan="2" | 0x016b0010
 
| colspan="2" | 0x016b0010
 
| 0x016b1058
 
| 0x016b1058
 +
 
| 0x017316b4
 
| 0x017316b4
 
| 0x016bd3bc
 
| 0x016bd3bc
 +
 
| 0x0172f6b4
 
| 0x0172f6b4
 
| 0x016c53cc
 
| 0x016c53cc
Line 152: Line 193:
 
| colspan="2" rowspan="2" | 0x17f5abc
 
| colspan="2" rowspan="2" | 0x17f5abc
 
| colspan="1" rowspan="2" | 0x17f6b00
 
| colspan="1" rowspan="2" | 0x17f6b00
 +
 
| colspan="1" rowspan="2" | ? <!--0.31.04 legacy-->
 
| colspan="1" rowspan="2" | ? <!--0.31.04 legacy-->
 
| colspan="1" rowspan="2" | 0x18030fc
 
| colspan="1" rowspan="2" | 0x18030fc
 +
 
| colspan="1" rowspan="2" | 0x1875408
 
| colspan="1" rowspan="2" | 0x1875408
 
| colspan="1" rowspan="2" | 0x180b10c
 
| colspan="1" rowspan="2" | 0x180b10c
 +
 
| colspan="1" rowspan="2" | 0x1876408
 
| colspan="1" rowspan="2" | 0x1876408
 +
| colspan="1" rowspan="2" |
 +
 +
| colspan="1" rowspan="2" | 0x18f7d78
 +
| colspan="1" rowspan="2" |
 
|-
 
|-
 
! window_grid_x
 
! window_grid_x
Line 164: Line 212:
 
| colspan="2" | 0x17f5ac0
 
| colspan="2" | 0x17f5ac0
 
| 0x17f6b04
 
| 0x17f6b04
 +
 
| ? <!--0.31.04 legacy-->
 
| ? <!--0.31.04 legacy-->
 
| 0x1803100
 
| 0x1803100
 +
 
| 0x187540C
 
| 0x187540C
 
| 0x180b110
 
| 0x180b110
 +
 
| 0x187640C
 
| 0x187640C
 +
|
 +
 +
| 0x18f7d7c
 +
|
 
|-
 
|-
 
! window_x (viewport_x)
 
! window_x (viewport_x)
 
| colspan="2" | 0x00e32798
 
| colspan="2" | 0x00e32798
 
| ? <!--0.31.03-->
 
| ? <!--0.31.03-->
 +
 
| ? <!--0.31.04 legacy-->
 
| ? <!--0.31.04 legacy-->
 
| 0xe640dc
 
| 0xe640dc
 +
 
| 0xEB1DF8
 
| 0xEB1DF8
 
| 0xe6c0dc
 
| 0xe6c0dc
 +
 
| 0xeb2df8
 
| 0xeb2df8
 +
|
 +
 +
| 0xf33930
 +
|
 
|-
 
|-
 
! window_y (viewport_y)
 
! window_y (viewport_y)
 
| colspan="2" | 0x00e60838
 
| colspan="2" | 0x00e60838
 
| ? <!--0.31.03-->
 
| ? <!--0.31.03-->
 +
 
| ? <!--0.31.04 legacy-->
 
| ? <!--0.31.04 legacy-->
 
| 0xe921b0
 
| 0xe921b0
 +
 
| 0xEDFE98
 
| 0xEDFE98
 
| 0xe9a1b0
 
| 0xe9a1b0
 +
 
| 0xee0e98
 
| 0xee0e98
 +
|
 +
 +
| 0xf61a08
 +
|
 
|-
 
|-
 
! window_z (viewport_z)
 
! window_z (viewport_z)
 
| colspan="2" | 0x00e60814
 
| colspan="2" | 0x00e60814
 
| ? <!--0.31.03-->
 
| ? <!--0.31.03-->
 +
 
| ? <!--0.31.04 legacy-->
 
| ? <!--0.31.04 legacy-->
 
| 0xe9218c
 
| 0xe9218c
 +
 
| 0xEDFE74
 
| 0xEDFE74
 
| 0xe9a18c
 
| 0xe9a18c
 +
 
| 0xee0e74
 
| 0xee0e74
 +
|
  
 +
| 0xf619e4
 +
|
 
|-
 
|-
 
! world
 
! world
Line 226: Line 301:
 
| colspan="2" | 0x0166ecb4
 
| colspan="2" | 0x0166ecb4
 
| 0x0166fcfc
 
| 0x0166fcfc
 +
 
| 0x016ec9f4
 
| 0x016ec9f4
 
| 0x01678714
 
| 0x01678714
 +
 
| 0x016ea9f4
 
| 0x016ea9f4
 
| 0x0168070c
 
| 0x0168070c
Line 301: Line 378:
 
| colspan="2" | 0x16ad718
 
| colspan="2" | 0x16ad718
 
| 0x16ae760
 
| 0x16ae760
 +
 
| 0x172edbc
 
| 0x172edbc
 
| 0x16baac4
 
| 0x16baac4
 +
 
| 0x172cdbc
 
| 0x172cdbc
 
| 0x16c2ad4
 
| 0x16c2ad4
 +
 
| 0x172ddbc
 
| 0x172ddbc
 
|  
 
|  
 +
 
| 0x17af72c
 
| 0x17af72c
 
|  
 
|  
Line 314: Line 395:
 
| colspan="2" | 0x16ad738
 
| colspan="2" | 0x16ad738
 
| 0x16ae780
 
| 0x16ae780
 +
 
| 0x172eddc
 
| 0x172eddc
 
| 0x16baae4
 
| 0x16baae4
 +
 
| 0x172cddc
 
| 0x172cddc
 
| 0x16c2af4
 
| 0x16c2af4
 +
 
| 0x172dddc
 
| 0x172dddc
 
|  
 
|  
 +
 
| 0x17af74c
 
| 0x17af74c
 
|  
 
|  
Line 326: Line 411:
 
| colspan="2" | 0x16ad73c
 
| colspan="2" | 0x16ad73c
 
| 0x16ae784
 
| 0x16ae784
 +
 
| 0x172ede0
 
| 0x172ede0
 
| 0x16baae8
 
| 0x16baae8
 +
 
| 0x172cde0
 
| 0x172cde0
 
| 0x16c2af8
 
| 0x16c2af8
 +
 
| 0x172dde0
 
| 0x172dde0
 
|  
 
|  
 +
 
| 0x17af750
 
| 0x17af750
 
|  
 
|  
Line 338: Line 427:
 
| colspan="2" | 0x16ad740
 
| colspan="2" | 0x16ad740
 
| 0x16ae788
 
| 0x16ae788
 +
 
| 0x172ede4
 
| 0x172ede4
 
| 0x16baaec
 
| 0x16baaec
 +
 
| 0x172cde4
 
| 0x172cde4
 
| 0x16c2afc
 
| 0x16c2afc
 +
 
| 0x172dde4
 
| 0x172dde4
 
|  
 
|  
 +
 
| 0x17af754
 
| 0x17af754
 
|  
 
|  

Revision as of 21:26, 19 June 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 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
md5 hash 851c1190b6a7b42f2463967623d18575 23dfe141c7ea4e63ebb3c618a12b48ec 94641d97a0ecff6f2194e3d0b310d946 98223ef6728797aafd50b0a4c2030a75 655a895c5b90d15eb9bb71e28c6c62e5 ac100278c7ec226d8d9ba809534faded 394ff63fc00fedd5df0b36e4beb589bc 0dfe1f3a98f6378acae6133efc2ec6f6 403647e6afbfc5e085b8a5c6d19c02db
pe_timestamp 4bb45f99 4bbdf378 4bc3c470 4befdde5 4bf014fa 4c090730 4c091569 4c0f6a01 4c1caaf9 4c1cbe4b
buildings 0x0166f9a8
constructions 0xffffffff
current_menu_state 0x017f6f38
cursor_xyz 0xae82cc 0xae92cc 0xaf42b8 0xae92c8 0xaf22b8 0xaf12cc 0xaf32b8 0xaf72c0
mouse_x
mouse_y 0xae82d0 0xae92d0 0xaf42bc 0xae92cc 0xaf22bc 0xaf12d0 0xaf32bc 0xaf72c4
mouse_z 0xae82d4 0xae92d4 0xaf42c0 0xae92d0 0xaf22c0 0xaf12d4 0xaf32c0 0xaf72c8
effects_vector 0x017f6da0
hotkey_start 0x01476ecc
items 0x0166eda8
language_vector 0x016affe0 0x016b1028 0x01731684 0x016bd38c 0x0172f684 0x016c539c
matgloss 0xffffffff
notes 0x01474de8
pause_state 0x0146e45f
region_x 0x016ad750
region_y 0x016ad754
region_z 0x016ad758
settlement_current 0xffffffff
settlements 0x016af4a4
translation_vector 0x016b0010 0x016b1058 0x017316b4 0x016bd3bc 0x0172f6b4 0x016c53cc
vegetation 0x017f6da0
view_screen 0xffffffff
window_dims 0x17f5abc 0x17f6b00 ? 0x18030fc 0x1875408 0x180b10c 0x1876408 0x18f7d78
window_grid_x
window_grid_y 0x17f5ac0 0x17f6b04 ? 0x1803100 0x187540C 0x180b110 0x187640C 0x18f7d7c
window_x (viewport_x) 0x00e32798 ? ? 0xe640dc 0xEB1DF8 0xe6c0dc 0xeb2df8 0xf33930
window_y (viewport_y) 0x00e60838 ? ? 0xe921b0 0xEDFE98 0xe9a1b0 0xee0e98 0xf61a08
window_z (viewport_z) 0x00e60814 ? ? 0xe9218c 0xEDFE74 0xe9a18c 0xee0e74 0xf619e4
world 0x016aed50

Notes

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

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 0x0166eccc
creature_vector 0x0166ecb4 0x0166fcfc 0x016ec9f4 0x01678714 0x016ea9f4 0x0168070c
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 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
map_data 0x16ad718 0x16ae760 0x172edbc 0x16baac4 0x172cdbc 0x16c2ad4 0x172ddbc 0x17af72c
map x_count 0x16ad738 0x16ae780 0x172eddc 0x16baae4 0x172cddc 0x16c2af4 0x172dddc 0x17af74c
map y_count 0x16ad73c 0x16ae784 0x172ede0 0x16baae8 0x172cde0 0x16c2af8 0x172dde0 0x17af750
map z_count 0x16ad740 0x16ae788 0x172ede4 0x16baaec 0x172cde4 0x16c2afc 0x172dde4 0x17af754
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