RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Custom music in Cannonball - Where do I load the WAV files?

    Scheduled Pinned Locked Moved Help and Support
    cannonballmusicwav
    11 Posts 4 Posters 2.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ProxyCellP
      ProxyCell
      last edited by

      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

      RPi3b+ - No overclock
      RetroPie - latest from Github, as always
      2x SF30 Pro 8Bitdo controllers

      jonnykeshJ 3 Replies Last reply Reply Quote 0
      • jonnykeshJ
        jonnykesh @ProxyCell
        last edited by

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

        1 Reply Last reply Reply Quote 1
        • jonnykeshJ
          jonnykesh @ProxyCell
          last edited by

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

          Z 1 Reply Last reply Reply Quote 1
          • Z
            zerojay @jonnykesh
            last edited by

            @jonnykesh Look at the source code.

            jonnykeshJ 1 Reply Last reply Reply Quote 1
            • jonnykeshJ
              jonnykesh @ProxyCell
              last edited by

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

              BuZzB 1 Reply Last reply Reply Quote 1
              • jonnykeshJ
                jonnykesh @zerojay
                last edited by

                @zerojay Ha, yeah, just got it working.

                1 Reply Last reply Reply Quote 1
                • BuZzB
                  BuZz administrators @jonnykesh
                  last edited by

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

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  jonnykeshJ 1 Reply Last reply Reply Quote 1
                  • jonnykeshJ
                    jonnykesh @BuZz
                    last edited by

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

                    BuZzB 1 Reply Last reply Reply Quote 1
                    • BuZzB
                      BuZz administrators @jonnykesh
                      last edited by

                      @jonnykesh does a subfolder work in the install folder? If so we could symlink it

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      jonnykeshJ 1 Reply Last reply Reply Quote 1
                      • jonnykeshJ
                        jonnykesh @BuZz
                        last edited by jonnykesh

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

                        1 Reply Last reply Reply Quote 1
                        • ProxyCellP
                          ProxyCell
                          last edited by ProxyCell

                          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?

                          RPi3b+ - No overclock
                          RetroPie - latest from Github, as always
                          2x SF30 Pro 8Bitdo controllers

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post

                          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.