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.
| Button | What it does |
|---|---|
| New mod | Starts an empty mod with no pets, shells or stickers. |
| Open project | Opens an editable .modproject, or an older .petproject. |
| Samples | Opens the folder of bundled example projects, ready to inspect or export. |
| Save project | Writes all content, images and editable condition groups to a project file. |
| Import content | Imports pets.json, shells.json, stickers.json, manifest.json or a mod ZIP. A single JSON replaces only that category. |
| Import folder | Imports a folder containing the game's content JSON files and their images. |
| Export mod ZIP | Packages all content, scripts, images and the manifest into an installable mod. |
| Export folder | Writes an unpacked package ready for the Mod Uploader. |
| Validate package | Checks the manifest, code entry, capabilities and content before exporting. |
| Export pets.json | Exports 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
| Field | Meaning |
|---|---|
| ID | Stable 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. |
| Name | One field per language. English is the default. Leaving another language empty falls back to English. |
| Collection hint | The species hint shown in the collection, with the same per-language fallback. |
| Adult | When enabled, the form is an evolution candidate. Disable it for shared Egg, Child or Teen-style forms. |
| Collectible | Adds the form to the Species collection and graduation records. |
| Priority | The highest eligible priority always wins. Use higher numbers for rarer or more specific outcomes. |
| Weight | Relative chance among candidates tied at the highest priority, preferring uncollected species. 0 excludes the form. |
| Catalogue order | Leave 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.
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.
Shells
Shells are full-colour screen backgrounds. The editor is shared with Stickers: use + Add, Duplicate and Remove in the sidebar.
- Give the shell a namespaced ID such as
yourmod.shell.mint. - Enter a name for each language you want to support.
- Click Upload PNG and choose the full-colour image.
- Use Screen overlay in the preview to check the fixed screen position. The guide is not included in the exported PNG.
- 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.
Stickers
Stickers are desktop decorations with an ID, a name, an image and a scale.
| Field | Meaning |
|---|---|
| Scale | Displayed screen pixels per image pixel. The minimum is 1. |
| Book preview | How 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. |
| Distribution | Normal 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.
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.
- Open Manifest and set Mod type to Code mod (DejiScript).
- 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. - Tick only the Capabilities the script uses. The game enforces them.
- Add optional dependencies as a comma-separated list.
- 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.
- 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.
Manifest
The Manifest tab supplies the metadata shown on the in-game Mods page.
| Field | Meaning |
|---|---|
| Title | Mod display name. The Workshop uploader initially copies this into its listing title, but the Workshop title is a separate field. |
| Author | Creator's display name. |
| Version | Free text such as 1.0. Update it when publishing changes. |
| Description | Optional description stored in the manifest. |
| Icon | Optional monochrome icon. Upload icon converts a PNG; Remove icon restores the default question-mark style. |
| Icon scale | Screen pixels per icon pixel, from 1 to 16. |
| Mod ID | Stable namespaced identity such as author.my_mod. Required for code mods and used as the storage namespace. |
| Mod type | Data mod or Code mod (DejiScript). |
| Entry | Relative .sgd entry path for code mods. |
| API version | Code-mod API contract version required by the game. The host rejects a package that requests a contract it does not implement. |
| Minimum game version | Optional minimum Dejinochi version such as 1.1.0. |
| Capabilities | Explicit permissions for the code-mod API. |
| Dependencies | Optional comma-separated required mod IDs. |
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.
| Project | What it demonstrates |
|---|---|
example_mod.modproject | A data mod with a pet, a shell and a sticker. |
pocket_bonsai.modproject | Pocket 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.jsonfrom 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.jsonchanges 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
.sgdentry, 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.
