Manual Start

On this page
  1. Make one
  2. Settings follow you around
  3. Inside a project
  4. The sidecar
  5. Bring art into a project
  6. The format version
  7. Next

Projects

What a Mode 8 project is, what each file in it does, and which settings every command inside it picks up.

A project is a plain folder you can commit to git: a mode8.toml, one folder per asset, the project's palettes, and a hidden history that makes every edit undoable. The Studio, the CLI and coding agents all work on the same folder at the same time.

You do not need a project to use Mode 8: every command also works on loose PNG files. A project adds three things: defaults (palette, sprite size, ComfyUI address) that every command inside it uses, assets that remember how they were made, and a shared history of edits.

Make one#

terminal
$ mode8 init my-game
✓ Created project my-game/
  palette nes_crimson_hero · new assets 64x72 · ComfyUI http://127.0.0.1:8188

Next:
  cd my-game
  mode8 draft knight_right --out drafts/hero.png
  mode8 studio .
  mode8 doctor   # check the local AI setup for mode8 gen
terminal
$ cat my-game/mode8.toml
name = "my-game"
version = 1
default_palette = "nes_crimson_hero"
default_size = [64, 72]
comfy_url = "http://127.0.0.1:8188"
SettingWhat it does
nameThe project's name (default: the folder name, or --name)
versionThe project format version; see below
default_paletteThe palette every command inside the project uses when you give none (--default-palette)
default_sizeThe size of new sprites and drafts (--default-size)
comfy_urlWhere ComfyUI runs (--comfy-url); see Set up local AI

You can edit the file by hand. mode8 init --template NAME makes a project that is already full of art; see Starters.

Settings follow you around#

Any command run inside the project folder, or below it, finds the nearest mode8.toml and uses its settings. The summary says when it did:

terminal
$ cd my-game
terminal
$ mode8 draft slime --out drafts/slime.png
✓ Drafted slime (48x40) → drafts/slime.png
  palette nes_crimson_hero from mode8.toml

Next:
  mode8 gen 'slime, side view' --draft drafts/slime.png --out sprites/slime.png   # needs ComfyUI
  mode8 anim drafts/slime.png --rig blob --out-dir frames/slime
  mode8 studio .

A flag always wins over the project: --palette gameboy_dmg draws in that palette whatever mode8.toml says.

Inside a project#

A starter shows every part of a project in use:

terminal
$ mode8 init town --template topdown
✓ Created the topdown starter in town/
  27 assets · palette snes_16bit_overworld · lint 27/27 passed
  hero, slime, grass, dirt, water, oak, pine, birch, sapling, bush, +7 more + 10 UI pieces
  UI kit → town/godot/art/ui/ · font → town/godot/art/font/
  Godot project → town/godot/ (runs main.tscn)

Next:
  cd town
  godot -e --path godot
  mode8 studio .
  mode8 export hero
terminal
$ cd town
terminal
$ ls -a . assets/hero .mode8
.:
.  ..  .mode8  README.md  assets  godot  mode8.toml  palettes  preview.png

.mode8:
.  ..  .gitignore  candidates  history.jsonl  lock  snapshots

assets/hero:
.  ..  draft.png  frames  master.m8.json  master.png
PathWhat it holds
mode8.tomlThe settings above
palettes/The project's own palettes, as GIMP .gpl files. A palette here can be named on any command like a bundled one; see Palettes
assets/<name>/master.pngThe asset's approved image, the one everything else is made from
assets/<name>/master.m8.jsonThe sidecar: what the asset is and how it was made (below)
assets/<name>/draft.pngThe draft it was generated from, when there is one
assets/<name>/frames/Its animation frames, one PNG per frame
assets/<name>/parts.png, pins.png, layers/, overrides/When used: the part map, the pinned pixels AI keeps, the layer stack and hand-fixed frames
.mode8/history.jsonlThe journal: one line per edit, by whom, with the content hash of every file before and after
.mode8/snapshots/Every file version the journal refers to, so any edit can be undone
.mode8/candidates/Generation candidates the Studio keeps until you choose one. Not committed (.mode8/.gitignore)

Commit everything else, .mode8/ included: the journal and its snapshots are what lets you, a teammate or an agent undo an edit later.

The sidecar#

master.m8.json sits next to every master and records where the asset came from: its art type, archetype and facing, its palette and size, the prompt, seed and preset if it was generated, the latest check results, a hash of the master, and its frames with the timing of each animation. Commands read it so you do not repeat yourself: mode8 export --animations assets/hero/master.m8.json takes the timing from it, and the Studio shows it. Here is the start of the starter hero's:

terminal
$ head -12 assets/hero/master.m8.json
{
  "archetype": "topdown_hero",
  "art_type": "topdown",
  "created_at": "2026-12-02T00:37:42.477Z",
  "draft": "draft.png",
  "frames": {
    "animations": {
      "attack": {
        "durations": [
          2,
          1,
          2

Mode 8 writes the sidecar for you; you rarely need to open it. Project format documents every key.

Bring art into a project#

Art you made elsewhere (a sheet, a folder of frames, an .aseprite file) becomes an asset with mode8 import, which writes the master, the frames, the sidecar and, if needed, a palette extracted from the art. See Bring in your art.

The format version#

version = 1 in mode8.toml is the format the project was written in. A Mode 8 that is older than the project refuses to touch it, with a ProjectVersionError (exit 3), rather than damage files it does not understand: update Mode 8 when you see one. Never lower the number by hand. Stability and versioning says what a release may change.

Next#

  • Co-editing: how the journal lets a person and an agent edit the same asset safely.
  • The Studio: the editor that works on projects.
  • Project format: every file and key, exactly.