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.

Editing User:AzureLightning/Memory research

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.


The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
'''Any and all offsets and memory addresses are only valid for v0.27.169.33a.'''
 
'''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==
Line 14: Line 8:
 
! 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 41: Line 14:
 
| long
 
| long
 
| Creature Focus
 
| Creature Focus
| Indexes into the full creature list
+
| Indexes the full creature list
  
 
|-
 
|-
Line 93: Line 66:
 
| 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)
  
 
|-
 
|-
Line 100: Line 73:
 
| long
 
| long
 
| Cell Count Y
 
| Cell Count Y
| Number of cells in the X direction (Should be '''Block Count Y''' * 16)
+
| Number of cells in the X direction (Should be Block Count X * 16)
  
 
|-
 
|-
Line 107: Line 80:
 
| 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)
  
 
|}
 
|}
Line 151: Line 124:
 
! width="10%" | Bit
 
! width="10%" | Bit
 
! width="90%" | Description
 
! width="90%" | Description
 
|-
 
| 0-2
 
| Flow Size (0-7)
 
  
 
|-
 
|-
Line 252: Line 221:
 
===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.
+
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.
<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 285: Line 251:
  
 
|}
 
|}
 +
 +
''Note: I've yet to do full-on editting 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.''
  
 
==Skills==
 
==Skills==
Line 718: Line 686:
  
 
|}
 
|}
[[Category:Hacking|Memory research]]
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)