Defining Songs to the Player - Bronya-Rand/DDLC-OSTPlayer GitHub Wiki
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 listfull_name
- Defines the name of the song in the player titlepath
- Defines the path to where your song is located in your modpriority
- Defines the priority the song is listed in the button listauthor
- Defines the artist, composer of the songdescription
- Defines what this song is aboutcover_art
= Defines whether this song has a cover art- For
cover_art
you can either define the path to the cover art likecover_art = 'mod_assets/bgm/01.png"
or set it toFalse
which means it has no cover art.
- For
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.
- Drop the files you want to be defined to the player to a folder called
track
in thegame
folder.
For metadata information and such, refer to the Metadata Section of the Wiki.