How can I compile a cia with working banner audio?

Discussion in '3DS - Homebrew Development and Emulators' started by sup3rgh0st, May 22, 2015.

  1. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
    I currently trying to compile a game I wrote as a cia, which I'm able to achieve by using Stevice10's makeFile here. However, every wav file I try to give it, results in it either not compiling, or turning the banner jungle into broken click sounds. Is there either a way to produce compatible wavs, or a better way to create the cia?
    Thanks
     
  2. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,658
    Jul 19, 2009
    United States
    I never did figure out why some WAV files produced clicking. Maybe try fiddling with the WAV file a bit, that usually works for me.
     
  3. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
    What program do you use for making the WAV files? Adobe Audition doesn't compile, and Audacity always makes clicks for me
     
  4. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,154
    9,508
    Sep 23, 2013
    audio has to be 3 seconds or shorter
     
  5. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
    The clip I'm using is two seconds and 231 KB :(
     
  6. gamesquest1

    gamesquest1 Nabnut

    Member
    GBAtemp Patron
    gamesquest1 is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    14,154
    9,508
    Sep 23, 2013
    i dont know the exact wav settings that work perfect, but i usually just use the default audacity wav format and it works fine
     
  7. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
    I'm running into "Could not find WAV format chunk." errors when I try to compile with my wav exported in audacity,, any suggestions? I'm using what I think is the default "WAV (Microsoft) signed 16 bit PCM" wav format
     
  8. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,658
    Jul 19, 2009
    United States
    Could you send me a copy of the generated WAV file so that I can test with it?
     
  9. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
  10. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,658
    Jul 19, 2009
    United States
    sup3rgh0st likes this.
  11. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,658
    Jul 19, 2009
    United States
    Your audio files should work now. Just updated the pre-built versions for Windows and Linux in the ctrcommon repository with the latest changes, and if someone can compile it for OS X I can update that build too.
     
    sup3rgh0st likes this.
  12. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
    Hmmm, I'm still getting the same errors and beeping sounds... I'm pulling the latest version of ctrcommon from here?
    My Folder structure is approximately as follows:
    devkitPro
    -3DSHomebrewTemplate-master
    ---Makefile
    ---resources
    ------audio/banner/icon
    ---source
    ---tools
    ------bannertool.exe
    -ctrcommon
    ---tools
    ------bannertool.exe
    -libctru
    -etc etc...
     
  13. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,658
    Jul 19, 2009
    United States
    You linked to 3DSHomebrewTemplate. You're certain the bannertool binary you have is the latest one from the ctrcommon repository? Your sounds worked fine for me.
     
  14. sup3rgh0st
    OP

    sup3rgh0st Top Tier Ghost

    Member
    292
    183
    Apr 22, 2010
    United States
    Ah, sorry, I meant here: https://github.com/Steveice10/ctrcommon . Everything in the tools folder is up to date right? I don't need to compile anything?
    Just to make sure were on the same page this is the error I'm still getting

    Code:
    C:\devkitPro\3DSHomebrewTemplate-master>make
    /c/devkitPro/3DSHomebrewTemplate-master/tools/bannertool.exe makebanner -i /c/de
    vkitPro/3DSHomebrewTemplate-master/resources/banner.png -a /c/devkitPro/3DSHomeb
    rewTemplate-master/resources/audio.wav -o banner.bnr
    ERROR: Could not find WAV format chunk.
    make[1]: *** [banner.bnr] Error 2
    make: *** [build] Error 2
     
  15. Steveice10

    Steveice10 GBAtemp Maniac

    Member
    1,102
    1,658
    Jul 19, 2009
    United States
    Well, I just downloaded "bannertool.exe" from the repository and tested with "ccBannerJingleFinal_audio.wav", and it worked fine. Here's the resulting banner if you're interested: https://www.dropbox.com/s/3m8ca67k9v7jybb/banner.bnr?dl=1
     
  16. blujay

    blujay GBATemp's Official Warthog

    Member
    GBAtemp Patron
    blujay is a Patron of GBAtemp and is helping us stay independent!

    Our Patreon
    2,208
    2,060
    Nov 2, 2015
    United States
    Gilbert, Arizona
    Hey, @Steveice10 , I hate to bother with such an old thread but I am having the same problem.

    Here is what I put into the command prompt:
    Code:
    C:\Users\Connor\Desktop\bannertool>bannertool.exe makebanner -i 256x128.png -a banner.wav -o banner.bnr
    Result:
    Code:
    Could not find WAV format chunk.
    I have the latest official nintendo SDK and devkitPro so it cannot be those (unless it can)