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.27.169.33d"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 1: Line 1:
 +
[[Category:Hacking]]
 
== Addresses ==
 
== Addresses ==
 
<pre>
 
<pre>

Revision as of 15:17, 26 March 2008

Addresses

pe_header_timestamp              == 475099AA
map_data_loc                     == 01460560
map_x_count_loc                  == 01460578
map_y_count_loc                  == 0146057C
map_z_count_loc                  == 01460580
race_data_vector_loc             == 01461F40
dwarven_race_index_loc           == 0123FAC8
main_creature_vector_loc         == 0141EA30
another_creature_vector_loc      == 0141EA40
yet_another_creature_vector_loc  == 0141EA80
whathe_another_creature_vector_loc == 0141EA10
number_of_dwarves_loc            == 00789635
initial_starting_points_loc      == 007887EA
art_defacement_malus_loc         == 007A332F
current_unit_focus_loc           == 00C37540
next_creature_id_loc             == 00C0F9EC
language_vector_loc              == 01462060
starting_skills_limit_loc        == 00785634
starting_skills_increment_loc    == 0078554F
starting_skills_decrement_loc    == 007856F1

creature.happiness_level at 0x508, no change from .33c

The race_data_vec is a vector of s_race structs ptr:

Offset Size Type Name Notes
0x0000 28 string Token value DWARF
0x001C 28 string race name singular dwarf
0x0038 28 string race name plural dwarves
0x0054 28 string (adjective). String used in the "SuperXXXly tough". dwarven
0x16C 28 string (to be confirmed). singular young? for most animals. dwarf race seems different. Undiscovered flag? "kitten" for the CAT
0x188 28 string (to be confirmed). plural young? for most animals. dwarf race seems different. Undiscovered flag? "kittens" for the CAT
0x3D4 28 string (to be confirmed). If exists (length!=0), this is the male name for race. "bull" for the COW race
0x3F0 28 string (to be confirmed). Also related to male specific. Could be adjective or young. "bull" for the COW race
0x40C 28 string (to be confirmed). Also related to male specific. Could be adjective or young. "bull" for the COW race