[Tutorial] Multi Stream BCSTM Stuff

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

  1. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    First of all, awhile back I looked into BCSTM and BCWAV format, mostly for looping purposes. I learned how they differed and such and how channels were stored.
    My Documentation: http://pastebin.com/1mER2KkD

    What I have learned is that in BCSTMs with multiple streams do not have a stream count. Streams are called by the 3ds, and are actually just more channels in the file.


    Exporting Streams from BCSTMs to .wavs:

    Things you'll need:
    -A BCSTM to pull streams from (duh)
    -Foobar and the VGMStream plugin, or Every File Explorer
    -Latest Audacity

    1. Pick any BCSTM you want to pull streams from.

    2. Open it in foobar and right click>convert>quick convert,
    or Open it in Every file Explorer and Go to File>Save As... and choose .wav

    3. Export as .wav

    4. Open the .wav in Audacity

    5. All of the channels will just be sitting there, so feel free to pluck out what you need according to what stream you want to listen to.

    -Bonus: You can extract Wii U BFSTM streams the same way! :)


    Creating BCSTMs with more than 2 channels from .wavs:

    Things you'll need:
    -Latest Audacity
    -Every File Explorer (Just until I can find something else that can loop and export more than 2 channels)

    1. Open up Audacity

    2. Go to Edit>Preferences>Import/Export and check "Use custom mix"

    3. Have all of the .wavs you want to import

    4. Drag them into audacity in order (If you're replacing a file in a rom, use the same order as the original)

    5. When you have that done go to File>Export Audio

    6. Save as .wav, it'll prompt you with the list of channels in order.

    7. Once it's saved open Every File Explorer

    8. Go to File>New from File>Nintendo 3DS Plugin>CTR Stream (CSTM) and open your .wav

    9. Go to File>Save and save your new BCSTM


    I don't know how useful this would be to others, but I know MK7 uses multiple streams for it's BCSTMs so there's that.
     


  2. Gericom

    Gericom GBAtemp Advanced Fan

    Member
    852
    900
    Jun 30, 2011
    Netherlands
    You can convert bcstm with Every File Explorer to wav aswell.
     
  3. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    lol, I just like foobar and vgmtream cause I can play all these vg songs real easily, but I guess I can add that. You plan on supporting looping any time soon? I might take a crack at editing some brstm converters' source if not :P
     
  4. s1nharvest

    s1nharvest Advanced Member

    Newcomer
    56
    23
    Jan 7, 2015
    United States
    What about converting .wav to .BCWAV? Is the process the same(besides the limitations of the .BCWAV), just pick .BCWAV in EFE?
     
  5. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    I don't think it supports BCWAV, use ctrtool. Apparently it supports CWAV, but I haven't tried it.
    Code:
    ctrtool --wav=test.bcwav input.wav
     
  6. s1nharvest

    s1nharvest Advanced Member

    Newcomer
    56
    23
    Jan 7, 2015
    United States
    hmmm so it looks like you can convert from cwav(actually im using a .bcstm) to .wav, but not .wav to cwav :/ , unless there is something I'm doing wrong. (by the way the .wav output was corrupted)
     
  7. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    As I said, I haven't tried it, who knows? I know the ctr sdk has the option, but I don't know what else.
     
  8. TheZoroark007

    TheZoroark007 MK7 CT creator

    Member
    606
    234
    Apr 2, 2014
    Gambia, The
    Lake Constance
    And with this I can convert my wav to a .bcstm that will work in NSMB2?
     
  9. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    It should, I don't see why not. I've tested with two games.
     
  10. TheZoroark007

    TheZoroark007 MK7 CT creator

    Member
    606
    234
    Apr 2, 2014
    Gambia, The
    Lake Constance
    No, it doesn´t work.
    I just tested it. I entered a level,the screen zoomes out, then freezed!
     
  11. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Same number of channels, correct? And the BCSTM was exported with EFE?
     
  12. TheZoroark007

    TheZoroark007 MK7 CT creator

    Member
    606
    234
    Apr 2, 2014
    Gambia, The
    Lake Constance
    Yes
     
  13. loco365

    loco365 GBAtemp Guru

    Member
    5,458
    2,674
    Sep 1, 2010
    Thought I'd mention that vgmstream has a test application that you can pair the dll with and you can dump the raw audio in wav format. It also has a pile of parameters to allow you to even rip only as much as the stream actually has without loop data. It can also dump information of a particular file as well. It's actually rather useful.
     
  14. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Wow that sounds neat, I'll check that out when I get home.
    Hm. I'll look into it more, I may have forgot something, thanks for the reply.
     
  15. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,072
    3,386
    Nov 13, 2014
    United States
  16. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
  17. RitchieLuis

    RitchieLuis Member

    Newcomer
    10
    0
    Aug 6, 2014
    Living in a dream
    Any idea about how getting audio from CSEQ files? :(
     
  18. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,112
    5,180
    Mar 17, 2010
    Norway
    Alola
    I don't think it's possible yet, since it's a sequencer format it's a bit more complicated.
    Might be possible to convert them to MIDI but they won't sound the same unless you also make a soundfont with the correct samples.


    Edit: cseq2midi here: http://www.brawlcustommusic.com/crap2keep/cseq2midi.zip
     
  19. RitchieLuis

    RitchieLuis Member

    Newcomer
    10
    0
    Aug 6, 2014
    Living in a dream
    :( I wanted to replace/edit some pokemon sounds for Omega ruby :( at least is there any possible way to listen to them? (probably not and sorry for the noob question)
     
  20. The Real Jdbye

    The Real Jdbye Always Remember 30/07/08

    Member
    GBAtemp Patron
    The Real Jdbye is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    12,112
    5,180
    Mar 17, 2010
    Norway
    Alola
    Read my edit :P
     
    RitchieLuis likes this.