#Custom Boombox Tracks https://thunderstore.io/c/lethal-company/p/Steven/Custom_Boombox_Music/
611 messages · Page 1 of 1 (latest)
Would you be willing to release this on the Unofficial Community as well?
I think users will also find the download more easily if you add it to your description btw! If you open a thread, the link in the title stops being a url.
Yeah I noticed that about the links lmao
and I'm not sure what you mean by Unofficial Community 
good job holy shit!
do you need to be host and can other people hear the custom music ?
Don't need to be host. Unfortunately it's only client-side.
But if all players have the same collection of songs it should work?
Cool mod! Just a simple QoL thing would be to put it in the following format so Modmanagers can read it
- CustomBoomBoxTracks_1.0.0.rar
- CustomBoomBoxTracks_1.0.0
- BepInEx
- Plugins
- CustomBoomboxTracks.dll
- Custom Songs
- Boombox Music
Except try to remove that base folder or it gets wonky by default? idk
i second this
- CustomBoomBoxTracks_1.0.0.rar
- BepInEx
- Plugins
- CustomBoomboxTracks.dll
- Custom Songs
- Boombox
something like this ig
Ye
Does it need to be a rar archive?
if your using MO2 mod manager or vortex, then yeah it would need to be an archive
zip 7z rar are fine
though 7z oftenly gets flagged by windows defender for no reason
yeah that's what I meant
I'd rather avoid RAR if I can get away with it
are you interested in uploading you mod into nexus ?
you can opt into dp program which lets you get dp point for every mod downloads.
the dp point which then can be exchanged into paypal funds or game keys that nexus store has to offer.
if everyone has the same files downloaded youll all hear it, otherwise its just you
Alright thanks!
i am fairly certain i have installed everything correctly and ive put the tracks in the specified folder, but in-game i dont seem to hear anything, i don't think i missed anything unless it is just a problem with the mp3 files (tho i chceked them and they seemed fine as well)
do i need to name the track anything in particular?
didnt work too
It's probably the audio file. Many online YouTube to mp3 converters will actually give you mp4a files instead of mp3, which will not work.
You should be able to use something like Audacity to convert them to a supported codec
yeah, if you have VLC you can open the song up in that and check the info for the codec
this is from a .mp3 file, but you can see it's actually mp4a
I did everything, got all the file but the folder doesn't wants to create itself (BepInEx/Custom Songs/Boombox Music)
can you upload the log from the BepInEx folder?
here you go
the log doesn't say that it's loaded, running the game as an admin doesn't solve the issue
oh right, debug logging isn't enabled by default
can you try again with this copy and post the log?
doing that rn
It does say that's it's loaded, I have the config file but no 'Custom Songs' folder
hmm
oh wait I think I know
you need to load into a game
just an empty lobby by yourself should work
that's my bad, it shouldn't work like that but I made a few changes last night before releasing
No worries, I'll try that out and get back to you in a min
does only the host need it?
it's just client side
ok, so if i have it then my friends wont hear it then?
Exactly, only you can hear your songs
ok thanks
If your friends also have the mod with the same playlist I think you might hear the same song but I'm not sure
It solved the issues
Thanks again for the help ! Good work on the mod !
Great to hear! I'll try and push out an update some time where it actually creates the folders on startup
there's really no reason it should wait
found out why it wasnt working for me haha, i just had to start a new file, wasnt working on an existing one
dunno why that would be the case
it shouldn't care about your save file at all
yeah i'm not sure, it wanst working at all but when i made a new file and bought a boombox that one worked
is there a limit to the amount of sings?
is this the correct file type for ogg? the beat box doesnt make a sound when i left click
same here
Ogg Vorbis should work
If you wanna toss me some of those songs I can take a look when I get home
maybe theres a size limit?
cuz these vanilla songs sounds pretty light
like less than a mb
There shouldn't be a limit afaik
Is everyone requried to have this downloaded or just the person who wants it?
just whoever wants it
cool, thank you
do yours work? mine dont :(
ya
interesting
still trying to figure out whats wrong with my tracks
These all seem to be fine
but I have noticed that there might be a bug in the mod where if any of your tracks don't work they can break things a bit
weird, im gonna try a fresh save and see if its because i tried it on an old save
@cinder wolf @hoary temple try this out; it should work better
or at the very least, it should have better error handling so I can figure out what's wrong if you keep having issues.
it seems that some of the songs work but not all, i tried it with just the ones i sent you and they were fine
i am using the new dll
@stray oracle could music packs be pinned? : o
I don't have the power to do that ¯_(ツ)_/¯
o, im unfamiliar with how thread perms work thought authors had somewhat of channel perms
if you check LogOutput.Log from the BepInEx folder you should see errors
it'll look something like this
a fair assumption, but alas I do not
yes, i bought it and tested it with just one song and it worked so i shut down the game and added 4 more and no dice
does a fresh save need to be made every time the music selection is changed?
that would seem to be the case, but only because I didn't account for the fact that the boombox gets spawned faster than the game can load all the songs in lmao
I should be able to fix that though, I just need to rethink some things
hype, ill keep that quirk in consideration for now
but this explains why someone yesterday had this same issue with an existing save file
had a question, is the music synchronized between host and client if we have the same music files ?
for instance, if the host music is playing terraria music song, then the clients should be playing the same music if both has the music files right
no
they will share the same pool of music, but having the same song play for both people is coincidence
i see, that would be a qol thing if you can sync it
it basically works exactly the same as the base game
albeit with a larger/different pool of songs
if the base game syncs it, it'll be synced assuming all players have the exact same song list and config settings
will try it, i can just send the music and config files to my party
from my experience of modding gamemaker games, streaming an audio is only good for music, not really good for an audio that's played often.
you should always use ogg files to load the audio
I mean it technically is music
if you don't want to stream it from disk, you can turn that off in the config
depending on how many songs you have and how long they are, it might cause a significant delay when jumping into a game though
Oh i was just my knowledge, i saw the config files. It was off by default
a suggestion for the mod, track each music files name and briefly display the music's name anywhere at the corner of the screen when you play them. (only for the player that uses/carrying the boombox)
qol addition would be to store each music files in an index so you can manipulate them to sync between host and clients and also choose what music that you want to play.
Displaying the song name is probably possible and not terribly difficult to implement, I'll take note of that
@stray oracle if you're around I've installed the .dll folder into my plugins and ran the game however it doesn't seem to make a custom songs folder in my bepinex
oh load INTO an actual game not just menu?
gotcha
that makes more sense
perfect, showed up thank you
Just thought of this after playing tonight, but wouldn't something like this also be possible with the television you can buy?
(Also got the absolute perfect clip in #game-clips using this mod, it's already perfection)
Imma be honest with you, I didn't know there was a television
That clip is super funny tho
Yeah it's in the rotating ship decorations shop, you can switch between a few channels and move it around the ship
hmmmmmmm
im having issues with the boombox music
i have mp3 in the folder but nothing is being played
Try buy in store new boombox, same problem, but buying fix this
i would have to buy a new one?
Yea, try
can confirm that it's synchronized between host and client if they have the same files
do flacs not work?
No
Does this sync in multiplayer if every player has the same songs?
It should? I haven't done much testing but I believe that's how it works
yes
my friend and I tried it yesterday
you need the exact same song files in Boombox Music folder
if you want to be in sync 100% of the time
@stray oracle Quick question does this mod only work for a maximum of 4 songs or no?
There is no limit
Awesome thank you for the reply friend!
Got a problem where when i load a savefile all old boomboxes (not purchased during current play session) dont work entirely
Do all the players need to install this?
no
known bug
A couple of meme songs that you can drag and drop into your root folder, all the good ones so hope you have some fun
not sure you can fix it but there's some kind of a sync issue when playing with more than 2 players. usually two players will hear the same song when others will hear something different everytime. not sure what's causing it as we all have the exact same custom songs.
and it's not always the same guy hearing different song so it's not caused by different installs.
played with 5 people, didn't have sync issue so far, as long as you have the same music files

Hey yall im getting this error here for the plug in
"[Warning: BepInEx] Plugin [Custom Boombox Music 1.0.0] targets a wrong version of BepInEx (5.4.22.0) and might not work until you update"
does anyone have a link to the bepinEX folder that they are using ?
just worried if i just use latest, ill break my other mods
latest bepinex should work for every mod
does this mean I can't use 2 boom boxes?
also bug report
StartOfRound_Awake ticks after Boombox_Start
which means no songs loaded
actually thats not the issue
it's just that the songs dont load in time before the boombox start
becuase its running in parallel/coroutine
racing condition moment
i could hear the same song with two diff boomboxes, so it's not what you're referring to. What that means is the songs won't glitch and play twice when you left click on boombox
only if you enable streaming from disk
I see
so it is what I was thinking
if that's enabled, 2 boom boxes cant play the same song
will it just error out? lol
also I pushed a fix to the GitHub repo yesterday that should fix it
you'd have to build from source tho
https://github.com/DeadlyKitten/LC-Boombox
it'll stop playing on the first one iirc
let me know if that fix even works I didn't test it lmao
but it probably does
I think
nice, good to know
when sync with ppl without the mod
does only the host this for everyone to hear it?
thats just not feasible
not possible
Any way of making the boombox play while not in hands of the player?
doesn't it do that already if you put it down?
yea but i mean having it in the inventory and running around
should be easy
literally just patch this
even easier than I thought wow
ez pz
static IEnumerable<CodeInstruction> Transpiler(IEnumerable<CodeInstruction> instructions)
{
var patchedInstructions = instructions.ToList();
var skippedFirstCall = false;
for (int i = 0; i < patchedInstructions.Count; i++)
{
if (skippedFirstCall)
{
if (patchedInstructions[i].opcode == OpCodes.Call)
skippedFirstCall = true;
continue;
}
if (patchedInstructions[i].opcode == OpCodes.Ret) break;
patchedInstructions[i].opcode = OpCodes.Nop;
}
return patchedInstructions;
}```
Hey not sure why but I just tried this version and it gave me infinite credits when I started a game. It fixed when I removed the plugin from the game files.
I guess I left the debug patch in that I use to be able to actually afford boomboxes to test lmao
Is it possible If I am the only person with this mod and songs my friends can still hear them or will they need everything?
they will need mod and music
Could someone link the guide to this? I think i am a donkey and have set it up wrong
why github does not update? it the one you post is up to dated?
im trying to set up BepInEx, i load the game but it just doesnt create the extra files..? I have tried reinsalling and oing it differently but nothing works.
I have tried loading the game, loading into an existing file, loading into a new one. And it wont create the 'Boombox Music' Folder. Any help is appreciated 😄
just create the folder yourself
or maybe try launching the game as administrator, maybe it doesn't have the permissions to create a folder inside the game dir. without administrator privledges
everyone needs it. I streamline the process by installing all of the mods we'll be playing myself, (BiggerLobby, Boombox, the songs, etc.) and then I just copy/zip up the whole folder and send it over so all they have to do is extract it into Lethal Company
I tried that and ran as admin still isnt working 😦
Post your LogOutput.log file from the BepInEx folder
[Message: BepInEx] BepInEx 5.4.22.0 - Lethal Company (8/11/2023 3:06:32 PM)
[Info : BepInEx] Running under Unity v2022.3.9.15351836
[Info : BepInEx] CLR runtime version: 4.0.30319.42000
[Info : BepInEx] Supports SRE: True
[Info : BepInEx] System platform: Bits64, Windows
[Message: BepInEx] Preloader started
[Info : BepInEx] Loaded 1 patcher method from [BepInEx.Preloader 5.4.22.0]
[Info : BepInEx] 1 patcher plugin loaded
[Info : BepInEx] Patching [UnityEngine.CoreModule] with [BepInEx.Chainloader]
[Message: BepInEx] Preloader finished
[Message: BepInEx] Chainloader ready
[Message: BepInEx] Chainloader started
[Info : BepInEx] 0 plugins to load
[Message: BepInEx] Chainloader startup complete
Am i stupid? Im probably stupid ahha
Idk where you put the mod dll but it's in the wrong place
Should go in Lethal Company/BepInEx/plugins
same problem here
is it because of melon loader?
@stray oracle So is it a known issue that the boombox tends to break when you restart the server?
Or an issue that's been fixed recently at least*
Because I've noticed it'll still drain battery as if it was working but without playing any songs, if I restart the server.
oh uhh
using this one?
Nope, I can give it a go though.
Ok that fixed it. the plugin is now loading but its still not creating the files like Boombox Music etc?
you have to get into a game
can be all by yourself
I thought I fixed that but maybe I didn't
Just so i know im not screwing it up, this is the correct directory right?
C:\Program Files (x86)\Steam\steamapps\common\Lethal Company\BepInEx\plugins
So place the 'Custom Songs' folder inside the CustomBoomboxTracks folder. Correct?
no
BepInEx/Custom Songs/ Boombox Music
isnt it possible to hear the same song in sync, or am i doing smth wrong?
Is there a specific size/length/file type for the songs to play. Some of my custom tracks are silent
Mp3 ogg and wavs for format, no length restrictions (I had a 30 minute of home depot theme song playing and it was like 20mb) it might be a volume issue. Might need to raise the volume on some of the songs.
Question regarding this mod; will it ever be possible to not be client side? I'd love to surprise my friends with songs.
I guess it would require some sort of custom file sharing loading phase when joining, which isn't in the actual game right now.
very unlikely
sharing random files over the network is something I'd like to avoid
@stray oracle do you think something like this would be posted on thunderstore of something like that for potatos like myself?
does the Boombox sync if all my friends use the same mp3 files?
Guys, how i can fix that?
[Info : BepInEx] 3 plugins to load
[Warning: BepInEx] Plugin [Custom Boombox Music 1.2.0] targets a wrong version of BepInEx (5.4.22.0) and might not work until you update
It should
It should still work
hey, the boombox only plays 1 song out of the 3 i put in. Also the console spews errors saying this mod is targetting the wrong version of BepinEx
😭
BepInEx version shouldn't matter that much, but which version do you have?
Also post log
I meant post the log file
I wanna see the whole thing
Version is close enough it should be fine
want me to get in game and get a boombox for the log file?
or is startup fine
got the full log
went in game, got a boom box, started cycling music
just plays the same song over and over, using the DLL you posted in here earlier
two of your songs are invalid (probably not actually mp3, but mp4a)
[Error : Unity Log] Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Unsupported file or audio format. )
[Error :Custom Boombox Music] Failed to load clip at: L:\SteamLibrary\steamapps\common\Lethal Company\BepInEx\Custom Songs\Boombox Music\Build Me Up Buttercup.mp3
This might be due to an mismatch between the audio codec and the file extension!
[Error : Unity Log] Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Unsupported file or audio format. )
[Error : Unity Log] Error: Cannot create FMOD::Sound instance for clip "" (FMOD error: Unsupported file or audio format. )
[Error :Custom Boombox Music] Failed to load clip at: L:\SteamLibrary\steamapps\common\Lethal Company\BepInEx\Custom Songs\Boombox Music\Lights.mp3
This might be due to an mismatch between the audio codec and the file extension!```
that should fix
mostly I find the issue is with certain youtube -> mp3 websites. They say they're giving you an mp3 but it's not really
most audio player software can handle both types so they don't care, but Unity can't
this is probably why my general unity + mp3 file experience has been fucking terrible
yeah
youtube -> ogg is generally more reliable in my experience
pretty much everything gives you ogg vorbis, which is what Unity expects
yeah i prefer ogg aswell when i do anything unity audio stuff
That was the solution
silly little fake file types

I probably should I just hate dealing with Thunderstore 
hey how do i add custom tracks?
do i need to make the new folder couse it says to add songs into the folder named custom songs. but its not there
hey do the songs sync for other people if you have the same songs downloaded?
it should
where are you looking?
did you load into a game first?
no i wanted to set it up first to avoid issues. should i do that?
im looking for the folder where i can put custom songs nd sounds into
yeah it'll generate the folders when you run the game
you can also create them yourself if you really want to
should be BepInEx/Custom Songs/Boombox Music I think
I can't express how happy it would make me 😛
should the folder be named Boombox or Boombox Music
on the github it says just boombox
I followed all the steps but the music still isnt working
did i do something wrong
nvm i got it to work kinda
the music works but now the boombox is stuck to my hand
and any objects
did i install something wrong
idk what's going on in your game lmao
but I'm not sure it's my mod causing it
does it work if you remove MoreCompany?
ill try
yeah even with the morecompany mod uninstalled its still broken @stray oracle
it even plays when not equipped
can you post the log again?
one sec
when you say stuck to your hand
you can't drop it?
i can drop it
its like
if its in my inv its stuck to my hand
when i have any item out
or no item out at all
i can even see it in my shadow
super weird...
ill try reinstalling it but idk if it will do much
yes
ok yeah that probably is my fault lmao
...lemme fix this
oh I know why it's broken lmao
what happened
I screwed up the patch that lets the boombox keep playing after you pocket it
this should work
Custom Boombox Tracks https://thunderstore.io/c/lethal-company/p/Steven/Custom_Boombox_Music/
how do you add songs with thunderstore
Pretty sure you need to still add them manually
@stray oracle the songs aren't the same between my friends now with the current patch. rip lol
thank you goat
had this issue since the first one personally
anyone encountered a problem where the boombox only works when you're playing by yourself?
Is there any way to sync up the songs being played ? So me and my mates all hear the same thing? Anyone ?
will there ever be a multiplayer fix or is this mod supposed to be used for singleplayer only
It was designed to be client-side only
Any online functionality is purely coincidence
as long as your friends put the same files in their boombox songs folders youll hear the same thing
ok
how do i install this
Thundstorm manger?
bruuuh
i dont understand hw tf this works
how i do this with thunderstorm
??
So my friends need the same mod downloaded?
yes
is there a simple way to send the songs to my friends
Discord
Make a zip if you have a lot
unfortunately the songs dont sync
for all people
even with downloaded not everyone will hear everything at the same time
Best way to do it I've found is just zip your BepInEx folder and then send to everyone, just tell them to delete the old folder
So, my friends and I have the same songs downloaded but they don't seem to sync
Is there like a work around?
disregard I totally didn't read above lmao
anyone reckon there's some mods out there that could somehow make the songs sync? I'm not so streetwise yet with all the stuff that's out there
done that and it didn't work
maybe it's working when you don't have many songs I have 20+
One definitive way of having same song play for everyone would be to just have one song lmao. But that's a bit sleeper
My boombox doesn’t work when I left click now. Is there a fix for that
LogOutput.log file from the BepInEx folder please
What do I do with it?
post it here
Your audio files are most likely not true mp3 files
You can try re-encoding them with something like Audacity
Gotchu thank you🤝🏼
The songs normally do sync. The only time they don’t sync is if you restart the lobby, already have a boombox on the save, or if someone joins late. It’s fixed by just throwing that boombox out and buying a new one from what I’ve tested
So pre-existing boomboxes just have issues unfortunately
oooh. I didn't test that tbh, we tested on an already existing boombox yeah. Didn't think to even buy a new one and then test that.
Yeah I had it happen last night and remembered there were some issues with preexisting ones and bought a new one, and also tried a new save and both fixes worked
Hey guys, ive added the boombox mod, but having trouble getting my own tracks to play. i have installed it and added followed instructions correctlty. when loading up the modded version, it says i the control pannel that "this mod may not work due to the BenpInEx version not being the same" or something like that.
bepinex version won't be an issue
it's only a warning
it will work
don't worry
a lot of mods use a VERY SLIGHLTY different version bepinex
which shouldn't cause issues
Ok.. how can i get it to work?
did you test the boombox?
Have you tried a fresh save? Or a new boombox
yes
it just plays the default songs
Also post your bepinex folder screenshot
yes
it might be checking in the game folder
meaning? what do i need to fix?
1 sec
ok
oh i tested it
it should be working, but that path looks weird
AppData\Roaming\r2modmanPlus-local(or thunderstore)\LethalCompany\profiles\Default\BepInEx\Custom Songs\Boombox Music
that's where it should be
i was testing if it looked in the game folder or the bepinex folder
what needs to be changed?
ive gone in multiple times with the current path and it has not worked
Hello, I have read through the thread and it seems to be a repeating problem but I am having the sync issue as well. If there's anything that can be looked at done, myself and my group would be appreciative!
So good news, did some testing with some people, and it seems there is a fix to get all your songs sync'd up: Just buy a new boombox
If you have an existing boombox on a save, it will be unsync'd. across multiple saves, new and existing, with boomboxes already existing or not, if you buy a new boombox, the new boombox will be sync'd.

not sure why existing boomboxes aren't working properly but I'll look into it
It MAY also be a pre-mod vs post-mod thing, where existing boomboxes before mod installation wont be in sync, but boomboxes between sessions, both after mod installation, are still sync'd?
I can do that testing later for you as well, eating some turkey right now 
from my testing last night it's not a pre-mod vs post-mod thing, it's just old boomboxes that are not bought on the pre-existing session will not be synced unfortunately
I don't actually think this is a mod issue, I think it's an issue with the game itself with how it syncs clients up. (For example, as a host if I move my furniture around the ship before some people join, they will not see the furniture moved.)
Luckily the fix is just buying a new boombox rn
Is there any way to have songs play longer than 2mins 20sec? Seems like songs seem to cut out at that point and start over, or is this somehow hard coded/modder hasn't looked into this yet?
yall are big brains im so fucking lost and am bouta attempt this by myself
it works
love u steven
the mod is installed, everything is setup correctly, i buy a boombox (it doesnt work), i buy a second one and it still doesnt work.
idk what the issue is
@stray oracle
here @unreal rock vol down also audio will be spatial it on the right earphone cuz thats my right screen idk why it does that
hi guys i have follwed the install process and got the music in the correct format but cant seem to get it to play anything
hey does everyone has to put the songs by hand into the boombox folder. or when i give them the come nd they import the mods it imports the tracks IN THE FOLDER with it
just make sure to zip the folder so they all have it without doing anything
thats what i do for me and my group
i zip the whole folder for BepInEx and send it over to them, tho i change some configs back to default since some of them have 60% keyboards
thing is most of them dont want to get too much into file stuff. so i was just keeping them with importing the whole mod pack using thunderstore codes. i just waswnt sure if the mp3 will also transfer or just the mod
no thats why
i see
they would just have to drag and drop / delete their bepinex and drop the one you zipped
i see
i believe the mp3s should stay
would have to test it out with one of them and see
allright i put all the mp3 into a zip so hopefully it wont be too complicated for em lol
so long as you show them where to drop it, y'all should be fine
i do everything manually but i also have it organized
what's the point of zipping it if they still have to place it manually? is their a solution for them to import the zip with just a profil code ?
i dont use modmanagers
i do everything manually
that way i dont have weird issues with the mod managers
do you use dnspy
what's that
lets you view the whole code and all
yea i know its better but a lot of peaople are lazy and just don't want to go in folders
i mean all they have to do this way is just one thing
so there is no way to make a zip, place it once, and keep it in there even after updating the profil with new code ?
idk about that
i know bro it make me mad too
since idk how the managers yall use work
i trying to go to thru the file but when i look in bepinex and i try to find custom song its not there
ive looked thru the code and it say that the file has been generated but i legit dont see it in the files
Try this one (I just edited it to print out where it creates the folder in the console/log)
if you're using a mod manager, I think they do some weird thing where they place modded stuff into AppData somewhere
this should help you find it
ive open the dll in dnspy and looked for the file but still i just can seem to find it even when doing a broad search thru all my game files
You did what now?
the dll file you sent i opened it in a debug software that lets me look thru all the code going thru the code
and going thru my file on my computer i type in the name of the file searching for it and it said no items match your search
I meant for you to run the game with it installed
it should print out the exact path you're looking for in the console/log
so i have to run the game find the folder them and then im able to import the mp.3 files
ok i see
in theory
it should be there though idk why it wouldn't
its saying that boombox is targeting a different version of depinex
5.4.22.0
i think imma go down a verison in boombox and see if that works
thats normal
yeah nothing
im looking at the console and it doesnt give me a path
FOUND ITTTTTT
lord that took tooo long
What was the issue?
is it possible to make another mod that adds custom songs using this
is this possible with thunderstore mod manager?
Bit of a longshot ask. Trying to set up all the mods I want manually but this mod is the only one not working.
Whenever I click the song just doesn't play on a boombox, new save and all.
Checking the log, the mod and song loads completely fine without any errors.
The error I get whenever I try to play the boombox is as below:
"
[Error : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
(wrapper dynamic-method) BoomboxItem.DMDBoomboxItem::StartMusic(BoomboxItem,bool,bool)
BoomboxItem.ItemActivate (System.Boolean used, System.Boolean buttonDown) (at <39ddadb2aa5843e586a6c642ee60b0b5>:0)
GrabbableObject.UseItemOnClient (System.Boolean buttonDown) (at <39ddadb2aa5843e586a6c642ee60b0b5>:0)
GameNetcodeStuff.PlayerControllerB.ActivateItem_performed (UnityEngine.InputSystem.InputAction+CallbackContext context) (at <39ddadb2aa5843e586a6c642ee60b0b5>:0)
UnityEngine.InputSystem.Utilities.DelegateHelpers.InvokeCallbacksSafe[TValue] (UnityEngine.InputSystem.Utilities.CallbackArray1[System.Action1[TValue]]& callbacks, TValue argument, System.String callbackName, System.Object context) (at <69a3ba35f0be43dc9f2827cb84fef646>:0)
UnityEngine.InputSystem.LowLevel.<>c__DisplayClass7_0:<set_onUpdate>b__0(NativeInputUpdateType, NativeInputEventBuffer*)
UnityEngineInternal.Input.NativeInputSystem:NotifyUpdate(NativeInputUpdateType, IntPtr)
[Error : Unity Log] NullReferenceException while executing 'performed' callbacks of 'Movement/ActivateItem[/Mouse/leftButton]'
[Warning: Unity Log] Audio source failed to initialize audio spatializer. An audio spatializer is specified in the audio project settings, but the associated plugin was not found or initialized properly. Please make sure that the selected spatializer is compatible with the target.
[Warning: Unity Log] Audio source failed to initialize audio spatializer. An audio spatializer is specified in the audio project settings, but the associated plugin was not found or initialized properly. Please make sure that the selected spatializer is compatible with the target.
[Warning: Unity Log] Audio source failed to initialize audio spatializer. An audio spatializer is specified in the audio project settings, but the associated plugin was not found or initialized properly. Please make sure that the selected spatializer is compatible with the target.
"
The audio spatializer stuff goes on for a little bit longer, same error.
Idk why you're getting that error but it shouldn't be caused by the boombox mod.
If you remove the mod and try playing a boombox, does it work then?
Yeah it does, sorry for the late reply.
After some testing it's a conflict with one of my other mods it seems since it works completely fine with just the boombox mod.
I'll look into it and figure out what mod it conflicts with and give a precautionary warning at some point Saturday I'd imagine.
@stray oracle can you change the custom songs folder to be inside your plugin folder
that way we can make add on mods for songs that can work through thunderstore
I think that your mod should do the same thing for boombox music that More Suits does for suits
and thunderstore/r2modman don't allow mod files to be automatically be put outside the plugins folder
Did you find out where the path was when using the modmanager?
No i didn’t use a mod manager i did everything manually installed all the files that way but initially I had some mods that were conflicting with other and not allowing the file to generate so I went through the tedious process of installing each mod and booting the game until I found which mods didn’t work for me
Ahhhhh gotcha then
But after doing all that I got the file to generate and easy drop and drop .mp3 files into the folder
I see you already made your own mod to address this, but I'm not planning on changing the songs folder in this way, for a couple of reasons
- I feel like uploading song files for the boombox is a (mostly) low-effort "mod" and I'd rather encourage people to come up with their own stuff
- in like 99% of cases uploading songs to Thunderstore is violating copyright
- I don't want to clog up Thunderstore with songs/song packs. This is already happening with stuff like mod packs and I don't want to add on to it
Im going to leave this here for the record, but in retrospect I mostly agree with this
I just wish someone told me beforehand because I would have made a cryptic personal mod instead
I woke up this morning and @stray oracle you were 100% correct 😭
took down the guide and changed the readme to be more vague so hopefully that stops the flood of low effort mods
💀
I do wish Thunderstore had a way to simply set mods to private for people only in your team, unless there is a way
not that I know of
Hello guys why my Custom Songs\Boombox Music folder doesnt exist ?
Have you launched the game with the mod, and then loading up an actual lobby yet?
Once you load up an actual lobby (not just opening game to main menu) it should create itself
ah
I believe I just added my own Custom Songs folder to the BepInEx folder and it worked using r2modman
just directly the mp3s
ok i will try it
and where did you put your dll ?
CustomBoomboxTracks.dll
,
?
if you installed it with r2modman you shouldn't have to worry about where to put your .dll
I have made the songs work for myself. Just need to figure out how to make my friends hear what im hearing
give them the songs too
thats all you need to do
and tell them to add them on the custom songs folder, and that's it
Will they hear the same songs as im hearing or a random order?
I've seen some people report that the boombox may play different songs for different players, I personally haven't tested it so I'm not sure
can someone help me install this mod im dumb
Please head to for any help with modding your game. Please be patient as the employees are only human.
nothing works lol absolutly nothing
can someone give me a short tutorial for installing and setuping Custom_boombox
theres already a tutorial on the thunderstore
are there any known conflicts with this mod? I can't seem to get it to work at all
i'll try reinstalling
im running hella mods rn, if you have a mod that messes with the music as well it might conflict
spent the last 2 hours trying to troubleshoot music issues with me and 2 buddies only to finally come across this message 😭
tragic tbh
in theory it should be working if
- you're using the latest version of the mod on Thunderstore
- everyone has the exact same song list
- everyone has the same config options set (i.e. everyone has default songs enabled/disabled)
yeah idk why it wasn't working at first
reinstalled it and i twork
the desync is sad though
but i assume it's hard to fix
i can verify that the sync works 100% with my group of 8
I used a profile code to ensure that everything is the same
are you using r2modman or thunderstore? i was troubleshooting with both and no matter what i tried, different issues would pop up almost every time i shared the profile. the farthest i got was that I got everything to work 100% on my end utilizing your fix, but my friends wouldn't have the skins pop up, or they'd only have 2 songs out of the 6 we have added, etc. i've added too many variables to my troubleshooting and it's driven me up a wall lol
if they only had 2 out of 6 songs its because they didnt place all the songs
would it be possible for you to send ity to me please or help me with the sync issue? we only have a few mods but quite a few custom songs
the desync is easy to fix, simply buy a new boombox. ANY pre-existing boombox on a save will desync for everyone. Even if you start a fresh save, buy a new boombox when everyone has the same songs, and then happen to restart the lobby that boombox will then unsync itself again. (So just throw it out and buy a new one)
i'll try it
I just wanted to say something related to this -- this bug actually happens in the base game, not just with modded. I just tested it with mods and without and the result is the same, and this fix works for both vanilla and modded.
I might have a theory
I'll throw my hat in the ring, as I've been looking into this as well:
I think it has something to do with the sync of the musicRandomizer variable between clients. So -- if you spawn in a fresh boombox, every client creates a musicRandomizer variable which is seeded (this.playersManager.randomMapSeed - 10), so the "random" numbers are predetermined and same for everyone. And it's synced, because every client has gone through the Start() Method at the exact same time.
However -- if the boombox already exists, the host is the first one to go through the Start() method, and already starts generating "random" numbers from the seed. Once another person joins, they ALSO start generating random numbers, in the exact same sequence as the host. But here's where the desync comes in -- because they have joined later, the client has just started to go through the "random" numbers, while the host could be already at "random" number 100, meaning that the client has "fallen behind" the host, and ultimately causes desync.
Maybe you'll figure out how to fix this, I've tried syncing the variable through Networking but I'm really bad at it, so I don't really have an implementation yet. You could also somehow just force everyone to start generating the Random numbers over again if someone joins the server or something. That's the two solutions that I came up with that could maybe work, maybe there's something better 😅
this is a fantastic resource thanks
maybe the host just sends the number through an RPC call
I think I might know why actually
actually no never mind
I was assuming that the randomMapSeed was somehow desynced
oh wait maybe I do have it
since a Boombox is a NetworkBehaviour, I believe it spawns as soon as a player joins the session
so it spawns before the server syncs the randomMapSeed
which occurs in OnClientConnect() -> OnPlayerConnectedClientRPC()
now I see why someone made a PR that hard-coded the seed
Ah I see what you mean
Yeah I just tested hard-coding the seed and it just works now, so you're on point
Small question. When I place my own custom music into the profile folder for r2modman it deletes the mp3 files I put into the boombox music folder when I click start modded. How would I make a mod on r2modman that would allow me to install it through there
uninstall the fix mod
Alright that fixes it for me but I'd like to be able to have all music I'm putting into my modpack available for my friends
Is there a tutorial on properly setting that up for r2modman?
use the plugins/Custom Songs folder as directed in README of the fix mod
I am having issues getting this mod to work can anyone help?
@stray oracle how hard would it be to add a track selection
that would require a UI so a good bit of work
Hello, in desperate need of some information on what mastering settings are applied to songs through the mod. My boys and I added my music to the mod and the mastering was exquisite would love to replicate on my own. Ty if anyone has any information
mastering?
you can look at the source code and try to reverse engineer it
but Im pretty sure it's the actual game applying those settings
Correct, whatever mastering there is, if any, is done by the game
I'm just swapping out audioclips
add a volume slider config option :)
flipmods object volume controller works well for that
nope
oh shit you right, probably the content fix patch mod was the broken one, thanks for that
@stray oracle You need to update the mod to add a checksum to the ffbinaries download.
I need to what
get a sha256 of the ffmpeg file manually then compare it to the ffmpeg you download with your mod to make sure they're the same
I'm not downloading ffmpeg
¯_(ツ)_/¯
ikr
ikr

