Technical reference

Codex Pet package format

A Codex custom pet package is a local folder that contains pet.json and spritesheet.webp.

Quick facts

Package folder~/.codex/pets/<pet-name>/
Required manifestpet.json
Required spritesheetspritesheet.webp
Atlas sizeNot enforced
GridVaries by pack
Cell sizeDerived by client/runtime
Formattransparent WebP / RGBA

Manifest shape

{
  "id": "codie",
  "displayName": "Codie",
  "description": "A tiny pixel robot companion for Codex Pet.",
  "spritesheetPath": "spritesheet.webp"
}

Animation rows

Each row represents one animation state. The standard layout has 9 rows matching the Codex pet runtime states. Frame counts below are recommendations based on the Codie reference pack — your pack may use fewer or more frames per row.

RowStateRecommended frames
0idle6
1running-right8
2running-left8
3waving4
4jumping5
5failed8
6waiting6
7running6
8review6

Validation rules