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:BenLubar/save 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 14: Line 14:
 
! list of ''type''
 
! list of ''type''
 
| uint32 (''count'') followed by ''count'' elements of ''type''. can be nested.
 
| uint32 (''count'') followed by ''count'' elements of ''type''. can be nested.
|-
 
! set of ''type''
 
| same as list, but always of a numeric type, has no duplicate elements, and is always in ascending order.
 
 
|-
 
|-
 
! ''n''-array of ''type''
 
! ''n''-array of ''type''
Line 53: Line 50:
 
{|
 
{|
 
! uint32
 
! uint32
| version (this page only concerns version 1451)
+
| version (this page only concerns version 1404)
 +
|-
 +
! uint32
 +
| compression. when 0, the remainder of the file is verbatim. when 1, the remainder of the file is compressed with [[wikipedia:DEFLATE|DEFLATE]]
 
|-
 
|-
 
! uint32
 
! uint32
| compression. when 0, the remainder of the file is verbatim. when 1, the remainder of the file is in compressed blocks.
+
| length. only present when compression is nonzero.
|}
 
 
 
=== compressed block ===
 
{|
 
! list of uint8
 
| a block of data, compressed with [[wikipedia:zlib|zlib]]
 
 
|}
 
|}
  
Line 75: Line 69:
 
| always zero?{{verify}}
 
| always zero?{{verify}}
 
|-
 
|-
! 28-array of int32
+
! 23-array of int32
 
| unknown
 
| unknown
 
|-
 
|-
 
! optional name
 
! optional name
| the world name, like "The Realm of Daggers"
+
| the English part of the world name, like "The Realm of Daggers"
 
|-
 
|-
 
! uint8
 
! uint8
Line 91: Line 85:
 
|-
 
|-
 
! string
 
! string
| the translated world name, like "Thadar Rabin"
+
| the gibberish part of the world name, like "Thadar Rabin"
 
|-
 
|-
 
! 4-array of list of list of string
 
! 4-array of list of list of string
Line 101: Line 95:
 
Note: at this point, it is a good idea to append the generated raw names (index 2 of each entry, surrounded by : on the left and ] on the right) to the corresponding string tables.
 
Note: at this point, it is a good idea to append the generated raw names (index 2 of each entry, surrounded by : on the left and ] on the right) to the corresponding string tables.
 
|-
 
|-
! list of 14-array of uint32
+
! mapping from uint32 to uint32
 
| unknown
 
| unknown
 
|-
 
|-
! mapping from uint32 to uint32
+
! uint32
| unknown
+
| always zero?{{verify}}
 
|-
 
|-
! 19-array of set of uint32
+
! 14-array of list of uint32
 
| unknown
 
| unknown
 
|}
 
|}
Line 127: Line 121:
 
if C is 0x00, this book is bound with an INORGANIC material.
 
if C is 0x00, this book is bound with an INORGANIC material.
 
if C is 0x03, this book is bound with green glass and D is -1.
 
if C is 0x03, this book is bound with green glass and D is -1.
if C is 0x04, this book is bound with clear glass and D is -1.
+
if C is 0x16, this book is bound with CREATURE bone.
if C is 0x05, this book is bound with crystal glass and D is -1.
+
if C is 0x25 or 0x26, this book is bound with CREATURE leather.
if C is 0x15 or 0x16, this book is bound with CREATURE bone.
 
if C is 0x17, this book is bound with CREATURE cartilage.
 
if C is 0x19, this book is bound with CREATURE teeth.
 
if C is 0x23, this book is bound with CREATURE spleen.
 
if C is 0x24 or 0x25 or 0x26, this book is bound with CREATURE leather.
 
 
if C is 0x27, this book is bound with CREATURE shell.
 
if C is 0x27, this book is bound with CREATURE shell.
if C is 0x28, this book is bound with CREATURE feather.
 
 
if C is 0x29, this book is bound with CREATURE hoof.
 
if C is 0x29, this book is bound with CREATURE hoof.
if C is 0x2a, this book is bound with CREATURE ivory.
+
if C is 0x2a, this book is bound with CREATURE ivory/teeth.
if C is 0x1a4, this book is bound with PLANT wood.
 
if C is 0x1a5, this book is bound with PLANT fiber.
 
  
 
32 bit signed integer. (D)
 
32 bit signed integer. (D)

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)

Template used on this page: