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 11:52, 3 August 2009 by Denspb (talk | contribs) (Created page with 'I'm planning to continue Save file research started by User:Rick. I am currently trying to investigate...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

I'm planning to continue [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

More coming later.