ROM Hack RELEASE BWAV extractor (BARS-to-BWAV)

  • Thread starter Thread starter jackz314
  • Start date Start date
  • Views Views 4,373
  • Replies Replies 2
  • Likes Likes 6

jackz314

New Member
Newbie
Joined
May 20, 2020
Messages
2
Reaction score
6
Trophies
0
Age
26
XP
82
Country
United States
The more recently-released games (like ACNH) use BARS files as containers for their sound effects that are encoded in BWAV format. The larger sound files are usually in BWAV formats already and can be read or converted with tools like vgmstream, but I couldn't find any tools to extract BWAV files from these BARS files, so I made one myself.

The code is written in C++, should be cross-platform, although I only tested it on Ubuntu. I built executables for Linux, which is available in my github repo at github/jackz314/bars-to-bwav (I'm new so I can't post any links yet) and in the attachment.

For more details about the code see the github repo, but basically, run it like this: bars-to-bwav <bars file or folder containing bars files> [bwav output folder]

Any feedback is appreciated. Initially, I wanted to use Python, which should be easier, but I wanted to practice my C++, so here we are.
 

Attachments

Last edited by jackz314,
Hey, thanks for this. It was useful for AC:NH. However you and anyone else should know it only works if you have MinGW installed. (This was on Windows, and I downloaded the built executable.) Maybe that was obvious, but I’m not very knowledgeable about coding— I'd never heard of MinGW before this. First it was telling me I was missing two .dll files, which I downloaded, but then it gave me a “point of entry” error. Once I downloaded and installed MinGW, I put the .exe file in the bin folder and it worked great! You may want to mention this on the github.
 
Hey, thanks for this. It was useful for AC:NH. However you and anyone else should know it only works if you have MinGW installed. (This was on Windows, and I downloaded the built executable.) Maybe that was obvious, but I’m not very knowledgeable about coding— I'd never heard of MinGW before this. First it was telling me I was missing two .dll files, which I downloaded, but then it gave me a “point of entry” error. Once I downloaded and installed MinGW, I put the .exe file in the bin folder and it worked great! You may want to mention this on the github.
Glad to know it was useful to you, sorry about the MinGW thing, because it was on my machine when I tested it, I just forgot about it. I just pushed a change that should get rid of the need for MinGW or other dev libraries, you can check out the latest release in the GitHub repo if you're interested.
 

Site & Scene News

Popular threads in this forum