0x0 ==================================================================== T R A I T S ==================================================================== 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 ==================================================================== M O O D S ==================================================================== ==================================================================== P R O F E S S I O N S ==================================================================== TODO: Parse this and turn it into Profession tags. Cross-reference with Memory-40d.xml 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 90 91 92 93 94 95 96 97 98 88 89 90 ==================================================================== J O B S ==================================================================== TODO: Parse this and turn it into Job tags ==================================================================== S K I L L S ==================================================================== 0 1 2 49 3 4 5 6 7 8 9 10 11 22 23 57 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 24 25 26 67 68 66 65 27 28 29 30 31 32 33 34 35 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 38 39 41 42 43 44 50 52 45 46 47 48 70 36 12 69 37 13 14 16 17 18 53 54 55 56 40 51 21 15 58 19 20 106 59 60 61 62 63 64 ==================================================================== L E V E L S ==================================================================== TODO verify level 16 and up's existence in DF2010 -1 for no cap ==================================================================== L A B O R S ==================================================================== 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 ==================================================================== V -- T A B L E S (for stonesense) ==================================================================== .,: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 851c1190b6a7b42f2463967623d18575 0x4BB45F99 Basic things ============ 0x18 0xC Vector layout in MSVC 9: DWORD Allocator? DWORD ? DWORD ? DWORD Start DWORD End DWORD AllocationEnd 0x1C
0x0165B188
Position and window dimensions ==============================
0xe32798
0xe60838
0xe60814
0xae82cc
0x17f5ab8
Found addresses: (next to each other!) 0x17f5ab8 0x17f5ac0 0x17f5ac8 0x17f5ad0 GUI State =========
0x146e45f
Found addresses: 0x146e45f 0x185b677 Bogus:
0xae82cc
0x017f6f38
Bogus:
0xae82cc
Map stuff =========
0x016AD718
0x08 0x009A 0x029C 0x069c 0x159c 0x179c 0x1D9C 0x0D9c 0x2C local features 0x30 global features Map Features ============ WORLD + 0x54374
0x16AF4FC
0x100 0x34 0x38 WORLD + 0x54440
0x16AF5C8
0x30 0x34 * map size in blocks *
0x016ad738
0x016ad73C
0x016ad740
* map size in tiles *
0x016ad744
0x016ad748
0x016ad74C
* Suspected region coords * WORLD + 0x525C8
0x016ad750
WORLD + 0x525CC
0x016ad754
WORLD + 0x525D0
0x016ad758
* World size * (WORDs)
0x016AEDD4
0x016AEDD6
0x16AF52C
0x16AF574
0x64 0x60 0x4 vector 0x4 vector Name struct =========== 0x0 0x1C 0x38 Creatures =========
0x0166ecc4
0x01470fbc
0x01470fb0
0x0 0x6c 0x88 0x8C 0x90 0xF8 0xFC 0x110 0x114 0X120 0X1F4 0X21C 0x288 0x28C 0x290 0x298 0x29C 0x464 0x390 0x394 the skill that will be increased at the end of the mood (or not) 0x604 seems to be indexes in the list of possible colors defined in the raws for each group 0x6D0 0x770 0x073C 0x0754 0x830 Souls ===== 0x0 0x1F4 0x224 0x88 Job structure ============= 0x0 Incrementaly assigned 0x8 seems to be just like the old occupations 0xa4 Job materials ============= 0x0 like mood materials, 0=bars, 4=stone, 5=wood, 57=cloth, 54=leather ... 0x2 subsubtype ? 0x4 subtype ? 0x8 index of material (for example, 2 is for silver) 0x18 set only for shell / bone mood requirements ? Materials ========= soil, stone, metal inorganics vector = WORLD + 0x54B7C = 0x16AFD04
0x16afd04
wood and plant matter, WORLD + 0x54B94
0x16afd1C
plant matter, WORLD + 0x54BAC
0x16afd34
just wood, WORLD + 0x54BDC
0x16afd64
creature types actually used for creatures, WORLD + 0x54CD0
0x016AFE58
0x138 0x1A14 0xE0 0xF6 Constructions ============= WORLD + 0x108
0x165b290
0x14 Translations ============ WORLD + 0x54E50
0x016AFFD8
WORLD + 0x54E80
0x016B0008
0x4C Vegetation ========== WORLD + 0x15184
0x0167030C
belal: 0x017f6d98 ... what? 0x6C Buildings ========= WORLD + 0x14818
0x0166f9a0
0x164 WORLD + 0x5D610
0x016B8798
0x4 0x20 Effects ======= :( Settlements =========== :( Hotkeys =======
0x01476ecc
0x1C 0x20 0x2C
23dfe141c7ea4e63ebb3c618a12b48ec 0x4BBDF378 94641d97a0ecff6f2194e3d0b310d946 0x4BC3C470 WORLD: 0x0165c1d0 ? Position ========
0x17f6b00
Was 0x17f5ab8 0x17f6b00 0x17f6b08 0x17f6b10 Map ===
0x016AE760
* map size in blocks *
0x016AE780
0x016AE784
0x016AE788
* map size in tiles *
0x016AE78C
0x016AE790
0x016AE794
* Suspected region coords *
0x016AE798
0x016AE79C
0x016AE7A0
* World size * (WORDs)
0x016AFE1C
0x016AFE1E
* geology *
0x16B0574
0x16B05BC
* features * WORLD + 0x54374
0x16B0544
WORLD + 0x54440
0x16B0610
Creatures =========
0x166FD0C
0x01471fbc
0x0 0x6c 0x88 0x8C 0x90 0xF8 0xFC 0x110 0x112 0x114 0X120 0X1F4 0X21C 0x288 0x298 0x29C 0x390 0x394 the skill that will be increased at the end of the mood (or not) 0x464 0x604 0x6D4 0x774 0x0740 0x0758 0x834 Castes ====== 0x70 0x64 0x68 0x51C 0xACC 0x654 Body Parts ========== 0x0 0x1C 0x44 0x78 0x90 Materials ========= soil, stone, metal inorganics vector = WORLD + 0x54B7C = 0x16B0D4C
0x16B0D4C
stuff like glass, coke, ...
0x16BA114
wood and plant matter, WORLD + 0x54B94
0x16B0D64
plant matter, WORLD + 0x54BAC
0x16B0D7C
just wood, WORLD + 0x54BDC
0x16B0DAC
creature types actually used for creatures, WORLD + 0x54CD0
0x16B0EA0
stuff that is used somehow
0x16BA114
Constructions ============= WORLD + 0x108
0x165C2D8
Translations ============ WORLD + 0x54E50
0x016B1020
WORLD + 0x54E80
0x16B1050
Vegetation ========== WORLD + 0x15184
0x1671354
Buildings ========= WORLD + 0x14818
0x16709E8
WORLD + 0x5D610
0x16B97E0
0x4 0x20 Descriptor colors =================
0x16B9780
0x0 0x4C
0x16B9768
this includes RVB 0x6C floats ! 0x70 0x74
0x16B9798
A list of all colors, including eyes and stuff Items =====
0x166FE00
List of offsets in the VTable : 0x0 0x4 0x8 0xC 0x238 0xA0 0x4 0x8 0x14 0x14 (in the vtable) Time ====
0x0e47e08
0x0e79f00
655a895c5b90d15eb9bb71e28c6c62e5 0x4bf014fa
0x167870C
0x1471FBC
0x1471FB0
0x16BD0B0
0x16C6478
0x16BD0C8
0x16bd0e0
0x16bd110
0x16BD204
0x16C6478
0x16BD384
0x16BD3B4
0x16C5ACC
0x16C5AE4
0x16C5AFC
0xE78780
0xEAA878
0x016BAAC4
0x016BAAE4
0x016BAAE8
0x016BAAEC
0x016BAAF0
0x016BAAF4
0x016BAAF8
0x016BAAFC
0x016BAB00
0x016BAB04
0x16BC180
0x16BC182
0x16BC8D8
0x16BC920
0x16BC8A8
0x16BC974
0x1664CD8
0x1679D54
0x16793e8
0x1678800
0x18030fc
0x17f6b00
0xe640dc
0xe32798 01
0xe921b0
0xe60838 01
0xe9218c
0xe60814 01
0xae92c8
0xae82cc 01 0x0 Why do i have to redefine this ???
394ff63fc00fedd5df0b36e4beb589bc 0x4c091569
0x014abee4
CHMOD
0x1471FB0
BOGUS!
0x180b10c
LOOKS O.K.
0xe6c0dc
VERIFIED
0xe9a1b0
VERIFIED
0xe9a18c
VERIFIED
0xaf12cc
VERIFIED
0xE80780
LOOKS O.K.
0xEB2878
LOOKS O.K. 0x0 Why do i have to redefine this ??? ... what?
c4b7e37dafa2716e31d29110968ac64e 0x4c0f83d5
0xaf12d0
1c0b5254af1b8ff9a34b51c3f6609da3 0x4c1cbe4b
0xaf32d8
0xaf12d0
0x180d11c
0x180b10c
0xe6e0ec
0xe9c1c0
0xe9c19c
map size X: 0x16c4b10 map size Y: 0x16c4b14
.-"""-. ' \ |,. ,-. | _________________________ |()L( ()| | \ \ |,' `".| | /_ Argh !!! \ |.___.',| ` \________________________\ .j `--"' ` `. / ' ' \ / / ` `. / / ` . / / l | . , L I N U X | | ,"`. .| | _.' ``. | `..-'l | `.`, | `. | `. __.j ) |__ |--""___| ,-' `"--...,+"""" `._,.-' Basic things ============ 0xC VERIFIED 0x0 VERIFIED 0x4 VERIFIED MAP BLOCK OFFSETS ================= 0x08 VERIFIED 0x20 VERIFIED 0x24 VERIFIED 0x006A VERIFIED 0x026C VERIFIED 0x066c VERIFIED 0x156c VERIFIED 0x176c VERIFIED 0x1D6C VERIFIED 0x0D6c VERIFIED MAP FEATURE OFFSETS =================== 0x94 VERIFIED 0x28 VERIFIED 0x2C VERIFIED 0x24 VERIFIED 0x28 VERIFIED values for the region structure =============================== 0x58 VERIFIED 0x54 VERIFIED geoblock offsets ================ 0x4 VERIFIED 0x4 VERIFIED Name struct =========== 0x0 VERIFIED 0x4 VERIFIED 0x8 VERIFIED Creature offsets ================ 0x0 0x6c 0x3c * 0x44 * 0x90 0x8C * 0x90 * 0x110 0xA6 * 0x114 0XB4 * 0X1F4 0X21C 0x18C * 0x19C * 0x1A0 * 0x464 0x390 from chmod 0x394 the skill that will be increased at the end of the mood (or not) 0x604 0x6D4 0x774 0x0740 0x0758 0x834 Souls ===== 0x0 0x1F4 0x224 0x88 Castes ====== 0x70 0x64 0x68 0x51C 0xACC 0x654 Body Parts ========== 0x0 0x1C 0x44 0x78 0x90 Job structure ============= 0x0 Incrementaly assigned 0x8 seems to be just like the old occupations 0xa4 Job materials ============= 0x0 like mood materials, 0=bars, 4=stone, 5=wood, 57=cloth, 54=leather ... 0x2 subsubtype ? 0x4 subtype ? 0x8 index of material (for example, 2 is for silver) 0x18 set only for shell / bone mood requirements ? Creature type offsets ===================== 0x60 VERIFIED 0x1A14 0xE0 0xF6 Color descriptors ================= 0x0 VERIFIED 0x1C VERIFIED 0x24 VERIFIED 0x28 VERIFIED 0x2C VERIFIED Language tables =============== 0x1C VERIFIED Constructions ============= 0x14 1d759a11af258263ef5c139d6d9a3e15
0x92D00C0
Position and window dimensions ==============================
0x8cd3b18
0x8cd3b1c
0x8cd3b20
0x8b17370
0x9464d6c
GUI State =========
0x92c971c
Map data =========
0x9322d20
WORLD + 0x52C60 Map Features ============ WORLD + 0x5487C
0x932493C
WORLD + 0x548F4
0x93249B4
* map size in blocks *
0x9322d34
0x9322d38
0x9322d3C
* map size in tiles *
0x9322d40
0x9322d44
0x9322d48
* region coords * WORLD + 0x525C8
0x9322d4C
WORLD + 0x525CC
0x9322d50
WORLD + 0x525D0
0x9322d54
* World size * (WORDs) WORLD + 0x542E0
0x93243A0
WORLD + 0x542E2
0x93243A2
WORLD + 0x54894
0x9324954
WORLD + 0x548B8
0x9324978
Creatures =========
0x092E3AA0
0x092CB608
0x092CB5FC
Materials ========= soil, stone, metal inorganics vector
0x9324e68
0x16afd04 wood and plant matter
0x9324E74
plant matter
0x9324E80
just wood
0x9324E98
creature types actually used for creatures,
0x09324F14
Color descriptors =================
0x9329378
VERIFIED
0x9329390
VERIFIED Translations ============ WORLD + 0x54E50
0x9324fd4
WORLD + 0x54E80
0x9324fec
Constructions ============= WORLD + 0x84
0x92D0144
0x165b290 Time ====
0x92C9680
0x92C9688
fea3801a26538b1741f3cc9294139fca
0x92C60E0
MOST PROBABLY BOGUS! Position and window dimensions ==============================
0x8cc9b38
VERIFIED
0x8cc9b3c
VERIFIED
0x8cc9b40
VERIFIED
0x8b0d36c
VERIFIED
0x945ad8c
VERIFIED GUI State =========
0x92bf73c
VERIFIED Map data ======== WORLD + 0x52C60?
0x9318D40
VERIFIED Map Features ============ WORLD + 0x5487C?
0x931A95C
VERIFIED WORLD + 0x548F4?
0x931A9D4
VERIFIED * map size in blocks *
0x9318D54
VERIFIED
0x9318D58
VERIFIED
0x9318D5C
VERIFIED * map size in tiles *
0x9318D60
VERIFIED
0x9318D64
VERIFIED
0x9318D68
VERIFIED * region coords * WORLD + 0x525C8
0x9318D6C
VERIFIED WORLD + 0x525CC
0x9318D70
VERIFIED WORLD + 0x525D0
0x9318D74
VERIFIED (old = 0x9322d54) * World size * (WORDs) WORLD + 0x542E0
0x931A3C0
VERIFIED WORLD + 0x542E2
0x931A3C2
VERIFIED WORLD + 0x54894
0x931A974
VERIFIED WORLD + 0x548B8
0x931A998
VERIFIED Materials ========= soil, stone, metal inorganics vector
0x931ae88
VERIFIED wood and plant matter
0x931ae94
VERIFIED plant matter
0x931aea0
VERIFIED just wood
0x931aeb8
VERIFIED creature types actually used for creatures,
0x931af34
VERIFIED Color descriptors =================
0x931f398
VERIFIED
0x931f3b0
VERIFIED Translations ============ WORLD + 0x54E50
0x931aff4
WORLD + 0x54E80
0x931b00c
Creatures =========
0x92D9AC0
0x92C1628
0x092CB608
0x92C161C
0x092CB5FC Time ====
0x92BF6A0
0x92BF6A8
YEAR 0x92BF6A0, WORLD - 0x6A40 TICKS 0x92BF6A8, WORLD - 0x6A40 + 0x08
13a1c19e8f59b74e307e094e2a0f28c3
0x8b0b328
VERIFIED WORLD = 0x92C4000 Creatures ========= WORLD + 0x139E0 0x92d79d4 0x92d79e0 = real one? seems like it 0x92d7a10