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 "40d:Memory hacking/v0.28.181.40d17"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(initial addresses)
 
Line 2: Line 2:
 
windows version only right now
 
windows version only right now
  
cursor_xyz            == 0x009662B4
+
cursor_xyz            == 0x009662B4
window_x              == 0x00DD4FEC
+
window_x              == 0x00DD4FEC
window_y              == 0x00E03098
+
window_y              == 0x00E03098
window_z              == 0x00E03074
+
window_z              == 0x00E03074
items                  == 0x015F28CC
+
items                  == 0x015F28CC
creatures              == 0x015F292C
+
creatures              == 0x015F292C
pause_state            == 0x01410CC1
+
pause_state            == 0x01410CC1
  
 
All Addresses are 0x40000 based, this is what we use in DFHack, it is pretty trivial to convert them, plus on WinXP they are constant at least!
 
All Addresses are 0x40000 based, this is what we use in DFHack, it is pretty trivial to convert them, plus on WinXP they are constant at least!

Revision as of 16:32, 5 February 2010

Addresses

windows version only right now

cursor_xyz             == 0x009662B4
window_x               == 0x00DD4FEC
window_y               == 0x00E03098
window_z               == 0x00E03074
items                  == 0x015F28CC
creatures              == 0x015F292C
pause_state            == 0x01410CC1

All Addresses are 0x40000 based, this is what we use in DFHack, it is pretty trivial to convert them, plus on WinXP they are constant at least!