Error code · a mistake in the document
dt::format-newer
The document is of a newer format than this program reads.
What the program says
dt::format-newer
× this tile is format 2; this dharmatiles reads up to 1
╭─[example.dtile:1:21]
1 │ dharmatiles version=2
· ┬
· ╰── a newer format than this program reads
2 │ tile size="1x1" {
╰────
help: use a newer dharmatiles, or a copy of the file in the older format
explain: https://shawn-vincent.github.io/dharmatiles/e/format-newer
offline: dharmatiles explain dt::format-newer
What to do
Update dharmatiles, or write the document in the format the program reads.
Broken, then fixed
dt::format-newerdharmatiles version=2
tile size="1x1" {
stack { dirt }
}dharmatiles version="1.0.0"
tile size="1x1" {
stack { dirt }
}The rule
A document of any kind (a tile, a parts file, a printer profile, a palette) starts with one line that says which version of the language it is written in:
Read it in context: The tile document · A document starts with a header line