Custom music in Cannonball - Where do I load the WAV files?
-
I have my remixed versions of the original tracks and I have edited the config.xml file to enable their use but I can not get them to load in game.
Right now my game is totally silent except for the sound of the engine.
Where do I place the .WAV files for the cannonball game to load them from? I currently have them in both the roms/ports/cannonball and /opt/config/ports/cannonball folders
-
@proxycell I couldn't see any mention of the file path in any of the docs or inside the config file when I looked at this a few days ago either. Just commenting so I get notified if you get an answer.
I'll also have another look later when I get a chance. -
@proxycell I've looked at this and just can't get it to work. I have put files here, put files there. Added full file paths, relative file paths, named and renamed. Just get silence.
The best I could come up with googling was that the.wav
files should go in the same folder as the.exe
Obviously that doesn't apply with Linux. -
@jonnykesh Look at the source code.
-
@proxycell Got it working!!!. I took my cue from the google clue above, so put the
.wav
file in/opt/retropie/ports/cannonball/
where the binary (executable) file is. So it works.
That was driving me crazy. -
@zerojay Ha, yeah, just got it working.
-
@jonnykesh note that when updating this directory will likely be reset/cleared. Would be useful if we can point the music storage location elsewhere in the config - perhaps a feature request for upstream if it doesn't support that.
-
@buzz Thanks for the tip Buzz. I tried using full file paths to where I had placed them but obviously this is not currently supported.
-
@jonnykesh does a subfolder work in the install folder? If so we could symlink it
-
@buzz Yes it does. I created a directory
/opt/retropie/ports/cannonball/custom_music
put the.wav
file in there and amended the file path. Works as it should.
Just to add the custom tracks do not play on the music selection screen but if you select your custom file it will play in-game. -
I apologize for abandoning this thread for so long... you see I had some trouble compiling it on macOS the past month and someone just recently solved the issue for me - there were NO known macOS binaries on the internet for a few months so I couldn't test it locally on my computer
Thank you all for resolving this issue now! Sadly, I can not reproduce this solution on either macOS or Windows... but that is another matter...
@BuZz - so would it be possible to push a new symlink for this into the repo?
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.