ROM Hack How can I inject my own audio into .bcsar files?

HelpTheWretched

Well-Known Member
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
The program I've used is called 3DS Audio Ripper, it's pretty simple. I did a quick search and didn't find a link, so I'm attaching the file for you here. A BCSar can contain several kinds of files, and sounds are typically CWAV.

You could also extract them with a hex editor - just search the BCSar file for a "CWAV" header and copy everything up until the next header.

As for injecting your own audio: It's possible, also using a hex editor, but there's a good chance that your custom CWAV will need to be exactly the same file size as the one you want to replace. That's because it seems that games/apps refer to sounds in the BCSar by their location, not by name. You'll also need a program to convert your sound files to CWAV, which can be extremely hard to find outside of Nintendo devkit software... :ph34r:
 

Attachments

  • 3DSAudioRipper.zip
    30.4 KB · Views: 1,071

dj505

Inexperienced Romhacker
OP
Member
Joined
Oct 4, 2014
Messages
556
Trophies
0
Location
Most likely at the arcade
Website
www.youtube.com
XP
844
Country
Canada
The program I've used is called 3DS Audio Ripper, it's pretty simple. I did a quick search and didn't find a link, so I'm attaching the file for you here. A BCSar can contain several kinds of files, and sounds are typically CWAV.

You could also extract them with a hex editor - just search the BCSar file for a "CWAV" header and copy everything up until the next header.

As for injecting your own audio: It's possible, also using a hex editor, but there's a good chance that your custom CWAV will need to be exactly the same file size as the one you want to replace. That's because it seems that games/apps refer to sounds in the BCSar by their location, not by name. You'll also need a program to convert your sound files to CWAV, which can be extremely hard to find outside of Nintendo devkit software... :ph34r:
Thanks! This is exactly what I needed!
 

HelpTheWretched

Well-Known Member
Member
Joined
Feb 4, 2010
Messages
315
Trophies
1
XP
1,560
Country
Canada
If you can't find a WAV > CWAV converter, I've got enough free time to convert a couple for you... I'll just need to know the exact number of bytes of the one(s) you're replacing. ;)
 

TopCape

New Member
Newbie
Joined
Feb 15, 2021
Messages
4
Trophies
0
Age
23
XP
72
Country
Portugal
Can you please convert the original fire temple wav for me?

This tool can convert .WAV to .BCWAV (this specific version only from what I understand): It is called LoopingAudioConverter and it is in github, specifically the tag v2.3.1-rstmcpp, which is a pre-release, has this feature.

Also, I don't know your intent with wanting that converted but in case it has to do with restoring the original fire temple music, it is already done (please read NOTE part inside): It is available in gamebanana by the name Original Fire Temple Chanting (with the end of the url being /sounds/51786)

PS: I cannot post links because I just made this account
 
  • Like
Reactions: Zense

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Taco Saturday
  • AncientBoi @ AncientBoi:
    Uhh, It's 🌯 Saturday dude. :) js
  • BigOnYa @ BigOnYa:
    Nope that for tomorrow, cinco de mayo, today is bbq chicken on the grill.
  • K3Nv2 @ K3Nv2:
    Juan's new years I forgot
    +2
  • AncientBoi @ AncientBoi:
    :hrth::toot::grog::grog::grog::bow: HAPPY BIRTHDAY to me :bow::grog::grog::toot::hrth:
  • K3Nv2 @ K3Nv2:
    One day away from Juan's birthday
  • K3Nv2 @ K3Nv2:
    Only if you send him feet
    +1
  • BigOnYa @ BigOnYa:
    Happy birthday!
    +1
  • AncientBoi @ AncientBoi:
    Thank You :D
  • realtimesave @ realtimesave:
    heh I got a guy who created an account just yesterday asking me where to find mig switch roms
  • realtimesave @ realtimesave:
    too much FBI watching this website to answer that kind of question lol
  • K3Nv2 @ K3Nv2:
    Has the mig switch found loopholes without requiring game keys?
  • Xdqwerty @ Xdqwerty:
    @AncientBoi, happy birthday
  • Xdqwerty @ Xdqwerty:
    Yawn
  • Xdqwerty @ Xdqwerty:
    Lonely here
  • Xdqwerty @ Xdqwerty:
    Anybody?
  • Psionic Roshambo @ Psionic Roshambo:
    I want my money back... Drug test? No drugs to test but they want me to pee in a cup! Lol
  • K3Nv2 @ K3Nv2:
    Better call Pedro you're up in smoke
    +2
  • C @ Clayton44333:
    hey any1 know if there is a new version of the ps4 homebrew store ?
  • Xdqwerty @ Xdqwerty:
    Finally there are people here
  • K3Nv2 @ K3Nv2:
    We're figments of your imagination
    +1
    K3Nv2 @ K3Nv2: We're figments of your imagination +1