UF's adventures in DS hacking by unknownfile at 12:10 PM EST on January 21, 2007
I now have an Action Replay for my DS.

I am going to try to do some hacking to some of my DS games to see if I can try and get them to halt unneeded activity and just play music.

For now, however, I have to study sciencecruft.
by marioman at 1:07 PM EST on January 21, 2007
Nice! Please do keep us posted.
by unknownfile at 1:10 PM EST on January 21, 2007
Just flashed the firmware on my DS using FlashMe, and this time I didn't brick the thing, so yay.

Btw, my MKDS friend code is 296442-809445.

edited 1:11 PM EST January 21, 2007
by DrO at 1:33 PM EST on January 22, 2007
yay indeed that at least attempt #2 didn't brick things

-daz
by unknownfile at 9:30 AM EST on January 23, 2007
Not so important:
Tried a port of Heretic to the DS out, and it said I didn't have the WAD... I already have the WAD on my disk, so I should read the instructions to see how to install a WAD into the thing.

More important:
Datel is promising that they're going to be releasing a Trainer Toolkit, which includes a debugger, so this will be useful in my quest in DS music ripping.
by unknownfile at 4:28 PM EST on January 23, 2007
FWNitro now installed on my DS. I haven't noticed any problems yet. What's odd is that FlashMe allowed me to install FWNitro without needing to short SL1.

This allows for more debugging features and such, as well as the MKDS offline courses online hack which I am testing right now.
by Jouw at 1:24 PM EST on January 27, 2007
I thought I'd mention that the Nitro Composer music format has already been hacked on the DS. It's a bit complicated to get to it, but it can be done. Not all games use it, but most do (mostly Nintendo games, but some others do - the only non-Nintendo game I've tried is Cooking Mama, but I've heard quite some others also do).
Here's how to get it:
There are 2 ways.
The first is more complicated, but allows you to get streamed music.
You need to extract the ROM's filesystem using NDSTool, NDSTS or NDSHeader. Then you will get a bunch of files. You need to find one called "sound_data.sdat". Some are named differently (Yoshi's Island DS uses "YOSHI_DS.sdat" for one of the 2 sound data files it has) but they all have SDAT extensions. If you can't find these, the game doesn't use the Nitro Composer format.
Next, you need to get these. The method I'm familiar with is a program called "sdattool". It's a command line program.
First, you need to use it (I'll provide it later). Run it with this parameter string: "sdattool -x sound_data.sdat" (obviously, replacing sound_data if the name of the file is different).
It might be a good idea to rename the file to something that you can tell what game this is (eg. nsmb.sdat, yoshi.sdat) before you do this.
Next, a folder with the same name as the file will be created. Go in and you'll see several folders: Bank (instruments for sequenced music), Seq (sequenced music), SeqArc (not exactly sure what this is, but I believe it associates the sequences with the instruments and samples needed), Strm (not used much, streamed music), and WaveArc (sample archives - I don't know how to extract them, I have a program that converts the individual samples called "swav2wav" but it doesn't extract them. But you can still get the samples - I'll cover this later). I'll go through them in order.
Basically, the only ones you can access by this method are sequences and streamed music (some games mix up some a little - WarioWare Touched uses sequences for Wario's voices, and Mario Hoops 3-on-3 uses streams for the character voices and a few pieces of music).
First, sequences. You need "sseq2mid". It converts the sequences to MIDI files. Unfortunately, they usually sound awful, as the instruments are all messed up.
Next, streamed music. You need "strm2wav". Just drag an STRM file onto the program (do this with SSEQs and sseq2mid too) and you will get a WAV file.
Really, there's not much you can get this way.
Now I'll cover method 2.
This is with a program called "VGMTrans". Something has gone wrong with the website for it, so I'll provide it later as well. It extracts everything except the streamed music.
First, open VGMTrans and drag an NDS rom into the window (not on the EXE, on the window, this is important). Then, if it doesn't crash, you will get lists. In "File List", the ROMs you have open will be displayed. In Detected VGM Files, you will see a list of the sample archives, sequences and instrument banks. In Item View, it will mess up the display. But if you select a file from the "Detected VGM Files" list, a list of samples/tracks/instruments will show up. If you select a sample archive, right click on the Sample ## in Item View to save a sample as a WAV. But this isn't too useful as there's something better.
Next, you can double-click on a file in Detected VGM Files to see a hex view of it. You can also select an item from Item View to see what portion of the hex view corresponds to that item.
Next, you can right-click on files in Detected VGM Files to save the entire sample archive as WAV (if you right clicked on a sample archive), an instrument bank as a DLS and a sequence as a MID (easier way to use sseq2mid, basically - both do the same).
Next, at the bottom you will see two panes: Coll Info and Collections. In Collections, you will see a list of all the sequenced music in the game. Click on one (beware, this can sometimes crash VGMTrans) and press Space, or select the Play button on the toolbar to hear the music, with instruments and all - but the readme states the DS's basic tone and noise channels aren't supported, so some tunes don't sound perfect. When you've got something selected in Collections, in the Coll Info pane you will see the banks, sample archives and sequences that make up one "collection", as the program calls it.
I think this is all now.

A few other things also:
Sseq2mid can be run with parameters (run it in a command prompt for more info) to add stuff like loops to the MIDIs, which is where it's better than the VGMTrans conversion.
Something else I forgot to mention was Sseqseek. It's not too useful, but it analyses an SSEQ file and displays a rundown of all the data inside. I've also included it.

Here, you can download all this stuff: http://www.sendspace.com/file/qln9a1
Note, also, that I made nothing of it other than this guide to it.
by unknownfile at 4:02 PM EST on January 27, 2007
it's better to do the entire thing emulated
by Jouw at 5:18 PM EST on January 27, 2007
One thing also - If you're going to do it emulated, NDSTool can re-pack a ROM's filesystem. So you can do that and remove every file except those you need to save a lot of space.
by jurassicPieter at 9:05 AM EST on January 30, 2007
I noticed some tracks play silent but still contain music when exporting them as midi and soundfonts. Some channels in Tetris DS music is not playing and in acww there's a large amount of them not playing(probably furniture sound fx) and the midi playing the fanfare playing when you get hit by a tarantula or scorpion. When listening to mp3's of them i noticed the missing channels are often square waves or other synthesized instruments instead of using waves inside sound_data.sdat.

Edit: Never mind, i see now that it was already mentioned.

edited 9:07 AM EST January 30, 2007
by Omochao at 4:09 AM EST on February 3, 2007
What I am curious about are DS MOVIES. I know that some movies(such as the Intro of Final Fantasy III, and the Intros and Endings of March of the Minis)are in ACTimagine format, but I don't know how to play those on the PC.
by Jouw at 6:50 AM EST on February 3, 2007
I don't think you will find one.
The Actimagine website states you need a licence.
Quoted from it:
In general, Mobiclip license is required for the
* Encoder
* Decoder
Delivery of contents in Mobiclip Format

So that means we probably won't find a player for it.
by unknownfile at 9:57 PM EST on February 7, 2007
I now have Yoshi Touch and Go running on my DS by way of my flashcart and my Action Replay DS (Nintendo, this is your chance to sue Datel!). This will help me in my quest when I decide to actually patch the thing, though darkfader's ndstool screws up the ROM so that the passme patcher doesn't work.
by me at 11:49 PM EDT on March 13, 2007
I am looking for a way to test .sdat files. Do you guys know if there are any programes for that?
by unknownfile at 12:06 AM EDT on March 14, 2007
vgmtrans
by me at 12:13 AM EDT on March 14, 2007
Thanks

edited 12:21 AM EDT March 14, 2007
by me at 1:37 AM EDT on March 14, 2007
so vgmtrans does not do exactly what I want. I want to be able to call a specific program in the .sdat like program 1 or program 60 and here what is sounds like. When I was working on a game we had this ability through a devkit and nitroplayer.

Does ensata have sound?
by Jouw at 6:32 AM EDT on March 14, 2007
I do not believe Ensata has sound. However, Desmume has perfect sound.
I would try to help you, but I'm not sure what programs are.
by unknownfile at 5:32 PM EDT on March 14, 2007
Desmume lags ass though.


Go to Page 0

Search this thread

Show all threads

Reply to this thread:

User Name Tags:

bold: [b]bold[/b]
italics: [i]italics[/i]
emphasis: [em]emphasis[/em]
underline: [u]underline[/u]
small: [small]small[/small]
Link: [url=http://www.google.com]Link[/url]

[img=https://www.hcs64.com/images/mm1.png]
Password
Subject
Message

HCS Forum Index
Halley's Comet Software
forum source