• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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.
  • P
    ProxyCell
    last edited by 15 Nov 2017, 03:56

    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

    J 3 Replies Last reply 15 Nov 2017, 07:31 Reply Quote 0
    • J
      jonnykesh @ProxyCell
      last edited by 15 Nov 2017, 07:31

      @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
      • J
        jonnykesh @ProxyCell
        last edited by 15 Nov 2017, 18:52

        @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 15 Nov 2017, 19:20 Reply Quote 1
        • Z
          zerojay @jonnykesh
          last edited by 15 Nov 2017, 19:20

          @jonnykesh Look at the source code.

          J 1 Reply Last reply 15 Nov 2017, 19:21 Reply Quote 1
          • J
            jonnykesh @ProxyCell
            last edited by 15 Nov 2017, 19:20

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

            B 1 Reply Last reply 15 Nov 2017, 19:25 Reply Quote 1
            • J
              jonnykesh @zerojay
              last edited by 15 Nov 2017, 19:21

              @zerojay Ha, yeah, just got it working.

              1 Reply Last reply Reply Quote 1
              • B
                BuZz administrators @jonnykesh
                last edited by 15 Nov 2017, 19:25

                @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

                J 1 Reply Last reply 15 Nov 2017, 19:28 Reply Quote 1
                • J
                  jonnykesh @BuZz
                  last edited by 15 Nov 2017, 19:28

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

                  B 1 Reply Last reply 15 Nov 2017, 19:42 Reply Quote 1
                  • B
                    BuZz administrators @jonnykesh
                    last edited by 15 Nov 2017, 19:42

                    @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

                    J 1 Reply Last reply 15 Nov 2017, 19:49 Reply Quote 1
                    • J
                      jonnykesh @BuZz
                      last edited by jonnykesh 15 Nov 2017, 19:49

                      @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
                      • P
                        ProxyCell
                        last edited by ProxyCell 18 Dec 2017, 19:38

                        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.

                          This community forum collects and processes your personal information.
                          consent.not_received