Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.
The main server is currently down. We are running on a backup server, so editing and search functionality are temporarily disabled. Please check back in a few hours.

BARS-to-BWAV Switch: Difference between revisions

From GameBrew
Created page with "{{Infobox Switch Homebrews |title=BWAV extractor |image=Switch-logo.png |description=BWAV extractor (BARS-to-BWAV). |author=jackz314 |lastupdated=2020/05/20 |type=Hack Utilities |version=2020 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/bwavextractorswitch.7z |website=https://gbatemp.net/threads/bwav-extractor-bars-to-bwav.565555/ |source= |donation= }} {{#seo: |title=Switch Rom Hacks (Hack Utilities) - GameBrew |title_mode=append |image=Switch-logo..."
 
m HydeWing moved page BWAV Extractor Switch to BARS-to-BWAV Switch without leaving a redirect
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Infobox Switch Homebrews
{{Infobox Switch Homebrews
|title=BWAV extractor
|title=bars-to-bwav
|image=Switch-logo.png
|image=Switch-logo.png
|description=BWAV extractor (BARS-to-BWAV).
|description=Extracts BWAV files from BARS files (usually used as sound containers in Nintendo Switch games).
|author=jackz314
|author=jackz314
|lastupdated=2020/05/20
|lastupdated=2020/05/20
Line 10: Line 10:
|download=https://dlhb.gamebrew.org/switchhomebrews/bwavextractorswitch.7z
|download=https://dlhb.gamebrew.org/switchhomebrews/bwavextractorswitch.7z
|website=https://gbatemp.net/threads/bwav-extractor-bars-to-bwav.565555/
|website=https://gbatemp.net/threads/bwav-extractor-bars-to-bwav.565555/
|source=
|source=https://github.com/jackz314/bars-to-bwav
|donation=
|donation=
}}
}}
{{#seo:
This code extracts BWAV files in BARS containers and saves them into respective folders (based on their names). You can run it against a single BARS file or multiple BARS files in a folder.
|title=Switch Rom Hacks (Hack Utilities) - GameBrew
 
|title_mode=append
BARS files are usually used as sound containers in newer Nintendo Switch games (e.g. [https://www.animal-crossing.com/new-horizons/ Animal Crossing: New Horizon]). They can usually be found in the <code>Sound/Resource</code> folder in the game's extracted ROM.
|image=Switch-logo.png
|image_alt=BWAV extractor
}}
{{cleanup|article|Needs cleanup}}
BWAV extractor (BARS-to-BWAV).


==Media==
The extracted BWAV files can then be opened or converted to other more common format elsewhere ([https://github.com/losnoco/vgmstream vgmstream] is recommended), they are essentially a new container for sound data encoded in one of the two ways, either plain 16-bit little endian PCM (usually shorter sound effects), or Nintendo's DSP 4-bit ADPCM (longer ones).
<youtube></youtube>


The code is written in C++, should be cross-platform (only tested it on Ubuntu).


==Screenshots==
==User guide==
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-01.png
<pre>
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-02.png
Usage:
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-03.png
bars-to-bwav <bars file or folder containing bars files> [bwav output folder] [--no-overwrite]
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-04.png
or: `bars-to-bwav -h` to bring out this menu.
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-05.png
add `--no-overwrite` flag to prevent from overwriting files with the same names.
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-06.png
</pre>
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-07.png
https://dlhb.gamebrew.org/switchhomebrews/Switch-logo-08.png


==Changelog==
==Changelog==
'''v.1.0'''
'''v0.1.2 2020/07/21'''
* First Release.
*Change the build to static link, removes the need for DLLs on target machines (especially MinGW on Windows).
'''v0.1.1 2020/06/17'''
*Use C++17, add Windows (MinGW) support. Now deals with illegal characters in file name and inconsistent file structures.
'''v0.1 2020/05/20'''
*Release for Linux.


== External links ==
== External links ==
* Gbatemp - https://gbatemp.net/threads/bwav-extractor-bars-to-bwav.565555/
* GitHub - https://github.com/jackz314/bars-to-bwav
* Github -
* GBAtemp - https://gbatemp.net/threads/bwav-extractor-bars-to-bwav.565555/
* Reddit -

Latest revision as of 02:19, 21 June 2023

bars-to-bwav
General
Authorjackz314
TypeHack Utilities
Version2020
LicenseMixed
Last Updated2020/05/20
Links
Download
Website
Source

This code extracts BWAV files in BARS containers and saves them into respective folders (based on their names). You can run it against a single BARS file or multiple BARS files in a folder.

BARS files are usually used as sound containers in newer Nintendo Switch games (e.g. Animal Crossing: New Horizon). They can usually be found in the Sound/Resource folder in the game's extracted ROM.

The extracted BWAV files can then be opened or converted to other more common format elsewhere (vgmstream is recommended), they are essentially a new container for sound data encoded in one of the two ways, either plain 16-bit little endian PCM (usually shorter sound effects), or Nintendo's DSP 4-bit ADPCM (longer ones).

The code is written in C++, should be cross-platform (only tested it on Ubuntu).

User guide

Usage:
bars-to-bwav <bars file or folder containing bars files> [bwav output folder] [--no-overwrite]
or: `bars-to-bwav -h` to bring out this menu.
add `--no-overwrite` flag to prevent from overwriting files with the same names.

Changelog

v0.1.2 2020/07/21

  • Change the build to static link, removes the need for DLLs on target machines (especially MinGW on Windows).

v0.1.1 2020/06/17

  • Use C++17, add Windows (MinGW) support. Now deals with illegal characters in file name and inconsistent file structures.

v0.1 2020/05/20

  • Release for Linux.

External links

Advertising: