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.
Difference between revisions of "User:Rick/Save research"
Jump to navigation
Jump to search
m (→...) |
m (→IDs) |
||
Line 250: | Line 250: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Wood Matgloss IDs | | Wood Matgloss IDs | ||
Line 256: | Line 256: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Stone Matgloss IDs | | Stone Matgloss IDs | ||
Line 262: | Line 262: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Metal Matgloss IDs | | Metal Matgloss IDs | ||
Line 268: | Line 268: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Plant Matgloss IDs | | Plant Matgloss IDs | ||
Line 274: | Line 274: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Creature Body IDs | | Creature Body IDs | ||
Line 280: | Line 280: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Creature Body Gloss IDs | | Creature Body Gloss IDs | ||
Line 286: | Line 286: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Creature IDs | | Creature IDs | ||
Line 292: | Line 292: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Item IDs | | Item IDs | ||
Line 298: | Line 298: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Entity IDs | | Entity IDs | ||
Line 304: | Line 304: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Word IDs | | Word IDs | ||
Line 310: | Line 310: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Symbol IDs | | Symbol IDs | ||
Line 316: | Line 316: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Language IDs | | Language IDs | ||
Line 322: | Line 322: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Color IDs | | Color IDs | ||
Line 328: | Line 328: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Shape IDs | | Shape IDs | ||
Line 334: | Line 334: | ||
|- | |- | ||
− | | | + | | variable |
| [[#String List|stringlist]] | | [[#String List|stringlist]] | ||
| Reaction IDs | | Reaction IDs |
Revision as of 00:20, 8 November 2007
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 |
---|---|---|---|
variable | stringlist | Wood Matgloss IDs | |
variable | stringlist | Stone Matgloss IDs | |
variable | stringlist | Metal Matgloss IDs | |
variable | stringlist | Plant Matgloss IDs | |
variable | stringlist | Creature Body IDs | |
variable | stringlist | Creature Body Gloss IDs | |
variable | stringlist | Creature IDs | |
variable | stringlist | Item IDs | |
variable | stringlist | Entity IDs | |
variable | stringlist | Word IDs | |
variable | stringlist | Symbol IDs | |
variable | stringlist | Language IDs | |
variable | stringlist | Color IDs | |
variable | stringlist | Shape IDs | |
variable | stringlist | Reaction IDs |
...
Size | Type | Name | Notes |
---|---|---|---|
4 | long | If this is a non-zero value some data follows, not sure of format yet. | |
4 | long | If this is a non-zero value some data follows, not sure of format yet. | |
4 | long | Civilization count? | |
variable | long * civ count | ||
variable | longlist | ||
variable | longlist | ||
variable | longlist | ||
variable | longlist | ||
variable | civilization * civ count | Civilization data |