Homebrew How can I compile a cia with working banner audio?

sup3rgh0st

Top Tier Ghost
OP
Member
Joined
Apr 22, 2010
Messages
456
Trophies
1
XP
2,712
Country
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
 
D

Deleted User

Guest
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
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.
 

sup3rgh0st

Top Tier Ghost
OP
Member
Joined
Apr 22, 2010
Messages
456
Trophies
1
XP
2,712
Country
United States
i dont know the exact wav settings that work perfect, but i usually just use the default audacity wav format and it works fine

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
 
D

Deleted User

Guest
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
Could you send me a copy of the generated WAV file so that I can test with it?
 
D

Deleted User

Guest
  • Like
Reactions: sup3rgh0st

sup3rgh0st

Top Tier Ghost
OP
Member
Joined
Apr 22, 2010
Messages
456
Trophies
1
XP
2,712
Country
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.

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...
 
D

Deleted User

Guest
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...
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.
 

sup3rgh0st

Top Tier Ghost
OP
Member
Joined
Apr 22, 2010
Messages
456
Trophies
1
XP
2,712
Country
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.

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
 
D

Deleted User

Guest
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
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
 
D

Deleted User

Guest
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)
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BigOnYa @ BigOnYa:
    True, everything almost double nowadays
  • K3Nv2 @ K3Nv2:
    But I could go to Aldis and get a cookie pie for like $4
  • BigOnYa @ BigOnYa:
    Or use your new cooking pan and make some, don't mind the Old leftover foods mixed in.
  • K3Nv2 @ K3Nv2:
    Just eat plain flour around cops
  • BigOnYa @ BigOnYa:
    thats Gluten abuse, they would shoot you
  • K3Nv2 @ K3Nv2:
    Depends on the color chart
  • K3Nv2 @ K3Nv2:
    Wheat flour has a lower chance at survival
  • Veho @ Veho:
    Isn't wheat flour the whitest of the white?
  • Veho @ Veho:
    Rye would get shot at sight.
    +1
  • K3Nv2 @ K3Nv2:
    Depends
    img_5941-1.jpeg
    everyone mixing their flour now days
  • Veho @ Veho:
    That's whole wheat, right? Because all purpose flour is also made from wheat.
  • K3Nv2 @ K3Nv2:
    I'm not a flour expert I just snort it
  • BigOnYa @ BigOnYa:
    There also is black rice flour, and its really black colored
  • Veho @ Veho:
    Bruh that's gray.
  • K3Nv2 @ K3Nv2:
    That's ancientboi color
    +1
  • Veho @ Veho:
    You need to add some activated charcoal.
    +1
  • BigOnYa @ BigOnYa:
    I've seen some that are dark dark, my wifey uses it sometimes in her bs recipes
  • Veho @ Veho:
    Cool.
  • SylverReZ @ SylverReZ:
    @BigOnYa, Seems like your wifey likes hers black. :creep:
    +1
  • Veho @ Veho:
    "BS" stands for "Bowel Scraping" because that's what whole grain does.
    +2
  • K3Nv2 @ K3Nv2:
    I've been eating honey wheat bread scrumptious
  • K3Nv2 @ K3Nv2:
    https://a.co/d/9xDkOHc lol living on the edge
    K3Nv2 @ K3Nv2: https://a.co/d/9xDkOHc lol living on the edge