DSHack

Archive Generated December 23rd, 2018
Tutorial - Inserting Custom Voices/Sounds into MKDS
Author Posted on 2015/07/06
#88
Yawshi So here is a tutorial that I made back on MKDSCentral and so I should probably revive it here.
Anyway here is a voice hacking tutorial for MKDS which also applies to a few other DS games too (NSMB, to name one).This is a slightly better method than the one I previously used for my voice hacks as it stops the voices from cancelling other ingame sounds.

Anyway, You will need:
-MKDS Rom (duh) Download
-MKDS Course Modifier (Prefferably 3.0 Beta 4) Get it Here
-NDS Editor Get it Here
-Swav2Swar Get it Here
-wav2swav Get it Here
-Audacity Get it Here, requires installation

Let's begin!

NOTE: If you already have the contents of the sdat extracted, you can skip steps 1-5.

Step 1:
Open MKDS CM and load your MKDS Rom;

Step 2:
Navigate to data/sound in the ROM browser and right click and extract the 'sound_data.sdat' file, be sure to save it in a place that you can easily navigate to;

Step 3:
Close the Rom Browser (but not the rest of MKDS CM) and open NDSEditor and open your sdat;

Step 4:
Double click on the sdat you just loaded on the file list and a new window should appear. Check the select all button and then click extract;

Step 5:
Once the extraction is finished, a message box should appear saying "286 files extracted." and there will be a new folder in the same folder as your sdat called 'sound_data', which contains your extracted files. You can now close NDSeditor;

Step 6:
Go to MKDS CM click the open button and navigate to the newly created 'sound_data' folder, and find the 'Wave Archive' folder;

Step 7:
Locate and open the correct .swar file for the character that you wish to edit, for the sake of convenience, I have included a list here;

-----------------------------------------------------------------------
WAVE_003.swar - 2 Shy Guy Samples (possibly used for multiplayer menu?)
WAVE_004.swar - Contains the same 2 Shy Guy samples as 003
WAVE_005.swar - DK's ingame voice (not including Character Select)
WAVE_006.swar - Toad's ingame voice (not including Character Select)
WAVE_007.swar - Bowser's ingame voice (not including Character Select)
WAVE_008.swar - Luigi's ingame voice (not including Character Select)
WAVE_009.swar - Mario's ingame voice (not including Character Select)
WAVE_010.swar - Peach's ingame voice (not including Character Select)
WAVE_011.swar - Wario's ingame voice (not including Character Select)
WAVE_012.swar - Yoshi's ingame voice (not including Character Select)
WAVE_013.swar - Daisy's ingame voice (not including Character Select)
WAVE_014.swar - Waluigi's ingame voice (not including Character Select)
WAVE_015.swar - Dry Bones' ingame voice (Just 2 click sounds, not including Character Select)
WAVE_016.swar - R.O.B.'s ingame voice (Just 3 robotic sounds, not including Character Select)
WAVE_017.swar - Shy Guy's ingame voice
WAVE_046.swar - Character Select Voices for DK, R.O.B., Dry Bones, Toad, Bowser, Luigi, Mario, Peach and Wario
WAVE_047.swar - Character Select Voices for Daisy, Waluigi and Yoshi
-----------------------------------------------------------------------

For this tutorial, I will be editing Mario's character select voice, so I will need to open WAve_046.swar;

Step 8;
You should now be taken to a new window in MKDS CM; here you will need to extract each sample individually, by double clicking on it and clicking the floppy disc icon.
Save them as '0.wav', '1.wav', 2.wav etc;

Step 9:
Now you will need to find which of the .wav files you wish to change, in my case, Mario's voices are 11.wav and 12.wav, however, for this tutorial, I will only edit 12.wav. Open Audacity and drag the .wav you wish to change into it;

Step 10:
Now drag the new sound that you wish to replace the old one with into Audacity;

Step 11:
Now delete the original wav (12.wav in my case and export the new wav to replace the old one in the folder with the rest of the samples in;

Step 12:
Close Audacity and place 'wav2swav.exe' and 'Swav2Swar.exe' in the same folder as the voice samples;

Step 13:
Select all of the .wav files and drag them over wav2swav.exe;

Step 14;
All of your wavs should now be converted to .swav files. Delete the .wav files and open Swav2swar.exe;

Step 15;
Click the 'Add' button and select all of the .swav files in the folder (Use ctrl and click on them it's much faster than adding each one individually);

Step 16:
You should notice that the program will sort the swavs into the correct numerical order based off the file names. Click 'Create SWAR' and replace the original SWAR
file in the 'Wave Archive' folder in the 'sound_data' folder (In my case WAVE_046.swar);

Step 17:
Now you can close Swav2swar.exe and re-open NDSEditor. Click on tools and select 'Make sdat file...';

Step 18:
You should now be brought to a new window. Click on the '...' button next to 'Source Files Folder' and select the 'sound_data' folder;

Step 19:
Select your output folder and uncheck 'Include SYMB block' (it is checked by default) and click ok. Wait for the sound_data.sdat file to appear in the output folder and close NDSeditor;

Step 20:
Re-Open your ROM in MKDS CM (3.0 Beta 4) and replace the old sound_data sdat with the new one. Then close MKDS CM and you’re done!

Outcome:


Hope it helps! If you need any further help, feel free to ask here.
Author Posted on 2015/07/06
#92
Nice Boat Thank you for re-posting this Yawsh. :D
Author Posted on 2015/07/19
#302
Kitty Remilya Ambiance I did that but for some reason after re-packing the SDAT I got a 0 byte .sdat file. What's going on?
Author Posted on 2015/07/20
#324
Yawshi
I did that but for some reason after re-packing the SDAT I got a 0 byte .sdat file. What's going on?

Make sure 'Include SYMB block' is not checked when compiling the sdat in step 19.
Author Posted on 2015/07/21
#335
User 53 I followed each and every step, however when I play the ROM hack, the sound files I replaced for Luigi didn't sound and instead played the default sounds. Everything was going fine until Step 20, I think. When I replace the files, there's no indication the Sound_file sdat had been replaced, so I don't actually know what I've done wrong.
Author Posted on 2015/07/21
#337
Kitty Remilya Ambiance
I did that but for some reason after re-packing the SDAT I got a 0 byte .sdat file. What's going on?

Make sure 'Include SYMB block' is not checked when compiling the sdat in step 19.


Yes I disabled the SYMB block and I got 0 byte sdat again
Author Posted on 2015/07/21
#340
Kitty Remilya Ambiance After messing around a lot with sdat and Kiwi DS now I got a fully working 3.16 MB sdat file :D No more help needed
Author Posted on 2015/07/21
#341
Kitty Remilya Ambiance And successfully set up the new voice
Author Posted on 2015/07/22
#344
MKGirlism Why don't you just use the Edit Button?
A Forum is no Chat Box...
Author Posted on 2015/10/05
#679
Kitty Remilya Ambiance I also got it working in Kiosk Demo
Author Posted on 2015/10/05
#683
SGC Yellow I'm still waiting for a tutorial that'll tell us how to make music hacks.
Author Posted on 2016/06/16
#1828
User 264 I have modify the voice of Waluigi but it work only in Time Trial why?
Author Posted on 2016/12/27
#2664
User 387 When I try to export the files to wav form I got an error in something in the line of: There was an error, Wave_000.swar - Playing. Value cant be zero. SOmething like this. What happened?
Author Posted on 2017/08/20
#3458
User 569 I need help with something, for some reason, when I replaced the voices (in a different DS game, I was using this as a guide) for some reason, the character is completely mute, the voices are perfectly fine in MKDSCM and DS sound studio, but when I load up the game where I hacked the voices in, the voices are completely mute (the game I'm trying to voice hack is Super Mario 64 DS) for some reason my voices are mute and that bothers me so much, I want to know if this is a problem in light of the fact I'm hacking a different game, or if this happens with Mario Kart DS too (which I hope it does happen with Mario Kart DS as well as just a simple problem so that Super Mario 64 DS voice hacking can still be possible) I'm trying to change Mario's Super Mario 64 DS voices into Larry's Mario Kart 8 voices, does the audio files have to be under a specific size in order not to be mute, or could it be some other problem I'm having, I really want to pull this off in Mario 64 DS because I don't know anyone else that has tried to pull it off in Mario 64 DS so I really want to try to pull it off myself, can anyone help with this voice mute issue I am having? creating a file with Kiwi DS breaks the file for me btw, so I don't really use Kiwi DS to put the voices in, I use DS sound studio instead to add the voices to the sound_data.sdat file
Author Posted on 2017/08/20
#3460
SGC Yellow The voices are mute because the file size of the voice clips you used are too big, and they over flowed the RAM the game has avalible to it.
You need to lower the file size of your voice clips with an audio editing program.

And yes, the same thing happens with MKDS (Sorry to burst your bubble, but MKDS is even worse when it comes to this, since it's such a complex game) , it's not just 1 game, it pretty much happens with any DS game if you make the file too big,
and each game is going to require a different file size.

And I can't tell you how big it should be, you'll have to experiment until you get the files small enough to work properly.

The DS isn't like the Wii and such, so you can't just convert a that's high quality, and expect it to work.
Author Posted on 2017/08/20
#3461
User 569
The voices are mute because the file size of the voice clips you used are too big, and they over flowed the RAM the game has avalible to it.
You need to lower the file size of your voice clips with an audio editing program.

And yes, the same thing happens with MKDS (Sorry to burst your bubble, but MKDS is even worse when it comes to this, since it's such a complex game) , it's not just 1 game, it pretty much happens with any DS game if you make the file too big,
and each game is going to require a different file size.

And I can't tell you how big it should be, you'll have to experiment until you get the files small enough to work properly.

The DS isn't like the Wii and such, so you can't just convert a that's high quality, and expect it to work.


Thank you very much, I only need it for Super Mario 64 DS though, so that isn't a problem that it's worse in MKDS, I assume they have to be under 25 to 35 KBs or something like that but that's just my guess, and what I am about to try out (I'm gonna play it safe and try 25 to 30)

I know the DS isn't like the Wii, it's more like the Playstation 1, but I just naturally expect audio files not to be big at all, but I edited a few clips with Audacity and Resampling it to 8000Hz (the lowest size) does wonders on the audios file size and it still sounds great, and I think I just might accomplish my weekends goal tonight (because I have annoying time wasting American school that does not teach anything)
Author Posted on 2017/08/20
#3462
User 569 It worked, Thank you so much!
Author Posted on 2018/05/10
#3830
mkdshacker the mario video made me remember of "i am daisy" dont know y :)
Author Posted on 2018/08/27
#4172
CaptainLuigi Link doesnt work
Author Posted on 2018/08/27
#4173
テクニカル諏訪子 Which one of the 6?
Author Posted on 2018/08/30
#4181
CaptainLuigi Swav2Swar download link doesnt work.
Author Posted on 2018/08/30
#4182
テクニカル諏訪子 Error (429)
This link is temporarily disabled. The person who shared it hit their daily limit of traffic or downloads. Learn about traffic limits.

Expected for something hosted on a free file sharing site combined with someone who's no longer active.
Author Posted on 2018/08/30
#4183
CaptainLuigi Is there a way to download this file ?
Author Posted on 2018/08/30
#4184
テクニカル諏訪子 Assuming the error message says what it says, you could try again this evening (in Japanese time zone, which is morning in America, so I think that's where the daily limit resets itself).
However, when I click Learn about traffic limits, it doesn't seem to refer to daily limits.

エラー 429
エラー 429 �?�表示�?�れ�?�場�?��?��?共有リンク�?��?��?�ファイル リクエスト�?�所有者�?�大�?�?�トラフィックを生�?�?��?��?��?�を�?味�?��?��?�。
共有リンク�?��?��?�ファイル リクエスト�?�機能�?��?��??�?�り�?他�?��?�由�?��?�?�当�?�ら�?��?�場�?��?��?大�?�?�トラフィック�?�原因�?�使用�?止�?��?��?��?��?�能性�?��?�り�?��?�。

・共有リンク�?�使用�?止�?��?��?��?��?�る場�?��?��?新�?�?��?��?�既存�?�リンクを共有�?�る�?��?��?��?��??�?��?�ん
・ファイル リクエスト�?�使用�?止�?��?��?��?��?�る場�?��?��?ユーザー�?�ファイル リクエスト�?�応�?��?�ファイルをアップロード�?��??�?��??�?�り�?��?�

リンクやファイル リクエスト�?�使用�?止�?��?��?��?��?��?�も�?引�??続�?? Dropbox アカウントやファイル�?�アクセス�?�る�?��?��?��?��??�?��?�。


Error 429
If error 429 is being shown, it means the owner of the share link or file request got lots of traffic.
If the share link or file request becomes non-functional, and another reason does not come to mind, it's possible lots of traffic can cause it to be disabled.

・If the share link gets disabled, a new or existing link cannot be shared.
・If the file request gets disabled, user can no longer upload the a response file to the file request.

If the link and file request gets disabled, Dropbox account and file can still be accessed.