ROM Hack 3DS .CWAV Dumper

  • Thread starter Thread starter loco365
  • Start date Start date
  • Views Views 97,590
  • Replies Replies 182
  • Likes Likes 17

loco365

Well-Known Member
Member
Joined
Sep 1, 2010
Messages
5,457
Reaction score
2,700
Trophies
0
XP
2,927
Download V0.5 Here!

So I've been working on a tool after doing a small amount of research. This tool, as you guessed, dumps 3DS audio files. What's cool, is that if you have the ability to dump your RAM, you can dump these audio files.

Now, it dumps in the original binary formats. Want proof that this application works? I managed to dump the following audio clip with it:

Surprise 1: Click here and listen for a surprise!!!
Surprise 2: Click here.

You can use RAM dumps, or anything that you can rip audio data out of (In the future, that could even be from Roms and decrypted firmware).


To use the application, you will need a few things:
1. The app (Duh)
2. A RAM dump (You'll need an exploited 3DS for this. If you have more than one, you might get additional audio that another dump may not have. Try running a game for a minute or two prior to dumping.) Use this application to dump the appropriate ram: http://gbatemp.net/threads/homebrew-development.360646/page-19#post-4908000
3. Winamp/Foobar2000 and the vgmstream plugin (This is optional, however, if you want to test the streams you've dumped, you'll need this)


Changelog:
0.5: Added file streaming support to properly support files 1GB and larger, minor main form changes.
0.4a: Fixed a few more formats. Some endianness wasn't implemented properly. Oops.
0.4: Added CSEQ support, fixed a bug in SSEQ reading, and added folders for each extracted filetype.
0.3b: Fixed a major error when the program read the wrong offset for filesize and dumped very small files. BE SURE TO UPDATE TO THIS VERSION!
0.3a: Forgot to switch up a few flags and and whatnot. Oops.
0.3: Program optimizations, added more file formats for ripping.
0.2: Added file scanning, and made the overall program a bit better, easier, and faster to use. Includes .CWAV and .CSAR ripping support.
0.1: Initial release.

Supported dump formats are:
-CWAV (CTR Waves)
-CSAR (CTR Sound Archives)
-SSEQ (DS Sound Sequence)
-CSTM (CTR Stream)
-CSEQ (CTR Sequence)

This program is still in beta (It's getting there though!!), so don't be surprised if it crashes somehow. It's a great program, but it is still a little rough around the edges.

Credits where they are due:
Ris312 for the original CWAV file format specification thread that I referenced from
Jambo51 for giving me a snippet of code he adapted that fixed any and all scanning bugs
 
Wow Team Fail, this is really cool. Kudos to you.

By the way, is that noise at the end part of the original file or is it an error in the dumping process?
 
Wow Team Fail, this is really cool. Kudos to you.

By the way, is that noise at the end part of the original file or is it an error in the dumping process?

That one was a manual rip, which is an error in my manual dump on my part. I tested another copy of that sound when I finished debugging this app, and there is no noise in it.
 
Nice, now that's one step forward for me to get those sweet sounds out of my 3ds, specially the wet fap click sound that's played when you move a channel

@edit: or i could just have recorded it with my microphone Lol
 
Does this mean we can finally dump the pure soundtracks of games like Mario Kart 7, without engine noises? :D

From what I'm told, gametime Ram can't be dumped yet, but once it's possible, and the game does use those streamed formats, then yes, you can.
 
From what I'm told, gametime Ram can't be dumped yet, but once it's possible, and the game does use those streamed formats, then yes, you can.

D'aw, at least it'll come soon... I can't wait till we can just open up .3DS files like .ZIP files (Like we can with Wii ISO's).
 
I couldn't upload it to filetrip, so I uploaded it to dropbox for now (The bit.ly link is for stat collection). Take a peek with the program, and I've also included instructions in the OP on how to use the app. Hope you all enjoy!
 
Have you run it against the sound files in the pyramids 3d demo?

I see several cwav strings, along with "strm" (not sure if it is the same as the SDAT one), in the bcsar file. Bonus is it has some nice xml files and the like which could be good to look at.
 
I couldn't upload it to filetrip, so I uploaded it to dropbox for now (The bit.ly link is for stat collection). Take a peek with the program, and I've also included instructions in the OP on how to use the app. Hope you all enjoy!

well long as there is no nintendo code actually in this dumper you should be fine to upload to filetrip
but if there is links to it arnt even allowed on GBATemp

nice tool tho :D
 
Have you run it against the sound files in the pyramids 3d demo?

I see several cwav strings, along with "strm" (not sure if it is the same as the SDAT one), in the bcsar file. Bonus is it has some nice xml files and the like which could be good to look at.

afaik strm are index+instrument soundfiles. which have a proper header, sound frequency, wavelength (a sine function gets the audio frames), and such
 
  • Like
Reactions: IronClouds

Site & Scene News

Popular threads in this forum