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.

User:Rick/Save research

From Dwarf Fortress Wiki
Jump to navigation Jump to search

v0.27.169.32a

Dwarf Fortress .DAT files for this version are basically blocks of zlib compressed data. long + data... repeated throughout the file. The long represents the size of compressed data.

Structures

String

Size Type Name Notes
2 short Length
x char String data of length size.

String List

Size Type Name Notes
4 long Count
(2 + length) * count strings Strings

Long List

Size Type Name Notes
4 long Count
4 * count longs Longs

Files

world.dat

Version

Size Type Name Notes
4 long Version? Currently 0x4B5 (1205).
2 short

Header (1)

Size Type Name Notes
4 long
4 long
4 long
4 long
4 long
4 long
4 long
4 long
4 long
4 long
4 long
4 long
1 byte Following block is not present if this is 0.

Optional header block

Size Type Name Notes
2 + length string
2 + length string
28 struct?
14 struct?
4 long
2 short

Header (2)

Size Type Name Notes
15 struct?
2 + length string World name

Data

IDs
Size Type Name Notes
stringlist Wood Matgloss IDs
stringlist Stone Matgloss IDs
stringlist Metal Matgloss IDs
stringlist Plant Matgloss IDs
stringlist Creature Body IDs
stringlist Creature Body Gloss IDs
stringlist Creature IDs
stringlist Item IDs
stringlist Entity IDs
stringlist Word IDs
stringlist Symbol IDs
stringlist Language IDs
stringlist Color IDs
stringlist Shape IDs
stringlist Reaction IDs