TheMorningStar-ShopMusicMPFix icon

ShopMusicMPFix

Makes Random Music Shop actually play its custom shop music in multiplayer. By TheMorningStar.

Last updated 4 hours ago
Total downloads 5
Total rating 0 
Categories AI Generated
Dependency string TheMorningStar-ShopMusicMPFix-1.0.0
Dependants 0 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100
bazou-RandomMusicShop-1.1.72 icon
bazou-RandomMusicShop

Swaps store music with 83 iconic tracks from RPG, Chiptune, Modern, and Indie genres for a nostalgic, varied shop vibe.

Preferred version: 1.1.72

README

Shop Music MP Fix

Random Music Shop's custom tracks don't play in multiplayer. The game overwrites them back to the default track the moment the shop loads, so you never hear them. This re-applies a random shop track on every client so you actually do. Singleplayer was never affected.

By TheMorningStar. Everyone in the lobby needs Random Music Shop; this rides on top of it.

For developers - detailed breakdown

In multiplayer ShopRadio.Start() fires a Photon RPC that resets shopMusic.Sounds back to the vanilla clip after SoundAPI has already swapped in the replacement, so PlayLoop() ends up on the vanilla track. This postfixes ShopRadio.Start on every client, loads a random *_Shop.ogg from Random Music Shop's own sounds folder, and swaps shopMusic.Source.clip after the RPC lands. Music is local audio, so nothing needs to sync; each client just plays its own pick.