Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Assign a different piece of music to each system page?

    Recalbox General
    assign different piece music each
    5
    9
    2130
    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.
    • Sylvester
      Sylvester last edited by

      After getting a music file that is in .ogg format (256kbps, 44100Hz),

      Where in the file structure would I need to place the file in order for that piece of music to play just when that system page is accessed in recalbox?

      Substring 1 Reply Last reply Reply Quote 0
      • Substring
        Substring @Sylvester last edited by

        @sylvester That is something that depends on the themes

        Former dev - Please reply with @substring so that i am notified when you answer me
        Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

        Sylvester 1 Reply Last reply Reply Quote 0
        • Sylvester
          Sylvester @Substring last edited by

          @substring

          I believe I'm using the default theme.

          Could you give an example of where each .ogg should go in this case?

          Substring paradadf 2 Replies Last reply Reply Quote 0
          • Substring
            Substring @Sylvester last edited by

            @sylvester No idea, that's definitely what i do not take care of. @rockaddicted or @supernature2k or @paradadf should be able to tell you

            Former dev - Please reply with @substring so that i am notified when you answer me
            Ex dev - Merci de me répondre en utilisant @substring pour que je sois notifé

            Sylvester 1 Reply Last reply Reply Quote 0
            • Sylvester
              Sylvester @Substring last edited by

              @substring

              Okay thanks!

              I shall wait their arrival

              1 Reply Last reply Reply Quote 0
              • paradadf
                paradadf Staff @Sylvester last edited by

                @sylvester I haven’t look into it, but I’d suggest you to get the simplelight ES theme and analize it. As far as I remember, it has custom music for every single system.

                If your question was answered, please mark it as solved: Topic Tools -> Ask a question + Topic Tools -> Mark as Solved

                1 Reply Last reply Reply Quote 0
                • agahowa23
                  agahowa23 last edited by

                  Hi,
                  With the new Recalbox release (18.03.30) I would like to revive this topic, because I want to use the default theme (for obvious reasons) and add custom music to every system. Could someone please help me. I would ask for the Recalbox-Next theme, but I know it won't be that easy.

                  supernature2k 1 Reply Last reply Reply Quote 0
                  • supernature2k
                    supernature2k @agahowa23 last edited by

                    @agahowa23
                    Hi, please make at least a bit of search 🙂

                    this is as simple as this:

                    in the main theme.xml add the following tag under system view:

                    <sound name="bgsound">
                       <path>./$system/put_it_wherever_you_want/with_same_file_name_for_every_system.ogg</path>
                    </sound>
                    

                    What it will do:

                    • replace $system with the name of each system
                    • load the file (that's why all files should have the same name)

                    Pi powered NES | Gameboy HD | RecalStation | RecalDrive
                    Upvote messages if it has been useful ;)

                    agahowa23 1 Reply Last reply Reply Quote 0
                    • agahowa23
                      agahowa23 @supernature2k last edited by

                      @supernature2k
                      I am immensely grateful with you! I swear I made my research in the forum and I found many topics that talked about this, but none of them were conclusive (the ones I saw). I found one that I think was the one I needed but it was in french, I translated with google translator, but I wasn't much of a help.
                      I found difficult to find the main theme.xml (even with WinSCP) but I did it.
                      I am truly grateful, thanks! You all make a great job!

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

                      Want to support us ?

                      95
                      Online

                      90.3k
                      Users

                      26.3k
                      Topics

                      181.7k
                      Posts

                      Copyright © 2021 recalbox.com