Archive Generated December 23rd, 2018
[Tutorial] Making Music Hacks
Author Posted on 2016/12/03
SGC Yellow This is a tutorial on how to make Music Hacks, for any first timer:

What you'll need
You'll need a Midi editing program of some sort, like AnvilStudio, which you can download here.

If you're using Linux you'll have to find a program, I'm unsure what could be used, at the moment.
(If anyone could recommend something for this, I'll add the link here).

For Windows users: You'll need KiwiDS for unpacking the SDAT, and repacking it again when you're done.
You can find it here:

For Linux users: A tool for unpacking the SDAT, and repacking it again, isn't out yet, for Linux.

You'll also need MIDI2SSEQ, and SSEQ2MIDI
For Windows Users:
you can find them here.

For Linux Users:
You can get them from the Linux Tool Repository as instructed here.

Unpacking, and repacking the SDAT
You'll need to extract the SDAT file from your ROM, and unpack it to view the files, and replace things.

For Windows users:

Extracting the SSEQ you want to replace

It's a good idea to use VGMTrans, for this purpose.
Simply open VGMTrans, drag, and drop the ROM file.
Find the song you're looking for, and extract it as a midi file:

Editing The Music Hack
Open the SSEQ you converted to a midi in Anvile Studio,
and take note of the instruments it uses for each channel:

Then open the the midi file you want to use for your Music Hack,
and change the instruments in each channel, to match the ones in the SSEQ:

Converting the SSEQ to MIDI

This is needed, since you would need to use the same instruments at the Music you want to replace.
Just open it along side the Music hack you're making, and use it for reference.

For Windows Users:

For Linux Users:
usage : sseq2mid (options)
--help show this usage
-0 --noreverb set 0 to reverb send
-1 --1loop convert to 1 loop (no loop)
-2 --2loop convert to 2 loop
-d --loopstyle1 Duke nukem style loop points (Event 0x74/0x75)
-7 --loopstyle2 FF7 PC style loop points (Meta text "loop(start/end)"
-l --log put conversion log
-m --modify-ch modify midi channel to avoid rhythm channel
sseq2mid by loveemu

To convert, you can simply type:
sseq2midi SOMETHING.sseq

Looping Your Music Hack

Make sure your Midi file isn't too big, by the way.
You'll need to remove anything that won't be in the Loop.

Converting the MIDI to SSEQ
Now you'll need to convert your MIDI to SSEQ, with MIDI2SSEQ.

For Windows users:

For Linux Users:

midi2sseq midifile sseqfile

To convert, you can symply type:
midi2sseq /path/to/input.midi /path/to/output.sseq

(Tutorial unfinished).

Anything in pink was added by MKGirlism.
Author Posted on 2017/01/18
User 385 There is no complete tutorial o_O
Author Posted on 2017/01/18
SGC Yellow It will be eventually, we've just been very busy, as of late.

Update: Windows users should be able to follow the tutorial, now.
Linux users will still have to wait, due to the lack of tools for Linux.
Author Posted on 2017/07/22
Toadio So Ive decided to make a more detailed version of this tutorial. Its only for windows though since i dont have linux and therefore couldnt obtain the screenshots i need.

So first of all you need a few Programmes:
MKDSCM (By Gericom) Download
EFE (By Gericom): Download Here
Midi2sseq and sseq2midi : Download Here
Any Midi editing software such as Anvil Studio: Download Here

You will also need:
Any MKDS Rom

Step 1: Open up MKDSCM and open up your Rom.
Step 2: Find the Sound_data.sdat by clicking that file named "Data" and then the file named "Sound". Right click on Sound_data.sdat and click "Export" and then save it where you know how to find it.
Step 4: After you have saved Sound_data.sdat open it using MKDSCM.
Step 5: Right click on the SSEQ you want to replace and click "Export". (Use the Kart resources page to refer to what SSEQ links to what track. Im using SSEQ41 which is Rainbow Road).
Step 6: Convert the SSEQ to a midi by navigating to where you saved the SSEQ and then moving the file to the midi2sseq/sseq2midi folder. Then drag the SSEQ into sseq2midi and wait until SSEQ?? apears (the ? represents any number).
Step 7: Open the Midi and look at the instrument set it uses. Make sure to refer to these instruments only otherwise your Music Hack wont work.
Step 8: Download the midi that you want to replace the origional music with, or navigate to where your own midis are on your PC.
Step 9: Open the Midi you downloaded or the midi you want to use and change the instrument set to match the instruments of the SSEQ then save the file.
Step 10: Find the Midi you just saved and move it to the Midi2sseq/sseq2midi folder. Open up CMD (included in the folder) and type midi2sseq nameofmidi.mid nameofsseq.sseq and hit Enter. It should reply with a few lines like this.
Step 11: Open your Sound_data.sdat in MKDSCM again and then right click on the SSEQ you want to replace. Click replace and navigate to your midi2sseq/sseq2midi folder that your new SSEQ is stored in and then click "Open".
Step 12: Click the floppy disk icon to save it and close the programme.
Step 13: Open EFE, Open your ROM and then navigate to where the Sound_data.sdat is located. Right click Sound_data.sdat and click "Replace" and then navigate to where your modified Sound_data.sdat is stored. Click "Open" to complete the operation and then click the floppy disk icon to save.

You have now succesfully replaced an SSEQ file in MKDS!
Author Posted on 2017/07/31
Rover https://youtu.be/R5IWodEidcU
Heres a video of me doing the almost exact thing :3
Author Posted on 2017/08/21
User 570 Hello, first, sorry for my bad english, i live in Germany.

I have a question to the second tutorial, i don't know, how this is meant:
Step 9: Open the Midi you downloaded or the midi you want to use and change the instrument set to match the instruments of the SSEQ then save the file.

Should I have exactly as many tracks as in the original and then these exactly the same instrument for the track take?
I have downloaded a midi (Pokémon Sun/Moon- Gladions Battle Theme by ShinkoNet) and would replace the Rival Theme from Pokémon White 2. The Gladion-MIDI had 12 tracks and the original had only 8 Tracks. I hope, that someone can help me.

Best regards, Pikachu2001.
Author Posted on 2017/08/21
Kitty Remilya Ambiance Number of tracks don't matter. You can have as many tracks as you want.
Only the instrument matters.
Author Posted on 2017/08/21
User 570 Can it be true, that i make a mistake? Every time the same!

Author Posted on 2017/08/21
User 570 And actually only the first 8 tracks must contain the exact same instruments as the 8 tracks from the original of the game, or can I also insert the instruments from the DLS somehow?
Author Posted on 2017/08/22
Kitty Remilya Ambiance You can insert instruments from the DLS to see if it works, if not, use the instruments from the original music.
Author Posted on 2017/08/22
User 570 Hey, I've tried it before, but unfortunately the same problem again. Does anyone know why the problem could be? I have already tried everything, but again and again the music is as shown in the video ... Thanks!
Author Posted on 2017/08/22
User 570 I have now moved to Pokémon HG / SS because I can extract the MIDI from Pokémon Black / White 2 and use it for HG / SS and there are no problems with the instruments as all songs use the same instruments! So now everything goes!
Author Posted on 2017/08/26
User 570 So, i have good news: i can now edit the music in Pokémon Black and White 2 without have problems, because i found a video on YouTube and its working perfectly for me. He used in the Video not the MIDI2SSEQ Converter, but he used the smfconv.exe and seqconv.exe. It is easier than the MIDI2SSEQ way, because i must no more use a Hex editor for the corrupted SSEQs, that MIDI2SSEQ generate.
Author Posted on 2017/10/13
ShadowLink how does one loop the audio with this method?