Skip to content
Cooper Harasyn edited this page Mar 20, 2023 · 3 revisions

With the release of Coilsnake 4.2, the new Music directory was added. Here is how you can use it with EBMusEd and custom samples.

Inserting .ebm Files From EBMusEd Into Your Game

After creating your wonderful song in EBMusEd (refer to this page), choose File > Export Song to export it as an .ebm file. Next, on the Song Table tab, identify the song pack (in the boxes on the right) and the song number (in the list).

In your project's Music folder, find the folder labelled the same as your song's song pack. Place your .ebm file here. Next, you have two options:

  1. Renaming the .ebm to match the song

The most straightforward method. Simply rename the existing file you're going to overwrite to something else, and then rename your song to what it used to be.

  1. Renaming the song to match the .ebm

In the parent Music folder, open songs.yml. Then, find the song number you want to overwrite there, and change the Song File entry to the name of your .ebm.

Setting The Instrument Packs For A Song

You will also need to ensure there is a .ebm.yml file in the same folder as your .ebm file with the same name - if your EBM is named abc123.ebm then the yml file should be named abc123.ebm.yml. It should contain two lines of text, informing CoilSnake about the instrument packs used for the song:

Instrument Pack 1: 0x05
Instrument Pack 2: 0x21

Replace the 0x05 and 0x21 with the primary and secondary music packs used by the song.

Managing Instrument Packs

This is actually identical to how the instrument packer functions! So if you've used that before, you'll understand how this all works.

Instrument packs are also stored under the Songs folder, and they follow the same naming pattern as the song packs themselves. Luckily there's no overlap. Simply identify the number of the instrument pack you want to edit, and navigate to the folder of that name. From here, just drop in your .brr samples and edit config.txt. It'll all be inserted when you compile your project. For instrument packer instructions, go here.

Clone this wiki locally