[RELEASE] BRSTM/BCSTM Conversion Tool (BETA)

Discussion in '3DS - ROM Hacking, Translations and Utilities' started by nastys, Jan 14, 2015.

  1. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    BRSTM/BCSTM/BFSTM Conversion Tool
    Latest version: 2.0 BETA

    b2.0u.png
    b2.0w.PNG

    BRSTM/BCSTM/BFSTM Conversion Tool is an audio to BRSTM converter with the following features:
    It uses froggestspirit's and soneek's converters for BRSTM → BCSTM/BFSTM conversion.

    Supported audio formats

    Changelog:
    Known bugs:
    Future features (maybe):
    You will also notice that if you use the automatic quality ("Limit bytes to: ") the conversion is slower. You can set the "Precision" to an higher value if you have a slow CPU.

    BRSTM/BCSTM Conversion Tool is released under the GNU General Public License version 3 (or later). The tools included are released under their respective licenses.
    This is a BETA version. If you find any bugs please report them.

    How to install/run (please read before reporting bugs):

    Debian, Ubuntu, Linux Mint, Zorin OS, LXLE, etc...
    Other GNU/Linux
    Windows
    OS X
    BRSTM → BCSTM/BFSTM conversion: the new file will be saved in the same folder as the original one.
     
    Last edited by nastys, Jun 21, 2017


  2. weatMod

    weatMod GBAtemp Advanced Maniac

    Member
    1,854
    592
    Aug 24, 2013
    United States
    but what does it actually do? what a incomplete description
    does it just convert brstm to scstm? or does it take an mp3 or wav and convert it into a brstm or bcstm
     
  3. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    It supports any audio file (WAV, FLAC, Ogg Vorbis, MP3, etc...) and converts it to BRSTM. Then you can use BRSTM2BCSTM to convert it to BCSTM.
    Its key feature is to create 3.3 MB files using any input file. The program lowers the quality until the output is <= 3.3 MB, so you can use it for your theme easily.
     
    Margen67, weatMod and yuyuyup like this.
  4. ChrisCerne

    ChrisCerne Advanced Member

    Newcomer
    74
    81
    Aug 23, 2012
    United States
    Would you be willing to provide the source code? Thank you :)
     
    Margen67 likes this.
  5. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,031
    3,345
    Nov 13, 2014
    United States
    Whats the difference between this and BRSTM Converter 3.4.1?
     
  6. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,031
    3,345
    Nov 13, 2014
    United States
    ah nvm its not for windows
     
  7. ludyan

    ludyan Member

    Newcomer
    37
    4
    Dec 2, 2013
    Brazil
    This will be very useful! Looking forward to the Windows version. Cheers. :)
     
  8. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,019
    505
    Jul 28, 2011
    United States
    It's not too difficult to convert the BRSTM to BCSTM. Having little to know knowledge on the formats, I made the converter by comparing the two files of the same song in a hex editor. If you implement that into the source code, it could be cleaner, not having to use the BRSTM2BCSTM, making the process simpler
     
    Margen67 likes this.
  9. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    It is included in the release. :)

    It will be released for Windows too, probably today.

    I tried comparing the two formats too but I couldn't get an algorithm from it. The differences between brstm and bcstm change depending on the file.
    If you could implement it in this tool it would be great. After all, it's free software :)
     
    Margen67 likes this.
  10. froggestspirit

    froggestspirit D/P/Pt Demix Guy

    Member
    1,019
    505
    Jul 28, 2011
    United States
    The header is just data in different locations, and different endianness. as for the rest of the file, the part before DATA is in different endianness, but the main sound data is identical between the two
     
  11. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    Windows version released :)


    Thanks, I'll try but I don't think I have enough knowledge of formats.
     
  12. weatMod

    weatMod GBAtemp Advanced Maniac

    Member
    1,854
    592
    Aug 24, 2013
    United States
    can you post link to windows version?
    just a simple exe?
     
  13. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    In the first post there is a huge "DOWNLOAD" link, which points to the downloads folder (https://www.mediafire.com/folder/62tbbrjw4xp0t/BRSTM_Conversion_Tool).
    There are also instructions for running the program:
    Windows
    I will make it easier once it's more stable.
     
    Margen67 and weatMod like this.
  14. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    Added 32 bit GNU/Linux build along with GNU/Linux 64 bit and Windows 32 bit! :lol:
    Now only Mac builds are missing...
     
  15. Myria

    Myria GBAtemp Fan

    Member
    422
    394
    Jul 24, 2014
    United States
    I wish there were some documentation around of the .bcstm format... This program is just a front end for the Nintendo SDK tool.
     
  16. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    I followed your instructions and get this:

    BRSTMConversionTool

    This application failed to start because it could not find the QT platform plugin "windows".
     
  17. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    What version of Windows are you using?
     
  18. liomajor

    liomajor GBAtemp Maniac

    Member
    1,463
    1,065
    Jun 10, 2008
    United States
    Windows 7 64bit
     
  19. nastys
    OP

    nastys ナースティス

    Member
    1,305
    819
    Aug 5, 2014
    Italy
    Earth
    I'll install Windows 7 in a VM and try to find out which DLL is missing ;)
     
  20. ludyan

    ludyan Member

    Newcomer
    37
    4
    Dec 2, 2013
    Brazil

    I'm having the same problem with Windows 8.1 x64.