Preparing a template zip
How to organise your designer's files so the whole template is built from one upload.
📷 Screenshot placeholder — New template, the three upload cards and Try a sample.
Open New template and drop in a file. The format is worked out for you and every file is checked before the editor opens. A zip of numbered layer folders is all you need: the platform writes manifest.json for you. Nothing joins your templates list until you choose Create template.
Option 1: a zip of layer folders
The recommended way. No manifest needed.
whisker-club.zip
├ 01-Background/
│ ├ Sage#20.png
│ ├ Night#5.png
│ └ Cream.png
├ 02-Body/
│ ├ Ginger cat.png
│ └ Black dog.png
├ 03-Eyes/
│ └ Calm.png
└ 04-Neckwear/
└ Bell.png
- One folder per layer. Folders are read in number order, bottom to top, so start each with a number:
01-,02-,03-. The number is dropped from the layer name. Folders with no number come after the numbered ones, A to Z. - One PNG per trait, one folder deep. The file name becomes the trait name:
Ginger cat.pngis the trait Ginger cat. A file that isn't directly inside a layer folder is skipped and listed. - Weights in the file name. Add
#and a number before.pngto set the weight:Sage#20.png. Without one, the weight is 10. You can also set weights in the editor, or let Rarity suggest them. - A folder named Role (with any number prefix) is read as the Role layer, and each picture in it becomes a one-of-one. Not on keepsake templates.
- Add the rest in the editor. Optional layers, Used when, subjects, roles and rules can't be expressed in folders. Set them after the upload, or use a manifest.
Option 2: a zip with a manifest.json
Put manifest.json at the top of the zip, next to the folders. A manifest is optional. It brings in weights, optional layers, conditions, roles and rules. It is checked against the files: where they disagree, the files win and every difference is listed. A manifest that can't be read at all is set aside, and a new one is written from the folders.
set.zip
├ manifest.json
├ 01-Background/Sage.png
├ 02-Body/Ginger cat.png
└ 03-Hat/Crown.png
See Writing a manifest.json for every field.
Option 3: manifest.json on its own
Upload only the manifest to set up the whole structure with colour-block placeholders. Add the art later in the editor, one trait at a time or with Placeholders from folder or zip. A template can't be published until every placeholder has art.
Files
- PNG only, with transparency, every file the same size as the canvas. JPG, GIF, WebP and animated PNG files are refused.
- Nothing else is read. Photoshop, Illustrator and text files are skipped and listed, and so are system files such as
.DS_Store. - Limits on layers, traits per layer, files and the size of a zip are set by DappFactory and shown on the upload screen. A zip over the size limit is refused before it is read.
What the checks tell you
| Message | What happens |
|---|---|
| Wrong size | The file doesn't match the canvas. Replace it with one at the canvas size, or exclude it. |
| Not a PNG | Templates take PNG only. Replace it with a PNG, or exclude it. |
| Listed in the manifest, no file | The trait is kept as a colour-block placeholder. Publishing waits for its art. |
| A copy of another file | A copy such as Mint (1).png is skipped, and so is a second file with the same name. |
| A rule points at a missing trait | The rule is dropped. Add it again in the editor. |
| Not a layer image | The file is skipped. |
| No folders of images and no manifest | Nothing can be built. Put each layer in its own folder, or add a manifest.json. |
Upload checks and automatic fixes explains every check in full.
Updating art later
Open the template and choose Re-import to bring a zip in over it. Files are matched by layer name and trait name, ignoring case, spaces and #weights: matches replace the art, new ones are added, and nothing is deleted. Anything unmatched is listed and kept as it was.