Redream playing BGM from ES
-
Hello I'm using this script to run BGM in emulation station.
https://github.com/Rydra/bgm-for-es
I've had a few issues with it. One of them being when I open REDREAM (the dreamcast emulator) the music doesn't stop playing.
Using ES V2.9.3RP
Anyone know a fix? Maybe adding something to a .cfg somewhere?
Thanks in advance! -
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. -
@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
-
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.
-
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 -
@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/copyrightFound 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
-
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? -
Maybe the name of the binary is different -
redream.elf
maybe ? -
@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! -
@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?
-
I don't know, but you can run
ps -ef
whilesteamlink
is started and see the process name that it uses, so you can add it to the emulator list. -
@mitu said in Redream playing BGM from ES:
I don't know, but you can run
ps -ef
whilesteamlink
is started and see the process name that it uses, so you can add it to the emulator list.thanks got it!
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.