BCWAV to BCSTM converter.

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

  1. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Some people might find this useful, so might as well post it.

    [​IMG]

    What it can do at the moment:
    • Convert PCM16/PCM8 Headers from BCWAV files to the BCSTM versions.
    Everything I know is documented here: http://pastebin.com/1mER2KkD

    If source code is truly needed, you'll have to wait until I get on a better computer.

    Things left to be implemented:
    • DATA Partition: Channel Conversion
    • Fix Filesize at 0x0C of CSTM Header
    • Maybe some other neat stuff
    • Allow Multiple Channels

    This tool will restrict you from using more than one channel. If you can convert the DATA partition, channel count is at 0x22 of the BCSTM INFO partition.

    DATA partition conversion will be soon, for now only use mono-track PCM16 BCSTMs.
     

    Attached Files:

  2. Isle41

    Isle41 GBAtemp Regular

    Member
    207
    84
    Nov 24, 2011
    Gambia, The
    Where does one get a bcwav file?
     
  3. CalebW

    CalebW Fellow Temper

    Member
    634
    154
    Jun 29, 2012
    United States
    In the romfs portion of a 3ds/cia file.
     
  4. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    You can either make one, or you can get one from somewhere else like a rom.
     
  5. Smariter

    Smariter Member

    Newcomer
    29
    4
    Dec 23, 2014
    Does WAV to BCWAV/BCSTM possible?
     
  6. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Yeah, there's tools out there. I know Every File Explorer can output unlooped BCSTM files. Wave Converter in the CTR SDK can output BCWAV files. You can also use a BRSTM converter and upload your BRSTM to that Brawl Custom Music website, it'll give you a BCSTM. If I have time after this tool is perfected, I'll look into it myself.
     
  7. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    For BCWAV to BCSTM? I sure hope not, then all my work is to waste lol :P
     
    The_CatMaster likes this.
  8. Xenon Hacks

    Xenon Hacks GBAtemp Guru

    Member
    7,072
    3,386
    Nov 13, 2014
    United States
    DATA could not be converted... The partition will be copied instead!
     
  9. AHP_person
    OP

    AHP_person GBAtemp Fan

    Member
    364
    390
    Nov 2, 2014
    United States
    Yeah, I still have to get the process copied into C#.

    I have it documented though, if you want to give it a run.