Stovies Posted December 19, 2021 Posted December 19, 2021 Is it possible to have a set music file play when paused? I have some mp3 arcade ambience files I'd like to hear when in the pause menu. 2 Quote
TrailerVert Posted February 4, 2023 Posted February 4, 2023 I'll give a BUMP for this topic. Was wondering the same thing. Quote
JoeViking245 Posted Tuesday at 04:34 PM Posted Tuesday at 04:34 PM Relatively old post, recently revived (and expanded upon in the above-linked Feature Request) by @crusadeRGP. From the OP question, this can be accomplished by editing the emulator (i.e. MAME) in LaunchBox. In the Pause Script section, add the following: file = Full/path/to/ArcadeAmbianceSounds.mp3 SoundPlay, %file%, wait Change the path and MP3 filename to match your location. .mp3 files works best. But some other audio file types may work as well. This is a one-emulator, one-song kind of thing. As in, you need to set it up on a per emulator basis. Which is good because you can select a different 'song' based on the emulator. You can also do this per game. Edit the game, go to the Startup/Pause section, check Override default Pause.... Click Customize and in the On Pause section, place the above code, respectively. Getting a little crazy, you could create an array of files and then have SoundPlay 'pick' a random file from the array. Yes. This is all "manual labor". But the take-away is, it can be done natively from within LaunchBox. 😎 Quote
crusadeRGP Posted Wednesday at 05:27 PM Posted Wednesday at 05:27 PM This is what I've been looking for. Thanks 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.