Mod Creator

The Mod Creator is a standalone desktop app for building Dejinochi mods. It edits pets, shells, stickers, code-mod files and the manifest, converts pixel art, previews food placement and exports installable ZIPs or folders without touching gameplay or saves.

Window and toolbar

The window is resizable and remembers nothing between runs unless you save a project. Unsaved changes prompt before closing, starting a new mod or importing content.

ButtonWhat it does
New modStarts an empty mod with no pets, shells or stickers.
Open projectOpens an editable .modproject, or an older .petproject.
SamplesOpens the folder of bundled example projects, ready to inspect or export.
Save projectWrites all content, images and editable condition groups to a project file.
Import contentImports pets.json, shells.json, stickers.json, manifest.json or a mod ZIP. A single JSON replaces only that category.
Import folderImports a folder containing the game's content JSON files and their images.
Export mod ZIPPackages all content, scripts, images and the manifest into an installable mod.
Export folderWrites an unpacked package ready for the Mod Uploader.
Validate packageChecks the manifest, code entry, capabilities and content before exporting.
Export pets.jsonExports only pet definitions, for example to update built-in content.

The main area has five tabs: Shells, Stickers, Pets, Manifest and Files. The Files tab is used for code mods.

Project files are not mods. A .modproject keeps editable state and embedded images. Players need the ZIP from Export mod ZIP, or an unpacked folder with the same files.

Pets

The Pets tab has a sidebar and a detail editor. Catalogue slots expands the reserved catalogue size; leave it at 0 unless you intentionally want to add reserved slots. Use + Pet, Duplicate and Remove to manage entries in the list.

Names & properties

FieldMeaning
IDStable namespaced identity such as yourmod.form.fluffy. Saves use it, so never change it after publishing. It is also the localisation key when no literal name is supplied.
NameOne field per language. English is the default. Leaving another language empty falls back to English.
Collection hintThe species hint shown in the collection, with the same per-language fallback.
AdultWhen enabled, the form is an evolution candidate. Disable it for shared Egg, Child or Teen-style forms.
CollectibleAdds the form to the Species collection and graduation records.
PriorityThe highest eligible priority always wins. Use higher numbers for rarer or more specific outcomes.
WeightRelative chance among candidates tied at the highest priority, preferring uncollected species. 0 excludes the form.
Catalogue orderLeave blank for automatic placement after reserved slots. A positive whole number requests a slot; occupied slots overflow safely rather than hiding another pet.

Sprites & mouth

Each pet has four expression cards: Idle, Happy, Unhappy and Sick. Click a thumbnail to preview that expression. Happy is also used for sleeping.

  • Upload PNG replaces that expression's single frame.
  • Use pixel art at native size, at most 512 by 512 pixels. Do not upscale.
  • Dark pixels become ink and light or transparent pixels become clear, with a fixed threshold of 128. Transparency is composited over white.
  • Only Idle is required to export. Missing expressions use the game's normal fallbacks; the preview shows No PNG rather than borrowing another expression.

Origin X/Y shifts the sprite in sprite pixels. Click the preview or edit Mouth X/Y to place food at the mouth. Both offsets apply to all four expressions and are stored with the pet.

The Mod Creator showing the Files tab, with the Sprites and mouth editor, four expression cards and a large pixel-art preview.
The four expression cards, sprite preview and mouth placement controls in the Pets tab.

Evolution conditions

The condition editor is a recursive no-code tree. Each group has a Match choice:

  • All of the following requires every item in the group (AND).
  • At least one of the following allows any item in the group (OR).

A nested group counts as one item in its parent. Use + Add condition for a single metric or + Add group for related requirements. An empty all-group matches automatically; an empty at-least-one group is rejected on export. Very large trees are rejected when they expand beyond 256 alternatives.

Metrics come from accumulated child and teen care history frozen at adulthood. Adult care does not reroll the form. See the condition rules table for every metric and comparison.

The Evolution conditions tab showing Completed games and Average happiness requirements, with the app toolbar and Files tab visible.
Care-history requirements in the Evolution conditions tab.

Shells

Shells are full-colour screen backgrounds. The editor is shared with Stickers: use + Add, Duplicate and Remove in the sidebar.

  1. Give the shell a namespaced ID such as yourmod.shell.mint.
  2. Enter a name for each language you want to support.
  3. Click Upload PNG and choose the full-colour image.
  4. Use Screen overlay in the preview to check the fixed screen position. The guide is not included in the exported PNG.
  5. Set Unlock to Always available for a normal mod shell, or Custom code unlock and enter a hint if a code mod should gate it.

Shells are stretched across the game's logical canvas, so draw at the canvas aspect ratio for predictable results. Mod shells are selectable outside the base unlock progression.

The Shells tab with the Floral shell selected, the Unlock field, localized names, Upload PNG, the fixed screen overlay and the Files tab visible.
The Shells tab: shell list, localized names and the screen-position preview.

Stickers

Stickers are desktop decorations with an ID, a name, an image and a scale.

FieldMeaning
ScaleDisplayed screen pixels per image pixel. The minimum is 1.
Book previewHow the Sticker Book derives its 1-bit preview: auto (default, region-aware), outline (never fill bodies, for line art), filled (fill every body region, for solid icons) or legacy_outline (the earlier simpler outline path). Invalid or missing values fall back to auto.
DistributionNormal gifts puts the sticker in the ordinary gift pool. Custom mod only excludes it so a code mod can award it through its own shop, quest or event.

Transparency in the uploaded PNG is preserved. Sticker IDs are used by saves and the debug sticker commands, so keep them stable.

The Stickers tab with a strawberry sticker selected, Scale set to 3, Distribution set to Normal gifts, Book preview set to Auto and the Files tab visible.
The Stickers tab: ID, names, scale, Book preview mode and the image preview.

Code mods

The creator is not a full IDE. Write and edit .sgd scripts in your own text editor, then use the creator to package, validate and export them.

  1. Open Manifest and set Mod type to Code mod (DejiScript).
  2. Enter a stable namespaced Mod ID, the Entry path (normally scripts/main.sgd), the API version required by the game and any minimum game version.
  3. Tick only the Capabilities the script uses. The game enforces them.
  4. Add optional dependencies as a comma-separated list.
  5. Open Files. Use Create code template to generate a starter script and README, or Add file for your own scripts, images and supporting files. Set entry changes the script entry point.
  6. Use Validate package, then Export folder for the Workshop uploader or Export mod ZIP for manual installation.

Shells may use Custom code unlock and a hint, and stickers may use Custom mod only distribution. Those settings only take effect when the mod's script registers the matching unlock provider or grants the sticker. See Code mods and the Mod API.

The Mod Creator Manifest tab for a code mod, showing Mod ID, title, author, version, Code mod type, script entry, API version, minimum game version, capability checkboxes and dependencies.
Choose Code mod, set the entry and API version, and tick only the capabilities the script uses.
The Mod Creator Files tab showing README.md, assets/sticker.png and scripts/main.sgd with Add file, Remove file, Set entry and Create code template buttons.
Add scripts and assets in the Files tab, set the entry point, then validate and export the package.

Manifest

The Manifest tab supplies the metadata shown on the in-game Mods page.

FieldMeaning
TitleMod display name. The Workshop uploader initially copies this into its listing title, but the Workshop title is a separate field.
AuthorCreator's display name.
VersionFree text such as 1.0. Update it when publishing changes.
DescriptionOptional description stored in the manifest.
IconOptional monochrome icon. Upload icon converts a PNG; Remove icon restores the default question-mark style.
Icon scaleScreen pixels per icon pixel, from 1 to 16.
Mod IDStable namespaced identity such as author.my_mod. Required for code mods and used as the storage namespace.
Mod typeData mod or Code mod (DejiScript).
EntryRelative .sgd entry path for code mods.
API versionCode-mod API contract version required by the game. The host rejects a package that requests a contract it does not implement.
Minimum game versionOptional minimum Dejinochi version such as 1.1.0.
CapabilitiesExplicit permissions for the code-mod API.
DependenciesOptional comma-separated required mod IDs.
The Manifest tab with Mod ID, title Example Mod, author hacktic, version 1.0, Mod type, description, icon controls and the Files tab visible.
The Manifest tab: title, author, version, description and icon controls.

Sample projects

The full game ships two editable Mod Creator projects in sample_projects/ beside the executable. Use Samples in the toolbar to open the folder, or use Open project and select a file.

ProjectWhat it demonstrates
example_mod.modprojectA data mod with a pet, a shell and a sticker.
pocket_bonsai.modprojectPocket Bonsai: a code mod with a home entry and screen, plant growth, stock text and footer, a dew minigame, a pet flower animation, debug commands, a custom sticker and a shell unlock.

Open a project, inspect its tabs and Files list, then use Validate package and Export folder or Export mod ZIP.

Importing and editing existing content

  • Import content can open a single JSON file or a ZIP. Importing one JSON replaces only that category; it keeps the rest of the current mod.
  • Import content/base/pets.json from a source checkout to edit built-in pets.
  • Unknown evolution rules are rejected rather than silently discarded. Existing IDs, sprite data and extra fields are retained where the creator understands them.
  • Importing a pet-only pets.json changes pet definitions only. Importing a whole mod ZIP also loads its shells, stickers, manifest and supporting images.

Export rules

  • Pet IDs need at least three non-empty dot-separated parts and must be unique within the mod.
  • Each pet needs an English name and an Idle sprite.
  • Every shell and sticker needs an uploaded image, and sticker scale must be at least 1.
  • Code mods need a valid namespaced ID, a relative .sgd entry, the API version required by the game and at least one declared capability.
  • Image paths must stay inside the mod. Imported res:// textures are materialised into the export so the ZIP is self-contained.
  • The export contains the manifest plus only the content categories you filled in.

Test the export, not just the preview. Install the ZIP as described in Install & test. The creator's preview cannot prove that evolution conditions are reachable through normal play.