This thread has been locked.
Custom Soundtrack doesn´t show up on JukeBox
Avatar

For some reason, when I created my own custom music mod, it doesn't appear in the jukebox, no matter what I do. I placed the mod in the mod_overrides folder, and it includes:


  • An XML file
  • A loc file with an en.txt inside
  • A sounds folder containing the music

All other soundtracks with the same setup work, but mine specifically doesn't show up in the soundtrack selector.

What am I doing wrong?

AudioBeardLibSuperBLTBugOverrides
Replies
Avatar

Probably something's wrong with the file paths/associations from .xml file or something similar.
If you provide the content of both your .xml and en.txt files, as like as the file names of everything inside your sounds folder, I might try to figuring out what's your problem is.

Avatar

Ok here:

XML:

<Table name="SAMSON">
<Localization directory="loc" default="en.txt"/>
<HeistMusic id="SAMSON" directory="sounds">
<Event name="setup" source="stealth.ogg"/>
<Event name="anticipation" source="anticipation.ogg" start_source="anticipationintro.ogg"/>
<Event name="assault" source="assault.ogg" start_source="assaultintro.ogg"/>
<Event name="control" source="control.ogg" start_source="controlintro.ogg"/>
</HeistMusic>
</Table>

en:

{
"menu_jukebox_SAMSON" : "SAMSON",
"menu_jukebox_screen_SAMSON" : "SAMSON",
}

Avatar

IDK man, I'm literally just copypasted all of the above over some other add-on music track and everything works just fine.

However, there are still some mistakes. The important thing is that event name entry is case sensitive and should be typed in the lower case. Otherwise, corresponding music loops would be silent.
Also, you don't need to have that second comma in en.txt file. Doesn't seems like it causing any trouble, but still.


Everything else seems fine, so, no idea what can causing the trouble. Maybe something wrong with the naming? Like, the name of the mod folder? Some symbols are not supported by the game/SuperBLT/BeardLib or whatever. It's also crucial that your XML file be named main.xml and no other name.

PS. The only other thing I can do to help you is to make such a music mod myself, but of course if you can provide me with the music files via Google Drive or something like that.

Avatar
(Poster)5 days ago(Edited)

@3xbar Yeah i can do that, i can give you the music files so you can make it yourself
I think it´s a bug on SuperBLT or Beardlib but they´re not outdated so no clue
I will create the file here real quick then you can acess it

Avatar

What about stealth part?

Avatar

@3xbar Just delete the stealth part

Avatar

Here is your track.

Everything works fine on my end. Except that without stealth part the music would be silent during... You know, stealth part. =)

Read All Replies (4 replies)
29 878