- 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.
Difference between revisions of "User:AzureLightning/Memory research"
m (sort key for hacking category) |
|||
(16 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | '''Any and all offsets and memory addresses are only valid for v0.27.169.33a.''' | ||
+ | |||
+ | ==Links== | ||
+ | [[Memory hacking|Main memory hacking research]]<br /> | ||
+ | [[User:Rick/Memory research|Rick's memory research]]<br /> | ||
+ | [[User:Iluxan/Memory research|Iluxan's memory research]]<br /> | ||
+ | <br /> | ||
+ | |||
==Addresses== | ==Addresses== | ||
{| border="1" cellpadding="2" width="100%" | {| border="1" cellpadding="2" width="100%" | ||
Line 6: | Line 14: | ||
! width="20%" | Name | ! width="20%" | Name | ||
! width="65%" | Description | ! width="65%" | Description | ||
+ | |||
+ | |- | ||
+ | | 008F5288 | ||
+ | | 4 | ||
+ | | long | ||
+ | | Cursor X Coordinate | ||
+ | | Number of cells '''EAST''' from the west side. Value is '''-30000''' when cursor is not in use. | ||
+ | |||
+ | |- | ||
+ | | 008F528C | ||
+ | | 4 | ||
+ | | long | ||
+ | | Cursor Y Coordinate | ||
+ | | Number of cells '''SOUTH''' from the north side. | ||
+ | |||
+ | |- | ||
+ | | 008F5290 | ||
+ | | 4 | ||
+ | | long | ||
+ | | Cursor Z Coordinate | ||
+ | | Number of levels '''UP''' from the bottom level | ||
|- | |- | ||
Line 12: | Line 41: | ||
| long | | long | ||
| Creature Focus | | Creature Focus | ||
− | | Indexes the full creature list | + | | Indexes into the full creature list |
+ | |||
+ | |- | ||
+ | | 01237AD0 | ||
+ | | 4 | ||
+ | | long | ||
+ | | Dwarven Race ID | ||
+ | | Used to identify dwarves ''(Or it could just be the "controlling" civilization you are playing as.)'' | ||
|- | |- | ||
Line 26: | Line 62: | ||
| pointer | | pointer | ||
| Map data | | Map data | ||
− | | Points to a list of addresses measuring '''Block Count X''' long. | + | | Points to a list of addresses measuring '''Block Count X''' long. |
+ | Those each reference a list of addresses measuring '''Block Count Y''' long. | ||
+ | Each of those reference a list of addresses '''Block Count Z''' long. | ||
+ | And finally, each of those addresses references a [[#Map Block|map block]]. | ||
|- | |- | ||
Line 50: | Line 89: | ||
|- | |- | ||
− | | ''0145858C'' | + | | '''0145858C''' |
| 4 | | 4 | ||
| long | | long | ||
| Cell Count X | | Cell Count X | ||
− | | Number of cells in the X direction (Should be Block Count X * 16) | + | | Number of cells in the X direction (Should be '''Block Count X''' * 16) |
|- | |- | ||
− | | ''01458590'' | + | | '''01458590''' |
| 4 | | 4 | ||
| long | | long | ||
| Cell Count Y | | Cell Count Y | ||
− | | Number of cells in the X direction (Should be Block Count | + | | Number of cells in the X direction (Should be '''Block Count Y''' * 16) |
|- | |- | ||
− | | ''01458594'' | + | | '''01458594''' |
| 4 | | 4 | ||
| long | | long | ||
| Cell Count Z | | Cell Count Z | ||
− | | Number of Z levels (Should equal the Block Count Z) | + | | Number of Z levels (Should equal the '''Block Count Z''') |
|} | |} | ||
− | ''Note: | + | '''Note: Bold addresses need to be verified. I may have remembered them wrong''' |
==Map Block== | ==Map Block== | ||
Line 93: | Line 132: | ||
| 4:4 | | 4:4 | ||
| vector | | vector | ||
− | | [[# | + | | [[#Veins|Vein]] vector |
| | | | ||
Line 112: | Line 151: | ||
! width="10%" | Bit | ! width="10%" | Bit | ||
! width="90%" | Description | ! width="90%" | Description | ||
+ | |||
+ | |- | ||
+ | | 0-2 | ||
+ | | Flow Size (0-7) | ||
|- | |- | ||
Line 209: | Line 252: | ||
===Veins=== | ===Veins=== | ||
+ | Veins designate a chunk of some material, be it stone, ore or gems, that can be dug up by miners. Using a bit-mask scheme, a vein can be placed anywhere in a 16x16 map block. All it takes for a vein to exist at a given column on a given row is for the corresponding bit in the bit-mask to be 1 for the given row. I've yet to do full-on editing of these veins other than making existing tiles toggle off as well as changing the vein type. Adding to the vein doesn't seem possible yet. There is likely a stacking priority with the different grouping of rock elements. | ||
+ | <br /><br /> | ||
+ | [[Image:Veinbitmask.png]] | ||
+ | <br />View of the bit mask scheme | ||
+ | <br /><br /> | ||
{| border="1" cellpadding="2" width="100%" | {| border="1" cellpadding="2" width="100%" | ||
! width="5%" | Offset | ! width="5%" | Offset | ||
Line 237: | Line 285: | ||
|} | |} | ||
− | |||
− | |||
− | |||
==Skills== | ==Skills== | ||
Line 254: | Line 299: | ||
| 2 | | 2 | ||
| short | | short | ||
− | | Skill | + | | Type |
− | | | + | | See [[#Skill Types|table]] below. |
|- | |- | ||
Line 268: | Line 313: | ||
| 2 | | 2 | ||
| short | | short | ||
− | | | + | | Rating |
− | | Range: 0(Dabbling)-15(Legendary) | + | | Range: 0(Dabbling)-15(Legendary) See [[#Skill Ratings|table]] below. |
+ | |||
+ | |} | ||
+ | |||
+ | |||
+ | ===Skill Types=== | ||
+ | ''Colors can do with some work, as they are supposed to indicate groupings of skills.'' | ||
+ | |||
+ | {| border="1" cellpadding="2" width="30%" | ||
+ | ! width="15%" | Index | ||
+ | ! width="85%" | Name | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 0 | ||
+ | | bgcolor="#FFD8C0" | Mining | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 1 | ||
+ | | bgcolor="#FFD8C0" | Wood Cutter | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 2 | ||
+ | | bgcolor="#FFD8C0" | Carpentry | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 3 | ||
+ | | bgcolor="#FFD8C0" | Engraver | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 4 | ||
+ | | bgcolor="#FFD8C0" | Masonry | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0FFFF" | 5 | ||
+ | | bgcolor="#C0FFFF" | Animal Training | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0FFFF" | 6 | ||
+ | | bgcolor="#C0FFFF" | Animal Caretaking | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C08080" | 7 | ||
+ | | bgcolor="#C08080" | Fish Dissecting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C08080" | 8 | ||
+ | | bgcolor="#C08080" | Animal Dissecting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C08080" | 9 | ||
+ | | bgcolor="#C08080" | Fish Cleaning | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C08080" | 10 | ||
+ | | bgcolor="#C08080" | Butchery | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C08080" | 11 | ||
+ | | bgcolor="#C08080" | Trapping | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0E0E0" | 12 | ||
+ | | bgcolor="#E0E0E0" | Tanning | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 13 | ||
+ | | bgcolor="#FFFFC0" | Weaving | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0C0FF" | 14 | ||
+ | | bgcolor="#C0C0FF" | Brewing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#80C080" | 15 | ||
+ | | bgcolor="#80C080" | Alchemist | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0E0E0" | 16 | ||
+ | | bgcolor="#E0E0E0" | Clothery | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0C0FF" | 17 | ||
+ | | bgcolor="#C0C0FF" | Milling | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0C0FF" | 18 | ||
+ | | bgcolor="#C0C0FF" | Threshing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 19 | ||
+ | | bgcolor="#FFFFC0" | Cheese Making | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0C0FF" | 20 | ||
+ | | bgcolor="#C0C0FF" | Milking | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0C0FF" | 21 | ||
+ | | bgcolor="#C0C0FF" | Cooking | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#80C080" | 22 | ||
+ | | bgcolor="#80C080" | Growing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#80C080" | 23 | ||
+ | | bgcolor="#80C080" | Herbalism | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C08080" | 24 | ||
+ | | bgcolor="#C08080" | Fishing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0E0E0" | 25 | ||
+ | | bgcolor="#E0E0E0" | Furnace Operating | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0C0FF" | 26 | ||
+ | | bgcolor="#C0C0FF" | Strand Extraction | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 27 | ||
+ | | bgcolor="#FFFFC0" | Weaponsmithing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 28 | ||
+ | | bgcolor="#FFFFC0" | Armorsmithing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 29 | ||
+ | | bgcolor="#FFFFC0" | Metalsmithing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 30 | ||
+ | | bgcolor="#FFFFC0" | Gem Cutting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 31 | ||
+ | | bgcolor="#FFFFC0" | Gem Setting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 32 | ||
+ | | bgcolor="#FFFFC0" | Wood Crafting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 33 | ||
+ | | bgcolor="#FFFFC0" | Stone Crafting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 34 | ||
+ | | bgcolor="#FFFFC0" | Metal Crafting | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 35 | ||
+ | | bgcolor="#FFFFC0" | Glass Making | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 36 | ||
+ | | bgcolor="#FFFFC0" | Leatherworking | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 37 | ||
+ | | bgcolor="#FFFFC0" | Bone Carving | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 38 | ||
+ | | bgcolor="#C0A0A0" | Wrestling | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 39 | ||
+ | | bgcolor="#C0A0A0" | Axe User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 40 | ||
+ | | bgcolor="#C0A0A0" | Sword User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 41 | ||
+ | | bgcolor="#C0A0A0" | Knife User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 42 | ||
+ | | bgcolor="#C0A0A0" | Mace User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 43 | ||
+ | | bgcolor="#C0A0A0" | Hammer User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 44 | ||
+ | | bgcolor="#C0A0A0" | Spear User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 45 | ||
+ | | bgcolor="#C0A0A0" | Marks User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 46 | ||
+ | | bgcolor="#C0A0A0" | Shield User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 47 | ||
+ | | bgcolor="#C0A0A0" | Armor User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 48 | ||
+ | | bgcolor="#FFD8C0" | Seige Engineering | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0E0E0" | 49 | ||
+ | | bgcolor="#E0E0E0" | Seige Operating | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 50 | ||
+ | | bgcolor="#FFFFC0" | Bowyering | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 51 | ||
+ | | bgcolor="#C0A0A0" | Pike User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 52 | ||
+ | | bgcolor="#C0A0A0" | Lasher | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 53 | ||
+ | | bgcolor="#C0A0A0" | Bow User | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 54 | ||
+ | | bgcolor="#C0A0A0" | Blowgunner | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 55 | ||
+ | | bgcolor="#C0A0A0" | Thrower | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 56 | ||
+ | | bgcolor="#FFD8C0" | Mechanics | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#80C080" | 57 | ||
+ | | bgcolor="#80C080" | Druid | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0A0" | 58 | ||
+ | | bgcolor="#C0A0A0" | Ambusher | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFD8C0" | 59 | ||
+ | | bgcolor="#FFD8C0" | Architecture | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0E0E0" | 60 | ||
+ | | bgcolor="#E0E0E0" | Wood Burning | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 61 | ||
+ | | bgcolor="#FFFFC0" | Lye Making | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 62 | ||
+ | | bgcolor="#FFFFC0" | Soaping | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 63 | ||
+ | | bgcolor="#FFFFC0" | Potash Making | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FFFFC0" | 64 | ||
+ | | bgcolor="#FFFFC0" | Dying | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0E0E0" | 65 | ||
+ | | bgcolor="#E0E0E0" | Pump Operating | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#A0A0A0" | 66 | ||
+ | | bgcolor="#A0A0A0" | Swimming | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 67 | ||
+ | | bgcolor="#C0A0C0" | Persuading | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 68 | ||
+ | | bgcolor="#C0A0C0" | Negociating | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 69 | ||
+ | | bgcolor="#C0A0C0" | Judging of Intent | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 70 | ||
+ | | bgcolor="#C0A0C0" | Appraising | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 71 | ||
+ | | bgcolor="#C0A0C0" | Organizing | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 72 | ||
+ | | bgcolor="#C0A0C0" | Record Keeping | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 73 | ||
+ | | bgcolor="#C0A0C0" | Lying | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 74 | ||
+ | | bgcolor="#C0A0C0" | Intimidating | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 75 | ||
+ | | bgcolor="#C0A0C0" | Conversationalism | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 76 | ||
+ | | bgcolor="#C0A0C0" | Comedy | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 77 | ||
+ | | bgcolor="#C0A0C0" | Flattery | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 78 | ||
+ | | bgcolor="#C0A0C0" | Consoling | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0A0C0" | 79 | ||
+ | | bgcolor="#C0A0C0" | Pacifying | ||
+ | |||
+ | |} | ||
+ | |||
+ | ===Skill Ratings=== | ||
+ | {| border="1" cellpadding="2" width="30%" | ||
+ | ! width="15%" | Rank | ||
+ | ! width="85%" | Name Prefix | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C0FFC0" | 0 | ||
+ | | bgcolor="#C0FFC0" | Dabbling | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C4FFC4" | 1 | ||
+ | | bgcolor="#C4FFC4" | Novice | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#C8FFC8" | 2 | ||
+ | | bgcolor="#C8FFC8" | ''no-prefix'' | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#CCFFCC" | 3 | ||
+ | | bgcolor="#CCFFCC" | Competent | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#D0FFD0" | 4 | ||
+ | | bgcolor="#D0FFD0" | Skilled | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#D4FFD4" | 5 | ||
+ | | bgcolor="#D4FFD4" | Proficient | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#D8FFD8" | 6 | ||
+ | | bgcolor="#D8FFD8" | Talented | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#DCFFDC" | 7 | ||
+ | | bgcolor="#DCFFDC" | Adept | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E0FFE0" | 8 | ||
+ | | bgcolor="#E0FFE0" | Expert | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E4FFE4" | 9 | ||
+ | | bgcolor="#E4FFE4" | Professional | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#E8FFE8" | 10 | ||
+ | | bgcolor="#E8FFE8" | Accomplished | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#ECFFEC" | 11 | ||
+ | | bgcolor="#ECFFEC" | Great | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#F0FFF0" | 12 | ||
+ | | bgcolor="#F0FFF0" | Master | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#F4FFF4" | 13 | ||
+ | | bgcolor="#F4FFF4" | High Master | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#F8FFF8" | 14 | ||
+ | | bgcolor="#F8FFF8" | Grand Master | ||
+ | |||
+ | |- | ||
+ | | bgcolor="#FCFFFC" | 15 | ||
+ | | bgcolor="#FCFFFC" | Legendary | ||
|} | |} | ||
+ | [[Category:Hacking|Memory research]] |
Latest revision as of 19:43, 8 November 2009
Any and all offsets and memory addresses are only valid for v0.27.169.33a.
Links[edit]
Main memory hacking research
Rick's memory research
Iluxan's memory research
Addresses[edit]
Address | Size | Type | Name | Description |
---|---|---|---|---|
008F5288 | 4 | long | Cursor X Coordinate | Number of cells EAST from the west side. Value is -30000 when cursor is not in use. |
008F528C | 4 | long | Cursor Y Coordinate | Number of cells SOUTH from the north side. |
008F5290 | 4 | long | Cursor Z Coordinate | Number of levels UP from the bottom level |
00C2F548 | 4 | long | Creature Focus | Indexes into the full creature list |
01237AD0 | 4 | long | Dwarven Race ID | Used to identify dwarves (Or it could just be the "controlling" civilization you are playing as.) |
01416A3C | 4:4 | vector | Full Creature list | List of of all creatures. There are other vectors based upon various factors |
01458568 | 4 | pointer | Map data | Points to a list of addresses measuring Block Count X long.
Those each reference a list of addresses measuring Block Count Y long. Each of those reference a list of addresses Block Count Z long. And finally, each of those addresses references a map block. |
01458580 | 4 | long | Block Count X | Number of 16x16 blocks in the X direction |
01458584 | 4 | long | Block Count Y | Number of 16x16 blocks in the Y direction |
01458588 | 4 | long | Block Count Z | Number of Z levels |
0145858C | 4 | long | Cell Count X | Number of cells in the X direction (Should be Block Count X * 16) |
01458590 | 4 | long | Cell Count Y | Number of cells in the X direction (Should be Block Count Y * 16) |
01458594 | 4 | long | Cell Count Z | Number of Z levels (Should equal the Block Count Z) |
Note: Bold addresses need to be verified. I may have remembered them wrong
Map Block[edit]
Offset | Size | Type | Name | Notes | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
0000h
|
4 | pointer | Unknown | |||||||||||
000Ch
|
4:4 | vector | Vein vector | |||||||||||
005Eh
|
2 * 16 * 16 | list of shorts | Unknown | |||||||||||
0260h
|
4 * 16 * 16 | list of longs | Designation |
| ||||||||||
0660h
|
4 * 16 * 16 | list of longs | Unknown |
Is probably flags?
| ||||||||||
0A60h
|
1 * 16 * 16 | list of bytes | Unknown | |||||||||||
0B60h
|
4 * 16 * 16 | list of longs | Pathfinding | |||||||||||
1160h
|
2 * 16 * 16 | list of shorts | Unknown | |||||||||||
1360h
|
2 * 16 * 16 | list of shorts | Unknown | |||||||||||
1560h
|
2 * 16 * 16 | list of shorts | Temperature #1 | 10100 or above counts as 'Warm'. | ||||||||||
1760h
|
2 * 16 * 16 | list of shorts | Temperature #2 | |||||||||||
1960h
|
2 * 16 * 16 | list of shorts | Unknown | |||||||||||
1B60h
|
2 * 16 * 16 | list of shorts | Unknown |
Veins[edit]
Veins designate a chunk of some material, be it stone, ore or gems, that can be dug up by miners. Using a bit-mask scheme, a vein can be placed anywhere in a 16x16 map block. All it takes for a vein to exist at a given column on a given row is for the corresponding bit in the bit-mask to be 1 for the given row. I've yet to do full-on editing of these veins other than making existing tiles toggle off as well as changing the vein type. Adding to the vein doesn't seem possible yet. There is likely a stacking priority with the different grouping of rock elements.
View of the bit mask scheme
Offset | Size | Type | Name | Notes |
---|---|---|---|---|
0000h
|
4 | pointer | Vtable | |
0004h
|
2 | short | Vein type | Ore, Stone, Gems are all in the same list |
0006h
|
2*16 | list of shorts | 16-bit mask for each row in the block | Bits start from the west side of the row, going east with each bit position. |
Skills[edit]
Offset | Size | Type | Name | Notes |
---|---|---|---|---|
0000h
|
2 | short | Type | See table below. |
0002h
|
2 | short | ??? | might be experience |
0004h
|
2 | short | Rating | Range: 0(Dabbling)-15(Legendary) See table below. |
Skill Types[edit]
Colors can do with some work, as they are supposed to indicate groupings of skills.
Index | Name |
---|---|
0 | Mining |
1 | Wood Cutter |
2 | Carpentry |
3 | Engraver |
4 | Masonry |
5 | Animal Training |
6 | Animal Caretaking |
7 | Fish Dissecting |
8 | Animal Dissecting |
9 | Fish Cleaning |
10 | Butchery |
11 | Trapping |
12 | Tanning |
13 | Weaving |
14 | Brewing |
15 | Alchemist |
16 | Clothery |
17 | Milling |
18 | Threshing |
19 | Cheese Making |
20 | Milking |
21 | Cooking |
22 | Growing |
23 | Herbalism |
24 | Fishing |
25 | Furnace Operating |
26 | Strand Extraction |
27 | Weaponsmithing |
28 | Armorsmithing |
29 | Metalsmithing |
30 | Gem Cutting |
31 | Gem Setting |
32 | Wood Crafting |
33 | Stone Crafting |
34 | Metal Crafting |
35 | Glass Making |
36 | Leatherworking |
37 | Bone Carving |
38 | Wrestling |
39 | Axe User |
40 | Sword User |
41 | Knife User |
42 | Mace User |
43 | Hammer User |
44 | Spear User |
45 | Marks User |
46 | Shield User |
47 | Armor User |
48 | Seige Engineering |
49 | Seige Operating |
50 | Bowyering |
51 | Pike User |
52 | Lasher |
53 | Bow User |
54 | Blowgunner |
55 | Thrower |
56 | Mechanics |
57 | Druid |
58 | Ambusher |
59 | Architecture |
60 | Wood Burning |
61 | Lye Making |
62 | Soaping |
63 | Potash Making |
64 | Dying |
65 | Pump Operating |
66 | Swimming |
67 | Persuading |
68 | Negociating |
69 | Judging of Intent |
70 | Appraising |
71 | Organizing |
72 | Record Keeping |
73 | Lying |
74 | Intimidating |
75 | Conversationalism |
76 | Comedy |
77 | Flattery |
78 | Consoling |
79 | Pacifying |
Skill Ratings[edit]
Rank | Name Prefix |
---|---|
0 | Dabbling |
1 | Novice |
2 | no-prefix |
3 | Competent |
4 | Skilled |
5 | Proficient |
6 | Talented |
7 | Adept |
8 | Expert |
9 | Professional |
10 | Accomplished |
11 | Great |
12 | Master |
13 | High Master |
14 | Grand Master |
15 | Legendary |