dfhack/output/Memory.xml

331 lines
14 KiB
XML

<?xml version="1.0"?>
<!-- USE A FIXED WIDTH FONT! -->
<DFExtractor>
<MemoryDescriptors>
<Entry version="meta-2010" os="all" id="meta-2010">
<Offset name="keep_me_happy">0x0</Offset>
<!--
<Profession can_assign_labors="true" is_military="false" name="Miner">0</Profession>
<Job name="Carve Fortification">0</Job>
<Skill name="Miner">0</Skill>
<Trait name="Nervousness" level_5="Is a nervous wreck" level_4="Is always tense and jittery" level_3="Is often nervous" level_2="Has a calm demeanor" level_1="Has a very calm demeanor" level_0="Has an incredibly calm demeanor">0</Trait>
-->
====================================================================
L A B O R S
====================================================================
<Labor name="Mining">0</Labor>
<Labor name="Stone Hauling">1</Labor>
<Labor name="Wood Hauling">2</Labor>
<Labor name="Burial">3</Labor>
<Labor name="Food Hauling">4</Labor>
<Labor name="Refuse Hauling">5</Labor>
<Labor name="Item Hauling">6</Labor>
<Labor name="Furniture Hauling">7</Labor>
<Labor name="Animal Hauling">8</Labor>
<Labor name="Cleaning">9</Labor>
<Labor name="Wood Cutting">10</Labor>
<Labor name="Carpentry">11</Labor>
<Labor name="Stone Detailing">12</Labor>
<Labor name="Masonry">13</Labor>
<Labor name="Architecture">14</Labor>
<Labor name="Animal Training">15</Labor>
<Labor name="Animal Care">16</Labor>
<Labor name="Diagnosis">17</Labor>
<Labor name="Surgery">18</Labor>
<Labor name="Setting Bones">19</Labor>
<Labor name="Suturing">20</Labor>
<Labor name="Dressing Wounds">21</Labor>
<Labor name="Feed Patients/Prisoners">22</Labor>
<Labor name="Recovering Wounded">23</Labor>
<Labor name="Butchery">24</Labor>
<Labor name="Trapping">25</Labor>
<Labor name="Small Animal Dissection">26</Labor>
<Labor name="Leatherworking">27</Labor>
<Labor name="Tanning">28</Labor>
<Labor name="Brewing">29</Labor>
<Labor name="Alchemy">30</Labor>
<Labor name="Soap Maker">31</Labor>
<Labor name="Weaving">32</Labor>
<Labor name="Clothesmaking">33</Labor>
<Labor name="Milling">34</Labor>
<Labor name="Plant Processing">35</Labor>
<Labor name="Cheese Making">36</Labor>
<Labor name="Milking">37</Labor>
<Labor name="Cooking">38</Labor>
<Labor name="Farming (Fields)">39</Labor>
<Labor name="Plant Gathering">40</Labor>
<Labor name="Fishing">41</Labor>
<Labor name="Fish Cleaning">42</Labor>
<Labor name="Fish Dissection">43</Labor>
<Labor name="Hunting">44</Labor>
<Labor name="Furnace Operating">45</Labor>
<Labor name="Weaponsmithing">46</Labor>
<Labor name="Armoring">47</Labor>
<Labor name="Blacksmithing">48</Labor>
<Labor name="Metalcrafting">49</Labor>
<Labor name="Gem Cutting">50</Labor>
<Labor name="Gem Setting">51</Labor>
<Labor name="Woodcrafting">52</Labor>
<Labor name="Stonecrafting">53</Labor>
<Labor name="Bone Carving">54</Labor>
<Labor name="Glassmaking">55</Labor>
<Labor name="Strand Extraction">56</Labor>
<Labor name="Siege Engineering">57</Labor>
<Labor name="Siege Operating">58</Labor>
<Labor name="Crossbow-making">59</Labor>
<Labor name="Mechanics">60</Labor>
<Labor name="Potash Making">61</Labor>
<Labor name="Lye Making">62</Labor>
<Labor name="Dyeing">63</Labor>
<Labor name="Wood Burning">64</Labor>
<Labor name="Pump Operating">65</Labor>
* Labor groups *
<Labor name="Woodworking">4294967294</Labor>
<Labor name="Stoneworking">4294967293</Labor>
<Labor name="Hunting/Related">4294967292</Labor>
<Labor name="Healthcare">4294967291</Labor>
<Labor name="Farming/Related">4294967290</Labor>
<Labor name="Fishing/Related">4294967289</Labor>
<Labor name="Metalsmithing">4294967288</Labor>
<Labor name="Jewelry">4294967287</Labor>
<Labor name="Crafts">4294967286</Labor>
<Labor name="Engineering">4294967285</Labor>
<Labor name="Hauling">4294967284</Labor>
<Labor name="Other Jobs">4294967283</Labor>
====================================================================
V -- T A B L E S
(for stonesense)
====================================================================
<VTable name="building_vtable">
<multiclass name="building_workshop" typeoffset="0xC8">
<class name="building_alchemists_laboratory" type="0x0"/>
</multiclass>
<class name="building_construction"/>
</VTable>
</Entry>
.,:rsr,
:2;,;r2A@@5
@2::s5A#@@@ @r. .
sd;:riXA#@@ :@@@Gir;;AS9
Bs::sS3A#@2 @@#AhXirsS#;
iHrLr5d#@@@ .@#95sr;;rie
i*' `*@3 @@A2sr;:;r#5
:..:rll: @@A5sr::r3@
@Hr;iZ#@@@@ `:rr;;;;:
S@r.;i2#@@@ @s. ..
@2::ri2A@@# B@G2ir:...5i
:@r,r3X##@@ @G5sr:..,:A
.@Ar;;rSB@@# H#2sr;,..,is
.' `* ,@ASs;:..,:B
;rr;:,..,:.
`'''
W I N D O W S
and
W I N E
<Entry version="v0.31.01" os="windows" id="0.31.01" base="meta-2010">
<String name="md5">851c1190b6a7b42f2463967623d18575</String>
<HexValue name="pe_timestamp">0x4BB45F99</HexValue>
Basic things
============
<HexValue name="sizeof_vector">0x18</HexValue>
<Offset name="vector_triplet">0xC</Offset>
Vector layout in MSVC 9:
DWORD Allocator
DWORD ?
DWORD ?
DWORD Start
DWORD End
DWORD AllocationEnd
<HexValue name="sizeof_string">0x1C</HexValue>
Position and window dimensions
==============================
<Address name="window_x">0xe32798</Address>
<Address name="window_y">0xe60838</Address>
<Address name="window_z">0xe60814</Address>
<Address name="cursor_xyz">0xae82cc</Address>
<Address name="window_dims">0x17f5ab8</Address>
Found addresses: (next to each other!)
0x17f5ab8
0x17f5ac0
0x17f5ac8
0x17f5ad0
<Address name="pause_state">0x146e45f</Address>
Found addresses:
0x146e45f <!-- looks like a dword -->
0x185b677 <!-- looks like a word -->
Bogus: <Address name="current_cursor_creature">0xae82cc</Address>
<Address name="current_menu_state">0x017f6f38</Address>
Bogus: <Address name="view_screen">0xae82cc</Address>
Map stuff
=========
<Address name="map_data">0x016AD718</Address>
<Offset name="v_vein">0x10</Offset>
<Offset name="type">0x0092</Offset>
<Offset name="designation">0x029C</Offset>
<!--
No idea if those are still relevant. I'll assume NO
<Offset name="occupancy">0x0684</Offset>
<Offset name="biome_stuffs">0x1D84</Offset>
-->
* map size in blocks *
<Address name="x_count_block">0x016ad738</Address>
<Address name="y_count_block">0x016ad73C</Address>
<Address name="z_count_block">0x016ad740</Address>
* map size in tiles *
<Address name="x_count">0x016ad744</Address>
<Address name="y_count">0x016ad748</Address>
<Address name="z_count">0x016ad74C</Address>
* Suspected region coords *
<Address name="region_x">0x016ad750</Address>
<Address name="region_y">0x016ad754</Address>
<Address name="region_z">0x016ad758</Address>
name struct
===========
<Offset name="name_firstname">0x0</Offset>
<Offset name="name_nickname">0x1C</Offset>
<Offset name="name_words">0x38</Offset>
Creatures
=========
<Address name="creature_vector">0x0166eccc</Address>
<Offset name="creature_name">0x0</Offset>
<Offset name="creature_position">0x90</Offset>
<Offset name="creature_flags1">0xF8</Offset>
<Offset name="creature_flags2">0xFC</Offset>
<Offset name="creature_sex">0x110</Offset>
<Offset name="creature_id">0x114</Offset>
<Offset name="creature_artifact_name">0x6D0</Offset>
<Offset name="creature_labors">0x770</Offset>
Materials
=========
<!-- Number vectors are vector <uint32_t> -->
<!-- Others are vector<object *> -->
<Address name="mat_system_start">0x16afcec</Address>
<Address name="mat_templates">0x16afcec</Address>
<Address name="mat_inorganics">0x16afd04</Address>
<Address name="mat_organics_all">0x16afd1C</Address>
<Address name="mat_organics_plants">0x16afd34</Address>
<Address name="mat_unk1_numbers">0x16afd4C</Address> <!-- maybe maps beween organics_all and organics_plants -->
<Address name="mat_organics_trees">0x16afd64</Address>
<Address name="mat_unk2_numbers">0x16afd7C</Address> <!-- maybe maps beween organics_all and organics_trees -->
<Address name="mat_body_material_templates">0x16AFD94</Address>
<Address name="mat_body_detail_plans">0x16AFDAC</Address>
<Address name="mat_bodies">0x16AFDC4</Address>
<Address name="mat_bodygloss">0x16AFDDC</Address>
<Address name="mat_creature_variations">0x16AFDF4</Address>
<Address name="mat_creature_types">0x16AFE0C</Address>
<!--
addresses from belal: vectors might need 8 subtracted from them
buildings 0x0166f9a8
constructions 0xffffffff
creatures 0x0166eccc
current_cursor_creature 0x00ae82cc
current_menu_state 0x017f6f38
cursor_xyz 0x0166ecd4
effects_vector 0x017f6da0
hotkey_start 0x01476ecc
items 0x0166eda8
language_vector 0x016affe0
map_data 0x016ad718
matgloss 0xffffffff
notes 0x01474de8
pause_state 0x0146e45f
region_x 0x016ad750
region_y 0x016ad754
region_z 0x016ad758
settlement_current 0xffffffff
settlements 0x016af4a4
translation_vector 0x016b0010
vegetation 0x017f6da0
view_screen 0xffffffff
window_dims 0x017f5abc
window_x 0x00e32798
window_y 0x00e60838
window_z 0x00e60814
world 0x016aed50
x_count 0x016ad738
y_count 0x016ad73c
z_count 0x016ad740
-->
<!--
<Address name="buildings">0x09008880</Address>
<Address name="constructions">0x08ff4a58</Address>
<Address name="creatures">0x0900839C</Address>
<Address name="current_cursor_creature">0x08fe3908</Address>
<Address name="current_menu_state">0x08ff4900</Address>
<Address name="cursor_xyz">0x08832328</Address>
<Address name="effects_vector">0x089ed3f8</Address>
<Address name="hotkey_start">0x08ff47ac</Address>
<Address name="items">0x0900840c</Address>
<Address name="language_vector">0x0904accc</Address>
<Address name="map_data">0x09048cfc</Address>
<Address name="matgloss">0x0904abc4</Address>
<Address name="notes">0x08ff4784</Address>
<Address name="pause_state">0xc60008fe</Address>
<Address name="region_x">0x09048d28</Address>
<Address name="region_y">0x09048d2c</Address>
<Address name="region_z">0x09048d30</Address>
<Address name="settlement_current">0x0904a908</Address>
<Address name="settlements">0x0904a89c</Address>
<Address name="translation_vector">0x0904ace4</Address>
<Address name="vegetation">0x0900b9d0</Address>
<Address name="view_screen">0x08832a60</Address>
<Address name="window_dims">0x091995fc</Address>
<Address name="window_x">0x089edd14</Address>
<Address name="window_y">0x089edd18</Address>
<Address name="window_z">0x089edd1c</Address>
<Address name="world">0x0904a328</Address>
<Address name="x_count">0x09048d10</Address>
<Address name="y_count">0x09048d14</Address>
<Address name="z_count">0x09048d18</Address>
-->
</Entry>
.-"""-.
' \
|,. ,-. | _________________________
|()L( ()| | \ \
|,' `".| | /_ Nothing here yet :( \
|.___.',| ` \________________________\
.j `--"' ` `.
/ ' ' \
/ / ` `.
/ / ` .
/ / l |
. , L I N U X | |
,"`. .| |
_.' ``. | `..-'l
| `.`, | `.
| `. __.j )
|__ |--""___| ,-'
`"--...,+"""" `._,.-'
<!-- Windows logo by Microsoft -->
</MemoryDescriptors>
</DFExtractor>