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
  • Psionic Roshambo @ Psionic Roshambo:
    Yeah I'm sure at minimum the starter was fried
  • Psionic Roshambo @ Psionic Roshambo:
    Alternator and battery
  • BigOnYa @ BigOnYa:
    Prob alot of fried parts. It was still smoking when I left.
  • K3Nv2 @ K3Nv2:
    I would've said show me how it rides
  • Psionic Roshambo @ Psionic Roshambo:
    I always wanted one of those Smart Cars with a Hyabusa motor in it.
  • K3Nv2 @ K3Nv2:
    I'm getting sick and tired of cheap ass baking pans now
  • BigOnYa @ BigOnYa:
    I think it be cool to have one that would fit in my pickup truck bed, then I could put down ramps n drive it off.
  • K3Nv2 @ K3Nv2:
    Used this one 5 times already impossible to clean
  • BigOnYa @ BigOnYa:
    You need the $900 copper coated ones, they are good for 10 times cooking before they are un cleanable
  • Psionic Roshambo @ Psionic Roshambo:
    Condoms are only meant to be used once Ken lol
  • K3Nv2 @ K3Nv2:
    Well damn that explains how you were born
  • BigOnYa @ BigOnYa:
    I tried Cavier for the first time today. That shit is nasty. Don't get why people like it.
  • Psionic Roshambo @ Psionic Roshambo:
    Eh it's good with Vodka and crackers
  • Psionic Roshambo @ Psionic Roshambo:
    Gotta have the whole experience
  • Psionic Roshambo @ Psionic Roshambo:
    Drink enough vodka so you can barely taste it
  • K3Nv2 @ K3Nv2:
    Depends on brand rich rich people spend like 500 a tin
  • Psionic Roshambo @ Psionic Roshambo:
    What I'm putting down is you gotta be trashed first lol
    +1
  • K3Nv2 @ K3Nv2:
    Like if psi fucked the fish the quality of the eggs will probably come out abnormal
  • BigOnYa @ BigOnYa:
    We had it spread on crackers, n I had Rum/Coke today. I like all fish and seafoods, but not that.
  • Psionic Roshambo @ Psionic Roshambo:
    Lol sorry Ken it was either the fish or your mom.... I picked the fish lol
    +1
  • K3Nv2 @ K3Nv2:
    Yeah still an abnormal egg came out
  • BigOnYa @ BigOnYa:
    Prob smelled the same anyways
    +1
    BigOnYa @ BigOnYa: Prob smelled the same anyways +1