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.

Editing v0.34:Memory hacking

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.34"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{quality|Fine|22:28, 4 March 2013 (UTC)}}{{av}}
+
{{av}}
  
 
==Version identification==
 
==Version identification==
Line 61: Line 61:
 
| cd9de11f650938408f810443a16a4c6f
 
| cd9de11f650938408f810443a16a4c6f
 
| 4F6C34CA
 
| 4F6C34CA
 
|-
 
! 0.34.07 legacy
 
| 17b407e2b1e179eca349ce3dab532073
 
| 4F758B28
 
|-
 
! 0.34.07 SDL
 
| 7e574bedd5ffe13d7cb6cf8f55e27ccf
 
| 4f7592fe
 
 
|-
 
! 0.34.08 legacy
 
| 6a60a120fde2c5e89c9dc6fdbcc2abe3
 
| 4FB0CBAD
 
|-
 
! 0.34.08 SDL
 
| 5d65238944ebdccb4221890b1b504189
 
| 4FB0CCBA
 
 
|-
 
! 0.34.09 legacy
 
| 107f5d2c98dbb479c4133234dfdb7f83
 
| 4FB4BCDA
 
|-
 
! 0.34.09 SDL
 
| 195417b9a9ee0ec062a0949489e70b2f
 
| 4FB4C506
 
 
|-
 
! 0.34.10 legacy
 
| 92062f40505d2b2f9323569c20d77c41
 
| 4FB9FC18
 
|-
 
! 0.34.10 SDL
 
| d2ddce3bcac9114272484b6ff4295fd2
 
| 4FBA073A
 
  
 
|}
 
|}
Line 168: Line 132:
 
! Description
 
! Description
 
! 0.34.06 legacy
 
! 0.34.06 legacy
! 0.34.07 legacy
 
! 0.34.08 legacy
 
! 0.34.09 legacy
 
! 0.34.10 legacy
 
  
 
|-
 
|-
 
! cursor_xyz
 
! cursor_xyz
 
| colspan="1" rowspan="2" | C04518
 
| colspan="1" rowspan="2" | C04518
| colspan="1" rowspan="2" | C09518
 
| colspan="1" rowspan="2" | C435C8
 
| colspan="2" rowspan="2" | C445C8
 
  
 
|-
 
|-
Line 186: Line 143:
 
! mouse_y
 
! mouse_y
 
| C0451C
 
| C0451C
| C0951C
 
| C435CC
 
| colspan="2" | C445CC
 
  
 
|-
 
|-
 
! mouse_z
 
! mouse_z
 
| C04520
 
| C04520
| C09520
 
| C435D0
 
| colspan="2" | C445D0
 
  
 
|-
 
|-
 
! window_dims
 
! window_dims
 
| colspan="1" rowspan="2" | 1A01998
 
| colspan="1" rowspan="2" | 1A01998
| colspan="1" rowspan="2" | 1A06998
 
| colspan="1" rowspan="2" | 1A41A88
 
| colspan="2" rowspan="2" | 1A42A88
 
  
 
|-
 
|-
Line 210: Line 158:
 
! window_grid_y
 
! window_grid_y
 
| 1A0199C
 
| 1A0199C
| 1A0699C
 
| 1A41A8C
 
| colspan="2" | 1A42A8C
 
  
 
|-
 
|-
 
! window_x (viewport_x)
 
! window_x (viewport_x)
 
| 10413F0
 
| 10413F0
| 10463F0
 
| 1080518
 
| colspan="2" | 1081518
 
  
 
|-
 
|-
 
! window_y (viewport_y)
 
! window_y (viewport_y)
 
| 106F600
 
| 106F600
| 1074600
 
| 10AE728
 
| colspan="2" | 10AF728
 
  
 
|-
 
|-
 
! window_z (viewport_z)
 
! window_z (viewport_z)
 
| 106F5D8
 
| 106F5D8
| 10745D8
 
| 10AE700
 
| colspan="2" | 10AF700
 
  
 
|}
 
|}
Line 341: Line 277:
 
| colspan="2" | C08920
 
| colspan="2" | C08920
 
| C09920
 
| C09920
 
|- bgcolor="#ddd"
 
! Description
 
! 0.34.07 SDL
 
! 0.34.08 SDL
 
! 0.34.09 SDL
 
! 0.34.10 SDL
 
 
|-
 
! cursor_xyz
 
| colspan="1" rowspan="2" | C5A848
 
| colspan="1" rowspan="2" | C96848
 
| colspan="2" rowspan="2" | C97848
 
 
|-
 
! mouse_x
 
<!-- Cells rowspanned out -->
 
|-
 
! mouse_y
 
| C5A84C
 
| C9684C
 
| colspan="2" | C9784C
 
 
|-
 
! mouse_z
 
| C5A850
 
| C96850
 
| colspan="2" | C97850
 
 
|-
 
! window_dims
 
| colspan="1" rowspan="2" | 19725EC
 
| colspan="1" rowspan="2" | 19AE974
 
| colspan="2" rowspan="2" | 19AF974
 
 
|-
 
! window_grid_x
 
<!-- Cells rowspanned out -->
 
|-
 
! window_grid_y
 
| 19725F0
 
| 19AE978
 
| colspan="2" | 19AF978
 
 
|-
 
! window_x (viewport_x)
 
| 0FD78CC
 
| 1013A04
 
| colspan="2" | 1014A04
 
 
|-
 
! window_y (viewport_y)
 
| 1005AD8
 
| 1041C14
 
| colspan="2" | 1042C14
 
 
|-
 
! window_z (viewport_z)
 
| 1005AB0
 
| 1041BEC
 
| colspan="2" | 1042BEC
 
 
|-
 
! population_cap
 
| 196fa64
 
 
|-
 
! child_number_cap
 
| 196FA68
 
 
|-
 
! child_percent_cap
 
| 196FA6C
 
  
 
|}
 
|}
Line 473: Line 336:
 
! Description
 
! Description
 
! 0.34.06 legacy
 
! 0.34.06 legacy
! 0.34.07 legacy
 
! 0.34.08 legacy
 
! 0.34.09 legacy
 
! 0.34.10 legacy
 
  
 
|-
 
|-
 
! map_data
 
! map_data
 
| 18BC840
 
| 18BC840
| 18C1840
 
| 18FC818
 
| colspan="2" | 18FD818
 
  
 
|-
 
|-
 
! [[#map_info|map_info]]
 
! [[#map_info|map_info]]
 
| 18BC858
 
| 18BC858
| 18C1858
 
| 18FC830
 
| colspan="2" | 18FD830
 
  
 
|}
 
|}
Line 556: Line 409:
 
| 17E14C4
 
| 17E14C4
 
| 17E24E4
 
| 17E24E4
 
|- bgcolor="#ddd"
 
! Description
 
! 0.34.07 SDL
 
! 0.34.08 SDL
 
! 0.34.09 SDL
 
! 0.34.10 SDL
 
 
|-
 
! map_data
 
| 182D4C8
 
| 1869738
 
| colspan="2" | 186A738
 
 
|-
 
! [[#map_info struct|map_info]]
 
| 182D4E0
 
| 1869750
 
| colspan="2" | 186A750
 
  
 
|}
 
|}
Line 612: Line 446:
 
| int32
 
| int32
 
| region_x
 
| region_x
| rowspan="2" | Position of the current map region within the world as a whole.
+
| rowspan="3" | Position of the current map region within the world as a whole.
 
|-
 
|-
 
| int32
 
| int32
Line 619: Line 453:
 
| int32
 
| int32
 
| region_z
 
| region_z
| Base Z-level - add this to Z coordinates to get the Z-level displayed on the screen
 
  
 
|}
 
|}
  
===Map block data offsets===
+
 
 +
===Tile data offsets===
  
 
{| {{prettytable}} style="font-family: monospace"
 
{| {{prettytable}} style="font-family: monospace"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
 
! Description
 
! Description
! 0.34.01&ndash;10
+
! 0.34.01&ndash;06
 
 
|-
 
! block_events
 
| 0004
 
 
 
|-
 
! block_burrows
 
| 0014
 
 
 
|-
 
! local_feature
 
| 0020
 
 
 
|-
 
! global_feature
 
| 0024
 
 
 
|-
 
! block_items
 
| 0038
 
 
 
|-
 
! block_flows
 
| 0048
 
 
 
|-
 
! block_vegetation
 
| 0060
 
 
 
 
|-
 
|-
 
! map_data_map_x_offset
 
! map_data_map_x_offset
Line 667: Line 472:
 
! map_data_map_z_offset
 
! map_data_map_z_offset
 
| 0074
 
| 0074
 
 
|-
 
|-
! map_data_tiletype_offset
+
! map_data_type_offset
 
| 007a
 
| 007a
  

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)