Skip to content
This repository was archived by the owner on Mar 29, 2021. It is now read-only.

Creating a template MML file

TakuikaNinja edited this page Apr 8, 2020 · 1 revision

Creating a template MML file (Top level commands)

In this page I will go through the process of writing a template MML file, and explain the top level commands used for this. Having a template comes in handy as you can simply copy the template to quickly start a new MML song. For editing MML files, I recommend using Notepad++ with a user-defined language .xml such as this one by tactical bread.

Step 1: Creating the file

This step is very straightforward; you simply need to create a new .txt file and rename it to use .mml. 'template.mml' is a good name for this.

Step 2: Entering the top level commands

Now that you have created your MML file, let's put in some top level commands. Copy & paste this into your file:

#TITLE-E 
#GAME-E 
#COMPOSER 
#PROGRAMER 
#SYSTEM VGMCK

#EX-??? 

These top level commands are essential when compiling to VGM; these will become the file tags. You can enter parameters after the space in each command.

  • #TITLE-E - the title of your song. The E stands for English. You could also add #TITLE-J to enter a Japanese one as well.
  • #GAME-E - the game/album name. #GAME-J is the Japanese variant.
  • #COMPOSER - the composer. If you're arranging a song, the original composer's name should go here.
  • #PROGRAMER - the programmer. If you're arranging a song, the arranger's name should go here. The misspelled usage is correct here.
  • #SYSTEM - the system the song is written for. The VGM format actually intends the game console/computer name to be used, but VGMCK is used here to denote the compiler instead. You don't want people to use the wrong compiler, after all.
  • EX-??? - the sound chip used. The ??? needs to be replaced with the name specified by the chip here.

Save the changes, and now you have a template MML file to work from!

Clone this wiki locally