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
(Fixing links within namespace (1395/2470))
Line 37: Line 37:
 
| <code>0x0000</code>
 
| <code>0x0000</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| Token value
 
| Token value
 
| DWARF
 
| DWARF
Line 44: Line 44:
 
| <code>0x001C</code>
 
| <code>0x001C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| race name singular
 
| race name singular
 
| dwarf
 
| dwarf
Line 51: Line 51:
 
| <code>0x0038</code>
 
| <code>0x0038</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| race name plural
 
| race name plural
 
| dwarves
 
| dwarves
Line 58: Line 58:
 
| <code>0x0054</code>
 
| <code>0x0054</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| (adjective). String used in the "SuperXXXly tough".
 
| (adjective). String used in the "SuperXXXly tough".
 
| dwarven
 
| dwarven
Line 65: Line 65:
 
| <code>0x16C</code>
 
| <code>0x16C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| (to be confirmed). singular young?  for most animals.  dwarf race seems different.  Undiscovered flag?
 
| (to be confirmed). singular young?  for most animals.  dwarf race seems different.  Undiscovered flag?
 
| "kitten" for the CAT
 
| "kitten" for the CAT
Line 72: Line 72:
 
| <code>0x188</code>
 
| <code>0x188</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| (to be confirmed). plural young?  for most animals.  dwarf race seems different. Undiscovered flag?
 
| (to be confirmed). plural young?  for most animals.  dwarf race seems different. Undiscovered flag?
 
| "kittens" for the CAT
 
| "kittens" for the CAT
Line 79: Line 79:
 
| <code>0x3D4</code>
 
| <code>0x3D4</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| (to be confirmed). If exists (length!=0), this is the male name for race.
 
| (to be confirmed). If exists (length!=0), this is the male name for race.
 
| "bull" for the COW race
 
| "bull" for the COW race
Line 86: Line 86:
 
| <code>0x3F0</code>
 
| <code>0x3F0</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| (to be confirmed). Also related to male specific.  Could be adjective or young.
 
| (to be confirmed). Also related to male specific.  Could be adjective or young.
 
| "bull" for the COW race
 
| "bull" for the COW race
Line 93: Line 93:
 
| <code>0x40C</code>
 
| <code>0x40C</code>
 
| 28
 
| 28
| [[Memory hacking#String|string]]
+
| [[Main:Memory hacking#String|string]]
 
| (to be confirmed). Also related to male specific.  Could be adjective or young.
 
| (to be confirmed). Also related to male specific.  Could be adjective or young.
 
| "bull" for the COW race
 
| "bull" for the COW race

Revision as of 15:01, 8 December 2011

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