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,699
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,699
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,699
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,699
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
  • No one is chatting at the moment.
    Psionic Roshambo @ Psionic Roshambo: https://www.youtube.com/@legolambs