Skip to content
MONIKA AFTER STORY
Menu

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.

Monika in a pink top talking in the evening spaceroom, Talk / Extra / Music / Play buttons on the left
Frame from “I am the hangman champion | Monika After Story” by AfroZer0 on YouTube.

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.

Metadata registration from the Friends-of-Monika template (mod/header.rpy)
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

  1. Download the template, edit its mod/header.rpy, and follow its build instructions to create the distributable folder.
  2. In a .rpy file, register an event with a label, a prompt (the text you click in the Talk menu) and a category.
  3. Write the label: Monika's lines use the m character followed by an expression code (for example m 1eua "...").
  4. Launch your test install; your topic appears under Talk once its conditions are met.
  5. Watch log/submod_log.log and traceback.txt for 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 readIn short
MusicAdding Custom Music (wiki)Drop audio files into the custom music folder; they appear in the Music menu.
A background / roomAdding Custom Backgrounds (wiki)Register a background with day and night images.
Piano songsAdding Custom Piano Songs (wiki)A JSON song file in the piano songs folder (see piano).
Clothes and accessoriesAdding 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.

Read this before you start. The top of the MAS wiki's submod-framework page currently says the framework is under a big overhaul for the Python 3 migration, that old-style submods will become incompatible, and that people should avoid creating new submods for now; the team plans a conversion tool. Learning the format is still worthwhile, but expect to convert anything you write.

FAQ

Do I need to know Python?

A little helps. Most topics are plain Ren'Py dialogue; Python is for logic and conditions.

Is there a mod maker tool?

There is no visual editor from the MAS team. The template and the sprite previewer are the closest thing.

Can I publish my submod?

Yes — most authors use a GitHub repository with releases. Follow Team Salvato's IP Guidelines, which, among other things, forbid using generative AI to depict DDLC characters.

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.

  1. MAS wiki: Interfacing with the Submod Framework — checked 2026-12-01
  2. Friends-of-Monika mas-submod-template — checked 2026-12-01
  3. MAS v0.12.20 submod registration API — checked 2026-12-01
  4. DDLCModTemplate repository — checked 2026-12-01
  5. MAS wiki: Adding Custom Music — checked 2026-12-01
  6. MAS wiki: Adding Custom Backgrounds — checked 2026-12-01
  7. MAS wiki: Adding Custom Piano Songs — checked 2026-12-01
  8. MAS wiki: Adding Sprite Objects — checked 2026-12-01
  9. MAS wiki: Logs and Other Files — checked 2026-12-01
  10. Team Salvato IP Guidelines — checked 2026-12-01

Advertisement