Keep Talking and Nobody Explodes

Keep Talking and Nobody Explodes

Not enough ratings
Music Manager
 
Rate  
Favorite
Favorited
Unfavorite
Other: Audio, Other
File Size
Posted
Updated
0.527 MB
Feb 19 @ 3:26pm
Feb 20 @ 1:23pm
2 Change Notes ( view )

Subscribe to download
Music Manager

Subscribed
Unsubscribe
Description
Music Manager is a mod that allows you to customize the music that is played within the game.

Mod Settings
Currently, the only way to add custom music to the game is via the mod settings config file, which follows the current structure:
{ "Setup": { //Can specify tracks one-by-one in an array "Tracks": [ "C:/Path/To/My/Music.ogg", "C:/Path/To/My/Music2.wav", ], //Or specify a folder containing all the tracks "TracksFolder": "C:/Path/To/My/Tracks", "AllowDefaults": true }, "Gameplay": { "Playlists": [ { //Can specify tracks one-by-one in an array "Tracks": [ "C:/Path/To/My/PhaseOneMusic.ogg", "C:/Path/To/My/PhaseTwoMusic.ogg", "C:/Path/To/My/PhaseThreeMusic.ogg", "C:/Path/To/My/FinalPhaseMusic.ogg", ], //Or specify a folder containing all the tracks "TracksFolder": "C:/Path/To/My/Tracks", "Name": "MyGameplayPlaylist" } ], "AllowDefaults": true }, "PostGameWin": { //Can specify tracks one-by-one in an array "Tracks": [ "C:/Path/To/My/Music.ogg", "C:/Path/To/My/Music2.wav", ], //Or specify a folder containing all the tracks "TracksFolder": "C:/Path/To/My/Tracks", "AllowDefaults": true }, "PostGameLose": { //Can specify tracks one-by-one in an array "Tracks": [ "C:/Path/To/My/Music.ogg", "C:/Path/To/My/Music2.wav", ], //Or specify a folder containing all the tracks "TracksFolder": "C:/Path/To/My/Tracks", "AllowDefaults": true } }
  • The only allowed filetypes currently are *.wav and *.ogg.
  • There can be any number of tracks per gameplay playlist, as time is equally divided up for each phase, barring the last phase, which always conincides with 30 seconds remaining on the bomb timer.
  • In order to force your custom music selection to be used and not the regular game music tracks, set the appropriate "AllowDefaults" field to false.
  • You don't need to declare tracks for all music types if you don't want to; just leave the "Tracks" array empty for the appropriate music type.
  • If specifying tracks by "TracksFolder", the tracks will be added to the playlist in filename alphabetical order.
  • Only specify one of "Tracks" or "TracksFolder" for each music type.
Popular Discussions View All (1)
0
Apr 27 @ 10:38pm
Music Manager Detail.
Dr. Garmonbozia
< >
9 Comments
StardustAlpha Jul 14 @ 6:30pm 
I'm stumped. I can't seem to get this to work on my mac. Could you provide a functional example directory for mac? I've tried Mac/Users/me/bleh, which makes the bomb not exist and ~/bleh and Users/me/bleh which don't load the music.
Bashly  [author] May 18 @ 8:55am 
(I appreciate JSON's not particularly fun to use for newer users, it just makes my life easier implementing the mod :P)
Bashly  [author] May 18 @ 8:54am 
Backslashes in quoted section is only allowed if you do each backslash twice in succession (it's called an escape character), so either:
"C:\\Users\\miste\\AppD\\etc" or
"C:/Users/miste/AppD/etc" will work (forward slashes you don't have to worry about doubling up as they're not an escape character, and fortunately Windows paths will accept either forward or back slashes fine).
HeartLion99 May 18 @ 8:02am 
Error: Parse error on line 3:
... { "Tracks": [ "C:\Users\miste\AppD
---------------------^
Expecting 'STRING', 'NUMBER', 'NULL', 'TRUE', 'FALSE', '{', '[', ']', got 'undefined'
I got this error
Bashly  [author] May 18 @ 7:59am 
Looks like there might be some JSON validation issues with that (missing commas in some places) - run it through something like https://jsonlint.com/ to find those issues.
HeartLion99 May 18 @ 7:47am 
Thank you for answering that fast, but...it still doesn't work lol.
Have no idea why this just won't work for me, not even a song has been replaced.
I'll leave you a pic again, in case you want to check for errors, but I think I did exactly as you wrote. http://oi66.tinypic.com/15mbqjl.jpg
Bashly  [author] May 18 @ 7:21am 
(Forgive missing tabs)
Bashly  [author] May 18 @ 7:21am 
The "Gameplay" object needs to be "Playlists" array, then details for each object in the playlists array, e.g.

"Gameplay":
{
"Playlists":
[
{
"Tracks":
[
//As you had before
],
"Name": "CustomPlaylist"
}
]
}
HeartLion99 May 18 @ 7:04am 
It doesn't work for me...what am I doing wrong?
This is a pic of my Music Manager Settings file, could you please help me out?
http://oi67.tinypic.com/kcnwyg.jpg