mikegoldParticipant01/20/2016 at 23:27Post count: 14
I know that some builds of Emulationstation have the option to set custom music for every system. It would be nice if we could set at least one song for the whole thing. It may be only cosmetic, but would be an awesome feature ;].labelwhoreParticipant01/22/2016 at 15:48Post count: 526
OMG, please please please somebody add this!
I wrote music, and would absolutely love to add some original chip tunes to my pi for ES.labelwhoreParticipant02/02/2016 at 05:55Post count: 526
lol, I think I’m gonna be the one to ultimately implement this. I just thought of a solution. It isn’t real pretty, and not nearly as fancy as certain music per system. It involves a bunch of shell scripts, one for each emulator to stop the music once an emulator launches, then start it again once you quit the emulator. It’s gonna take a bit of effort, but should work.
I’ll need to write some ambient music for this. At first I thought chip tunes, but that’s really not gonna fit, at least mine won’t. I need something less aggressive for menu music. ;)ziguranaParticipant02/02/2016 at 17:13Post count: 101
I did have a quick look at how Recalbox implemented this, but I’ll need some more time to get it in ES proper. Whats the rush?
Send from mobile, please excuse any brevity and typos.labelwhoreParticipant02/02/2016 at 17:34Post count: 526
No rush, it’s just fun to work on this stuff. I’m learning as I go, so if I can implement things others haven’t, then that seems like a great thing to experiment on.
I was gonna try simply installing Recalbox’s version of ES just to see how things work there. Idk how many changes they’ve made to the standard ES build so it may or may not work.herbfargusMember02/02/2016 at 17:44Post count: 1858
There are an exorbitant amount of changes on the recalbox build of emulationstation and doesn’t have the integrated controls retropie has. Music would have to be added to retropie’s emulationstation fork if you want it to work with retropie.ziguranaParticipant02/02/2016 at 17:59Post count: 101
@ labelwhore: You know what, we could try and make this happen together somehow. I’ve just done some initial ES stuff in the last few months, and would be willing to get you up and running. What do you think?
Send from mobile, please excuse any brevity and typos.labelwhoreParticipant02/02/2016 at 19:54Post count: 526
Heck yeah, that would be awesome!
btw the recalbox version of ES, as expected, doesn’t work correctly with retropie. It was worth a shot. :PlabelwhoreParticipant02/08/2016 at 16:52Post count: 526
Since Zigurana’s merge didn’t go so well, I’ve taken an idea and ran with it.
*please forgive spelling errors, this website eats my letters when I post from home.
So a little update as to my progress…
So far, things on my end are going really well. I have a sort of install script that does some of the tedious work for you, like editing all of the emulators.cfg files that need it. I started testing the results of that last night. Out of the emulators I tested, all of the file modifications went flawlessly. Also, once the new emulator options generated by my script are chosen, the music fades in and out as it should when an emulator starts. I saw one emulator that possibly needs a work around, (which I have already done for advmame, with success) and I haven’t tested all of them yet. One each, per system that works with my mod, would meet my requirements.
Playback script that plays startup sound, and starts music playback at boot time
Fade out and back in when an emulator is started
Playlist management from emulator menu via shell scripts (customizability oh yeah!)
Automated playlist and script creation (handy for large music collections)
Background music for infocom! (I love the bonus that came from doing no work)
Beautiful theme for pixel themeset (thank you google images!)
Handwritten gamelist with “gameart” for some of the scripts
(Somewhat) scripted installation
Improve Installation script
complete gamelist xml with “gameart” and include in .zipc
reate themes for simple and carbon
add descriptions for themes other than pixel
Git this thing GitHub lol
Module for RetroPie Setup menu
Possible integration into a new build of Emulation Station
(^^ Thank Zigurana for looking into that, not me.)
oh yeah, bug fixing
Current Known issues:
1. MPC can control the volume of advmame (and most likely advmess, possibly other emulators). I believe this advmame (and advmess) may be using mpg (or a vaiation of it) for sound. After all, it’s extremely felxible and lightweight, so why not? Because of this I had to do two things, first, I had to run mpg on port 6700. (It might be better to recompile a new version of mpg that defaults to port 6700 for this. I have not looked into doing this.) The other piece of the workaround was that I had to bring the volume level back up to normal after the fadeout script ran when advmame started. So the new command line for advmame looks like this (workaround italicized):
runcommand > volume fadeout scrpit > normalize mpc volume > launch advmame > volume fadein script
2. This should be easy to fix, but I just discovered it in testing last night. Over time, if several games are launched and exited, volume will decrease. As a workaround, increase the volume from the radio section in ES, via my scripts. I simply need to fix either my start playback script or the fadeout script. I’m not sure yet which is the culprit.
3. This is very minor, as using my scripts naturally works around the problem. Vice has a conflict with mpg. MPG must be shut down when starting vice, or you may get no game sound. In my testing, music still played from mpg, vice made an sub-second audible glitch, then gameplay continued without game sound. Choose one of the fade options from the runcommand menu for normal opration with vice emulators.
I just so happen to have this week off work, and not much to fill it with. I’ll keep the thread in the “Everything Else” forum updated with my progress, as I hit major milestones. I hope to automate the config file editing piece next so that all you have to do is tell my setup script where your music is located and it’ll do the rest.
I did the whole thing with shell scripts, which I’ve never written before in my life. Don’t laugh at the code, but feel free to tear it apart and make it better. :P
- The forum ‘Ideas for Further Enhancements’ is closed to new topics and replies.