Skip to content

Defining Songs to the Player

Hanaka edited this page Oct 4, 2020 · 2 revisions

To define songs to the player, you have 2 options. Either defining them manually or letting the player do it automatically.

Defining Manually

Use the following template format to code in your song to the player past line 406 but above 450.

your_reality = soundtrack(
    name = "Your reality",
    full_name = "Your reality",
    path = "bgm/credits.ogg",
    priority = 1,
    author = "Monika",
    description = "I made mistakes, hurt you, hurt my friends. All I can do is hope you all forgive me.",
    cover_art = False
    )    

Here is a brief explanation to what each section does

  • name - Defines the name of the song in the button list
  • full_name - Defines the name of the song in the player title
  • path - Defines the path to where your song is located in your mod
  • priority - Defines the priority the song is listed in the button list
  • author - Defines the artist, composer of the song
  • description - Defines what this song is about
  • cover_art = Defines whether this song has a cover art
    • For cover_art you can either define the path to the cover art like cover_art = 'mod_assets/bgm/01.png" or set it to False which means it has no cover art.

Defining Automatically

This depends whether you changed the path of where the player scans. If you did so, follow through with this guide but of course direct it to your new location.

  1. Drop the files you want to be defined to the player to a folder called track in the game folder.

For metadata information and such, refer to the Metadata Section of the Wiki.

Clone this wiki locally