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.40d19"
Jump to navigation
Jump to search
(One intermediate revision by one other user not shown) | |||
Line 40: | Line 40: | ||
* denotes vectors, so subtract 4 from address | * denotes vectors, so subtract 4 from address | ||
− | + | ||
[[Category:Hacking]] | [[Category:Hacking]] |
Latest revision as of 05:26, 4 April 2010
Addresses[edit]
Windows[edit]
I included the search string I used in IDA to get the offsets in d16 and d17, hopefully some of these will remain constant across more versions, if not at least you have a starting point :)
buildings* ff 15 ? ? ? ? 8b 0d ? ? ? ? 39 34 99 0x0151289C constructions* 8B 0D ? ? ? ? 8B 04 B1 0F B7 54 24 20 66 01 10 0x014FE504 creatures* 83 E4 F8 8B 0D ? ? ? ? A1 ? ? ? ? 53 0x01511EF0 current_cursor_creature* 72 08 ff d3 8b 0d ? ? ? ? 8b 0c b9 0x016ABFCC cursor 83 3D ? ? ? ? 00 C7 05 ? ? ? ? D0 8A FF FF 0x0097A2B8 hotkey_start 83 C4 04 BE ? ? ? ? BF 10 00 00 00 0x01343714 items* FF 24 8D ? ? ? ? A1 ? ? ? ? 8B 0D ? ? ? ? 0x01511FE4 language_vector* 83 7D 44 FF 74 6D A1 ? ? ? ? 2B 05 ? ? ? ? 0x01558198 menu_state C7 05 ? ? ? ? 25 00 0x016AC1A0 map_data 83 3D ? ? ? ? 00 89 4C 24 28 89 5C 24 24 0x01555E14 matgloss* F7 C3 00 20 00 00 74 20 A1 ? ? ? ? 2B 05 ? ? ? ? 0x01557F88 notes* a1 ? ? ? ? 2b 05 ? ? ? ? 8d 7c 24 30 0x01558198 pause_state C0 E8 06 24 01 0F 84 DD 06 00 00 C6 05 ? ? ? ? 01 0x0132FF1E region_x 66 2B 05 ? ? ? ? 66 6B C9 30 66 6B C0 30 0x01555E4C region_y region_x + 4 0x01555E50 region_z region_z + 4 0x01555E54 settlements 8B 0D ? ? ? ? 8B 0C A9 83 79 70 FF0 0x01557B4C settlement_current A1 ? ? ? ? 8B 1C 30 8B 83 A8 00 00 00 89 2C 24 0x01557C18 translation_vector* 83 FB FF 75 51 8B 35 ? ? ? ? 2B 35 ? ? ? ? C1 FE 02 83 FE 01 0x015581C8 vegetation* C7 44 24 58 00 00 00 00 E8 ? ? ? ? 8B 0D ? ? ? ? 0x01518A70 view_screen* 51 83 3D ? ? ? ? 00 53 56 0x013439FC window_dims 75 2a 8b 35 ? ? ? ? 0x0169AF28 world B9 ? ? ? ? E8 ? ? ? ? 83 C0 E5 83 F8 02 0x0155744C
Concatenate the search strings on these to find the offsets, I split them to show which locations corresponded to the offsets of interest
B8 D0 8A FF FF 33 D2 66 89 15 ? ? ? ? 8B 15 ? ? ? ? A3 ? ? ? ? A3 ? ? ? ? A3 ? ? ? ? A1 ? ? ? ? window_x A3 ? ? ? ? 0x00CF4230 window_y 89 0D ? ? ? ? 0x00D222DC window_z 89 15 ? ? ? ? E9 0x00D222B8 88 1D ? ? ? ? 89 1D ? ? ? ? x_count 89 1D ? ? ? ? 0x01555E34 y_count 89 1D ? ? ? ? 0x01555E38 z_count 89 1D ? ? ? ? 0x01555E3C
* denotes vectors, so subtract 4 from address