ROM Hack 3DS .CWAV Dumper

loco365

Well-Known Member
OP
Member
Joined
Sep 1, 2010
Messages
5,457
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
 

kyogre123

Mexican Pride
Member
Joined
Sep 23, 2013
Messages
2,920
Trophies
0
Age
34
XP
1,347
Country
Mexico
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?
 

loco365

Well-Known Member
OP
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
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.
 

xXMortalKombatXx

Well-Known Member
Newcomer
Joined
Apr 14, 2012
Messages
69
Trophies
0
XP
60
Country
Brazil
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
 

loco365

Well-Known Member
OP
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
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.
 

loco365

Well-Known Member
OP
Member
Joined
Sep 1, 2010
Messages
5,457
Trophies
0
XP
2,927
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!
 

FAST6191

Techromancer
Editorial Team
Joined
Nov 21, 2005
Messages
36,798
Trophies
3
XP
28,321
Country
United Kingdom
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.
 

Pong20302000

making notes on everything
Member
Joined
Sep 8, 2009
Messages
8,079
Trophies
2
Location
One's inner self
Website
3dsdb.com
XP
2,440
Country
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
 

Coto

-
Member
Joined
Jun 4, 2010
Messages
2,979
Trophies
2
XP
2,565
Country
Chile
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
 

DinohScene

Gay twink catboy
Global Moderator
Joined
Oct 11, 2011
Messages
22,530
Trophies
4
Location
Восторг
XP
22,743
Country
Antarctica
  • Like
Reactions: IronClouds

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    Psionic Roshambo @ Psionic Roshambo: https://m.youtube.com/watch?v=FzVN9kIUNxw +1