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

    Redream playing BGM from ES

    Scheduled Pinned Locked Moved Help and Support
    dreamcastbgmredream
    12 Posts 2 Posters 1.2k 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.
    • mituM
      mitu Global Moderator
      last edited by

      You probably need to add the redream emulator name to the list of emulators defined here, so it knows when to stop/restart playing the music.

      UberLumbyU 1 Reply Last reply Reply Quote 2
      • UberLumbyU
        UberLumby @mitu
        last edited by

        @mitu said in Redream playing BGM from ES:

        You probably need to add the redream emulator name to the list of emulators defined here, so it knows when to stop/restart playing the music.

        Oh! Okay where could I find it? I'm using winSCP and I can't find the file anywhere. Or could I just puTTY and do some sudo nano Haha. Sorry, I'm a bit of a noob when it comes to this.

        Thanks for always being helpful though

        [Linux 5.10.103-v7+ armv7l GNU/Linux
        Retropie 4.8
        Raspberry Pi 3B+]

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

          I have no idea where the script is located - try listing the package's contents with

          dpkg -L python-es-bgm
          

          and maybe you can spot where that file is copied.

          1 Reply Last reply Reply Quote 0
          • UberLumbyU
            UberLumby
            last edited by

            This is what comes up.. gonna have to try to find which directory has the file i'm looking for haha
            /.
            /etc
            /etc/bgmconfig.ini
            /home
            /home/pi
            /home/pi/RetroPie
            /home/pi/RetroPie/roms
            /home/pi/RetroPie/roms/music
            /home/pi/RetroPie/roms/music/PLACE_YOUR_MUSIC_HERE
            /lib
            /lib/systemd
            /lib/systemd/system
            /lib/systemd/system/bgm.service
            /usr
            /usr/bin
            /usr/bin/startbgm
            /usr/lib
            /usr/lib/python2.7
            /usr/lib/python2.7/dist-packages
            /usr/lib/python2.7/dist-packages/bgm
            /usr/lib/python2.7/dist-packages/bgm/Application.py
            /usr/lib/python2.7/dist-packages/bgm/MusicPlayer.py
            /usr/lib/python2.7/dist-packages/bgm/ProcessService.py
            /usr/lib/python2.7/dist-packages/bgm/init.py
            /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info
            /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/PKG-INFO
            /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/dependency_links.txt
            /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/entry_points.txt
            /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/top_level.txt
            /usr/share
            /usr/share/doc
            /usr/share/doc/python-es-bgm
            /usr/share/doc/python-es-bgm/changelog.Debian.gz
            /usr/share/doc/python-es-bgm/copyright

            [Linux 5.10.103-v7+ armv7l GNU/Linux
            Retropie 4.8
            Raspberry Pi 3B+]

            UberLumbyU 1 Reply Last reply Reply Quote 0
            • UberLumbyU
              UberLumby @UberLumby
              last edited by UberLumby

              @UberLumby said in Redream playing BGM from ES:

              This is what comes up.. gonna have to try to find which directory has the file i'm looking for haha
              /.
              /etc
              /etc/bgmconfig.ini
              /home
              /home/pi
              /home/pi/RetroPie
              /home/pi/RetroPie/roms
              /home/pi/RetroPie/roms/music
              /home/pi/RetroPie/roms/music/PLACE_YOUR_MUSIC_HERE
              /lib
              /lib/systemd
              /lib/systemd/system
              /lib/systemd/system/bgm.service
              /usr
              /usr/bin
              /usr/bin/startbgm
              /usr/lib
              /usr/lib/python2.7
              /usr/lib/python2.7/dist-packages
              /usr/lib/python2.7/dist-packages/bgm
              /usr/lib/python2.7/dist-packages/bgm/Application.py
              /usr/lib/python2.7/dist-packages/bgm/MusicPlayer.py
              /usr/lib/python2.7/dist-packages/bgm/ProcessService.py
              /usr/lib/python2.7/dist-packages/bgm/init.py
              /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info
              /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/PKG-INFO
              /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/dependency_links.txt
              /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/entry_points.txt
              /usr/lib/python2.7/dist-packages/es_bgm-1.0.1.egg-info/top_level.txt
              /usr/share
              /usr/share/doc
              /usr/share/doc/python-es-bgm
              /usr/share/doc/python-es-bgm/changelog.Debian.gz
              /usr/share/doc/python-es-bgm/copyright

              Found it here /usr/lib/python2.7/dist-packages/bgm/Application.py now I just need to edit it and add redream.. it won't allow me to save on winscp gonna have to do it in the terminal I believe

              [Linux 5.10.103-v7+ armv7l GNU/Linux
              Retropie 4.8
              Raspberry Pi 3B+]

              1 Reply Last reply Reply Quote 0
              • UberLumbyU
                UberLumby
                last edited by

                sudo nano /usr/lib/python2.7/dist-packages/bgm/Application.py
                Go to the line @mitu provided add redream save and exit
                I did that but redream is still playing the music..
                I'm assuming I need to run the script again?

                [Linux 5.10.103-v7+ armv7l GNU/Linux
                Retropie 4.8
                Raspberry Pi 3B+]

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

                  Maybe the name of the binary is different - redream.elf maybe ?

                  UberLumbyU 2 Replies Last reply Reply Quote 1
                  • UberLumbyU
                    UberLumby @mitu
                    last edited by

                    @mitu said in Redream playing BGM from ES:

                    Maybe the name of the binary is different - redream.elf maybe ?

                    Yup .elf did it don't hear the music anymore. Pretty sure problem solved
                    sudo nano /usr/lib/python2.7/dist-packages/bgm/Application.py
                    I added "redream", "redream.elf"
                    save and exit
                    and I don't hear the music anymore good deal thanks again!

                    [Linux 5.10.103-v7+ armv7l GNU/Linux
                    Retropie 4.8
                    Raspberry Pi 3B+]

                    1 Reply Last reply Reply Quote 0
                    • UberLumbyU
                      UberLumby @mitu
                      last edited by

                      @mitu said in Redream playing BGM from ES:

                      Maybe the name of the binary is different - redream.elf maybe ?

                      Hey would you know what to put in to get steamlink to stop playing music also?

                      [Linux 5.10.103-v7+ armv7l GNU/Linux
                      Retropie 4.8
                      Raspberry Pi 3B+]

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

                        I don't know, but you can run ps -ef while steamlink is started and see the process name that it uses, so you can add it to the emulator list.

                        UberLumbyU 1 Reply Last reply Reply Quote 1
                        • UberLumbyU
                          UberLumby @mitu
                          last edited by

                          @mitu said in Redream playing BGM from ES:

                          I don't know, but you can run ps -ef while steamlink is started and see the process name that it uses, so you can add it to the emulator list.

                          thanks got it!

                          [Linux 5.10.103-v7+ armv7l GNU/Linux
                          Retropie 4.8
                          Raspberry Pi 3B+]

                          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.