How to make a Monika After Story submod
Current MAS submods commonly use .rpy scripts in game/Submods/, with metadata registered through mas_submod_utils.Submod. Start from the Friends-of-Monika mas-submod-template, add a topic with MAS's event system, and test with a separate DDLC install. Note that the MAS wiki currently advises waiting for the Python 3 framework before starting new submods. Custom music, backgrounds, piano songs and sprites each have their own guide in the MAS wiki.
What you need
- A backup of your save and a clean DDLC + MAS copy for development. A second game folder still uses the same user save by default, so it does not isolate your save.
- A text editor with Ren'Py highlighting (VS Code has an extension).
- Basic Ren'Py: labels, dialogue lines, menus and Python blocks. The DDLCModTemplate repository is a gentle introduction.
Registering a current submod
The Friends-of-Monika template uses mod/header.rpy to call store.mas_submod_utils.Submod. That API is present in MAS v0.12.20. The template is a current package example; the wiki’s header.json/.rpym section describes a different framework format during the Python 3 overhaul.
init -990 python:
store.mas_submod_utils.Submod(
author="Friends of Monika",
name="Submod Template",
description=_("This is a template submod for other people to reuse."),
version="1.0.0"
)Start by editing the template’s author, name, description and version. Its build scripts package the mod/ content for distribution. Keep any updater metadata consistent with your repository. Consult the API in the MAS release you target before adding dependency or migration options; do not mix the wiki’s new module-header format into an established .rpy package.
Your first custom topic
- Download the template, edit its
mod/header.rpy, and follow its build instructions to create the distributable folder. - In a
.rpyfile, register an event with a label, a prompt (the text you click in the Talk menu) and a category. - Write the label: Monika's lines use the
mcharacter followed by an expression code (for examplem 1eua "..."). - Launch your test install; your topic appears under Talk once its conditions are met.
- Watch
log/submod_log.logandtraceback.txtfor errors.
Expression codes (like 1eua, 3hub) choose pose, eyes, eyebrows and mouth. The sprite previewer documented in the wiki shows what each code looks like, which saves a lot of trial and error.
Custom music, backgrounds, piano songs and sprites
| You want to add… | Where to read | In short |
|---|---|---|
| Music | Adding Custom Music (wiki) | Drop audio files into the custom music folder; they appear in the Music menu. |
| A background / room | Adding Custom Backgrounds (wiki) | Register a background with day and night images. |
| Piano songs | Adding Custom Piano Songs (wiki) | A JSON song file in the piano songs folder (see piano). |
| Clothes and accessories | Adding Sprite Objects (wiki) | A JSON sprite definition plus images in a spritepack. |
What font does MAS use?
MAS inherits DDLC's fonts for dialogue and menus; custom UI work should reuse the font files already in the game rather than add new ones, so your submod matches. Check the DDLC font files in the game folder before you choose.
FAQ
Do I need to know Python?
Is there a mod maker tool?
Can I publish my submod?
Keep reading
Sources
References reviewed. The MAS website, wiki and code count as one publisher. Table status describes the sources for each entry; multiple references from one project remain one source.
- MAS wiki: Interfacing with the Submod Framework — checked 2026-12-01
- Friends-of-Monika mas-submod-template — checked 2026-12-01
- MAS v0.12.20 submod registration API — checked 2026-12-01
- DDLCModTemplate repository — checked 2026-12-01
- MAS wiki: Adding Custom Music — checked 2026-12-01
- MAS wiki: Adding Custom Backgrounds — checked 2026-12-01
- MAS wiki: Adding Custom Piano Songs — checked 2026-12-01
- MAS wiki: Adding Sprite Objects — checked 2026-12-01
- MAS wiki: Logs and Other Files — checked 2026-12-01
- Team Salvato IP Guidelines — checked 2026-12-01