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:Denspb

From Dwarf Fortress Wiki
Jump to navigation Jump to search

I'm planning to continue Save file research started by User:Rick.

I am currently trying to investigate Entity structure (Civilization Structure in research above).

Size Type Name Notes
2 short Type of entity 0 for Civilization, 1 for Group, 5 for Religion. Entities with value 3 are not displayed in list of entities in Legends mode. May mean "dead" entities.
4 int ID Entity ID
var DFString EntityRawName Name of Entity. For non-modded DF will be FOREST/EVIL/SKULKING/MOUNTAIN/PLAINS.
2 Short Unknown 0 Observed values (in medium-sized world) are -10 to 75.
2 Short Unknown 1 Observed values (in medium-sized world) are -10 to 103.
4 int Unknown 2 Looks like some ID, not sequential, but unique.
4 int Unknown 3 non-zero only for civilizaions, observed values : 1, 4, 5, 6, 18, 21, 26, 27, 32, 37, 38, 42, 47, 54, 66, 68, 74, 94


2 Short Unknown 4 - zero Only observed value was 0. May be some String.


1 Byte Unknown 5 - one Only observed value was 1
var DFString KoboldName Non-empty only for SKULKING entities, contains name.


2 Short Unknown 6 - zero Only observed value was 0. May be some String.
7*2 = 14 7 * Short Entity Name 7 values, either -1 or index of word in dictionary.


4 Int Unknown 7 - zero Only observed value was 0.
2 Short Unknown 8 Only observed values were 0 and 2.
2 Short Unknown 9 Only observed values were 0 and 2.


2 Short Unknown 10 Only observed values were 0, 1, 2 and 3.
2 Short Unknown 11 Only observed values were 0 and 1.
2 Short Unknown 12 Only observed values were 0, 1 and 8.


4 Int Civilization ID? -1 for SKULKING entities. Seems to be a Civilization id for others.


2 Short Unknown 13 Observed values 0, 3, 13, 16, 18. 0 iff SKULKING. 5 iff type=5 (Religion). 3 iff type=0 (Civilization). No rule found in other cases. Looks like some flag or reference.
2 Short Creature ID Index of creature for this civilizaion (Dwarf/Elf/Human/etc)
4 Int Unknown 14
var ShortList Unknown 15 0 length for Religion and FOREST
var ShortList Unknown 16 0 length for Religion and EVIL/SKULKING, 1 for others
var ShortList Unknown 17 0 length for Religion, 0, 1 or 2 or rest
var ShortList Unknown 18 0 length for Religion


var ShortList Unknown 19 0 length for Religion
4 Int Unknown 20 - zero Only observed value was 0. May be some ShortList
4 Int Unknown 21 - zero Only observed value was 0. May be some ShortList
var ShortList Unknown 22 Seems like contents is all-zeroes
var ShortList Unknown 23 Have same length as previous list.
var ShortList Unknown 24
var ShortList Unknown 25
var ShortList Unknown 26 Have same length as previous list.
var ShortList Unknown 27 Seems like contents is all-zeroes
var ShortList Unknown 28 Have same length as previous list.
var ShortList Unknown 29
var ShortList Unknown 30 Have same length as previous list.
var ShortList Unknown 31
var ShortList Unknown 32 Have same length as previous list.
var ShortList Unknown 33
var ShortList Unknown 34 Have same length as previous list.
var ShortList Unknown 35
var ShortList Unknown 36
var ShortList Unknown 37
var ShortList Unknown 38 Length is either 0 or 4. If it is 4, there will be 3 values 0000 and one 4e00.
var ShortList Unknown 39 Have same length as previous list. Values seem to be all - FFFF's
var ShortList Unknown 40 Have same length as previous list.
var ShortList Unknown 41 Have same length as previous list.


var ShortList Unknown 42 0 length for Religion or FOREST, 1 for others
var ShortList Unknown 43
var ShortList Unknown 44 Observer lengths were 0, 1, 2
var ShortList Unknown 45 Observer lengths were 0, 1, 2, but they're not necessary same as previous.
4 Int Unknown 46 - zero Only observed value was 0. May be some ShortList
var ShortList Unknown 47
var ShortList Unknown 48
var ShortList Unknown 49
var ShortList Unknown 50 Only MOUNTAIN has non-zero length
var ShortList Unknown 51
4 Int Unknown 52 - zero Only observed value was 0. May be some ShortList
4 Int Unknown 53 - zero Only observed value was 0. May be some ShortList
var ShortList Unknown 54 Observed length either 0 or 1
var ShortList Unknown 55 Observed length either 0 or 1
var ShortList Unknown 56 Observed length either 0 or 2 (some PLAINS)
var ShortList Unknown 57 Same length as prev???
2 Short Unknown 58 Only observed value is FFFF = -1
2 Short Unknown 59
2 Short Unknown 60 Only observed value is FFFF = -1
2 Short Unknown 61
2 Short Unknown 62 Only observed value is FFFF = -1
2 Short Unknown 63
var ShortList Unknown 64 Observed length is either 0 or 1
var ShortList Unknown 65 Observed length is same for all entities that have same EntityRawName
var ShortList Unknown 66 Observed length is same for all entities that represent a Civilization entity and groups that belong to it.
var ShortList Unknown 67 Observed lengths are 1 and 2
var ShortList Unknown 68 Observed lengths are 0 for SKULKING, 3 and 4 for rest
var ShortList Unknown 69 Observed lengths are 0 for SKULKING, 2 and 3 for rest
var ShortList Unknown 70 Observed lengths are 0 for SKULKING, 3,4,5 for rest
var ShortList Unknown 71
var ShortList Unknown 72 Observed lengths are 0 for SKULKING, 2 for rest
var ShortList Unknown 73
var ShortList Unknown 74
var ShortList Unknown 75
var ShortList Unknown 76 Observed lengths are 0 and 1
var ShortList Unknown 77
var ShortList Unknown 78
var ShortList Unknown 79
var ShortList Unknown 80
var ShortList Unknown 81
var ShortList Unknown 82
var ShortList Unknown 83 This field and following 4 fields have same length
var ShortList Unknown 84 Same length as above
var ShortList Unknown 85 Same length as above
var ShortList Unknown 86 Same length as above
var ShortList Unknown 87 Same length as above
var ShortList Unknown 88
var ShortList Unknown 89 Same length as above
var ShortList Unknown 90 Pretty rare has non-zero length
var ShortList Unknown 91 Same length as above
var IntList Unknown 92 Same length as above. Note that it is an list of 4-byte ints
var ByteList Unknown 93 Size = number of creatures
var ByteList Unknown 94 Size = number of creatures
var ByteList Unknown 95 Size = number of plants
var ByteList Unknown 96 Size = number of plants
var ByteList Unknown 97 Size = number of wood
var ByteList Unknown 98 Size = number of wood
4 int Unknown 99 - zero Only observed value was 0. May be some list.
4 int Unknown 100 - zero Only observed value was 0. May be some list.

More coming later.