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
Revision as of 13:23, 3 August 2009 by Denspb (talk | contribs) (Fix link)
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


More coming later.