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:Andux/Format research/WORLD.SAV

From Dwarf Fortress Wiki
Jump to navigation Jump to search

WORLD.SAV files contain data for worlds which have an active adventurer or fortress.

File structure[edit]

World header[edit]

This immediately follows the save header:

Type Name Description
int32 Unk1 ?
int32 Unk2 ?
int32 Unk3 ?
int32 Unk4 ?
int32 Unk5 ?
int32 Unk6 ?
int32 Unk7 ?
int32 Unk8 ?
int32 Unk9 ?
int32 Unk10 ?
int32 Unk11 ?
int32 Unk12 ?
int32 Unk13 ?
int32 Unk14 ?
int32 Unk15 ?
int32 Unk16 ?
int32 Unk17 ?
int32 Unk18 ?
int32 Unk19 ?
int32 Unk20 ?
int32 Unk21 ?
uint16 GameMode 0 = fortress, 1 = adventurer
String GameName The fort/adventurer's full name in whatever language.
String WorldName The full world name in whatever language.

Beast defs[edit]

The beast defs are composed of a List of string-lists; each string-list is a List of String structures which contain the raw tags defining a forgotten beast, demon, titan, or night creature.

String tables[edit]

The string tables enumerate all the raw section names used by the save.

Each section is a List of String structures containing the name of a raw object; there are a total of 19 sections:

  1. INORGANIC materials
  2. PLANT types
  3. BODY types
  4. BODYGLOSS entries
  5. CREATURE entries
  6. ITEM types
  7. BUILDING types (custom workshops)
  8. ENTITY classes
  9. WORD entries
  10. SYMBOL entries
  11. TRANSLATION entries (languages)
  12. COLOR entries
  13. SHAPE entries
  14. COLOR_PATTERN entries (also includes COLOR entries)
  15. REACTION entries
  16. MATERIAL_TEMPLATE types
  17. TISSUE_TEMPLATE types
  18. BODY_DETAIL_PLAN entries
  19. CREATURE_VARIATION types

Game data[edit]

Format unknown.