RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Modified Background Music Script with added overlays!

    Scheduled Pinned Locked Moved Ideas and Development
    bgmoverlaymusicsongscript
    114 Posts 22 Posters 42.4k 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.
    • madmodder123M
      madmodder123 @lokize
      last edited by

      @lokize I don't think you can do that in EmulationStation, I think it is a feature in Attract Mode though

      L L 2 Replies Last reply Reply Quote 1
      • L
        lokize @madmodder123
        last edited by

        @madmodder123 in recalbox i using this feature with emulation Station, but i prefer Retropie

        mituM 1 Reply Last reply Reply Quote 0
        • L
          legacy @madmodder123
          last edited by

          @madmodder123 please can share an install guide as I've not been able to install the script. When I tried the run command it failed for me.

          L 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @lokize
            last edited by

            @lokize Out of curiosity, why do you prefer RetroPie over Recalbox ?

            L 1 Reply Last reply Reply Quote 0
            • L
              lokize @mitu
              last edited by

              @mitu Recalbox consume ALL memory of my Rpi3 B And left only 10% of ram, i try fresh install but not solve, Retropie consume 20% of ram running games...

              1 Reply Last reply Reply Quote 0
              • L
                lokize @gleam2003
                last edited by

                @gleam2003 You can Share this script?

                1 Reply Last reply Reply Quote 0
                • L
                  legacy @legacy
                  last edited by legacy

                  problem i have is the: /usr/local/bin/pngview procces issue and

                  (sudo python /home/pi/BGM.py) & is not working for me on reboot.

                  help would be appreciated, before i sack this off.

                  madmodder123M 1 Reply Last reply Reply Quote 0
                  • madmodder123M
                    madmodder123 @legacy
                    last edited by

                    @legacy said in Modified Background Music Script with added overlays!:

                    sudo python /home/pi/BGM.py

                    try "sudo python /home/pi/BGM.py" in the command line and tell me if it works.
                    if not try running "sudo bash BGM_Install.sh" when installing the script.
                    Please post the console output of any failures/issues, it makes things much easier :)

                    1 Reply Last reply Reply Quote 1
                    • L
                      legacy
                      last edited by

                      sudo python works, but i still get same result no music unless i turn toggle switch on then off.

                      i get a pngview process error, when launching a game and since installing the script a gamelist.xml error on startup

                      1 Reply Last reply Reply Quote 0
                      • madmodder123M
                        madmodder123
                        last edited by

                        Please post your /etc/rc.local file.
                        Also the gamelist.xml issue sounds unrelated to this script

                        L 1 Reply Last reply Reply Quote 1
                        • L
                          legacy @madmodder123
                          last edited by

                          @madmodder123 ,

                          The gamelist issue happens every time I install the script. I have a backup image, which I have just restored and is working fine. I have tried this about 6 times now and I have decided to sack it off.

                          I managed to sort the gamelist issue by copying the file back.

                          My RC local file is also fine. I think there maybe a problem with my build as I have stripped it back.

                          Thanks for your time. I may come back to this music mod later down the line

                          madmodder123M 1 Reply Last reply Reply Quote 0
                          • M
                            MochaJoesFavor
                            last edited by

                            @madmodder123 Wow this script is great!! I've got it running with over 20 songs and it does a great job of randomizing everything. I was wondering if there is a way to hide the text that shows on the left side when you launch or quit a rom. This text states that the music is stopping or starting back up. Thanks again for doing this!

                            1 Reply Last reply Reply Quote 0
                            • madmodder123M
                              madmodder123 @legacy
                              last edited by

                              @legacy @MochaJoesFavor
                              I fixed the gamelist issue and the console output issue guys :)
                              Just took the time to make the script smarter and then tried it out on a fresh install :D
                              Just make sure you run the script as root ("sudo ./BGM_Install.sh")
                              Let me know if you find any more issues!

                              L M 2 Replies Last reply Reply Quote 2
                              • L
                                legacy @madmodder123
                                last edited by

                                @madmodder123 , okay il give it another bash thank you.

                                1 Reply Last reply Reply Quote 0
                                • L
                                  legacy
                                  last edited by legacy

                                  the error i get now when i launch a game

                                  is /usr/local/bin/png view: no process found

                                  also editing the rc.local file is stiil not working on boot.

                                  bare in mind, emulation station i have the launch screen disabled, so it boots into the main front end.

                                  is there another file i could add the boot text to get the script to launch.

                                  madmodder123M 1 Reply Last reply Reply Quote 0
                                  • M
                                    MochaJoesFavor @madmodder123
                                    last edited by

                                    @madmodder123 Ok, i've installed on a clean build. The retropie menu looks fine, however the music does not play and I get the following error when trying to turn on/off the music.

                                    Traceback (most recent call last):
                                    File "/home/pi/BGM.py", line 66, in <module>
                                    from pygame import mixer # import PyGame's music mixer
                                    ImportError: No module named pygame

                                    Any ideas?

                                    mituM M 2 Replies Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @MochaJoesFavor
                                      last edited by

                                      @mochajoesfavor said in Modified Background Music Script with added overlays!:

                                      Any ideas?

                                      Did you run the install script - as explained in the 1st post ?

                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MochaJoesFavor @mitu
                                        last edited by

                                        @mitu yes I did.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          MochaJoesFavor @MochaJoesFavor
                                          last edited by

                                          @madmodder123 I looks like pygame and imagemagick were failing to install, so i ran "sudo apt-get update". After that they both installed and the music started working.

                                          Everything seems to be OK now. Thanks again!!

                                          1 Reply Last reply Reply Quote 0
                                          • madmodder123M
                                            madmodder123 @legacy
                                            last edited by

                                            @legacy make sure your rc.local file looks like this example one: https://pastebin.com/67BnuB17
                                            Also can you run the python script from SSH and tell me what it outputs?

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