WASTED

WASTED

Zobrazit statistiky:
Custom Radio Mod (Update: Not Working)
This mod is currently broken. I'm working out what's causing the issue loading loose audio files, but in the interim, either mute the game music using the ingame options and play your own music with your audio player of choice, or use the Unity editor to pack your replacement audio tracks into AssetBundles while I come up with a fix.

Replaces the music that plays on the radio with your own .ogg files. You should probably keep the number of songs down to a minimum, since, due to Unity restrictions, every song that's loaded is kept in memory, uncompressed, meaning each song will take up roughly 20-50 megs of RAM, which obviously adds up.

The mod also creates "Unlabeled Cassette" tape items that can be looted from any containers you'd normally be able to loot Cassettes from.

Download

Download the mod[www.dropbox.com]

Installation

To install the mod, put the Custom Radio folder in your Mods folder. Then, place your music in that folder, named "song_0.ogg", "song_1.ogg", "song_2.ogg", etc. sequentially.
Naposledy upravil Mr. Podunkian; 19. čvc. 2018 v 0.28
< >
Zobrazeno 113 z 13 komentářů
SMC 10. kvě. 2017 v 5.50 
Good work
Do the normal song still play?
Cool an official mod, nice.
I put three small .ogg files in the custom radio folder (exactly where the "read me" note said to put it) played for almost 20 hours now and hasn't played one of the songs I put in. Anyone else having this issue?
I guess first off, are the files named properly (following the pattern song_#.ogg, starting at 0)?

If so, you might want to check that the mod is installed properly -- that you have the Custom Radio folder in your Mods folder. If you have the game dev. console enabled, you should press ~ and see if there's output on your console log showing that the Custom Radio mod was properly loaded.
I'm having the same issue and it's properly named and installed correctly https://i.imgur.com/AbN76tY.jpg Any ideas of how to resolve?
I don't have time to properly debug it right now, but I did a quick test and found a potential fix -- if you open up the file custom_radio.wmd in notepad, find the following line:

new_track = LoadSound("song_" .. index .. ".ogg", true);

Change the true into a false and see if it works:

new_track = LoadSound("song_" .. index .. ".ogg", false);

I haven't fully tested it out (I'm busy at the moment), but at the very least I can confirm it prints out that the .OGGs are loaded.

Once I've got the time, I'll take a proper look and get a real fix together!
It didn't worked. Quick question: by installing the mod it doesn't require to have the Cassettes to make the songs play right? Also apparently the mod doesn't even load any song https://i.imgur.com/VaCLXZU.jpg

So i tried editing the file, adding a value to the local index which it states that there is the said amount instead of just showing zero new tracks but still no sound
Naposledy upravil Heraldo Xavier; 18. čvc. 2018 v 22.11
Weird -- it said "loaded 1 song(s)" for me. It shouldn't require the cassettes -- it adds them to the radio playlist and also creates cassette tapes to play in the Jukebox. I should be able to diagonose this further in about an hour and a half!
Whoops, okay so turns out the compressed flag wasn't making a difference either way (setting it back to true loaded it just fine). Do you mind emailing me your song_0.ogg file at mrpodunkian@gmail.com? It could be something about how the OGG is encoded that's making it not load properly in Unity.
I tried running the mod with the audio files you provided and it seems there's been a change in how external audio's being loaded into the engine at runtime which makes loose .ogg file loading into the modding API not work. I'll put a disclaimer in the OP so people know this mod doesn't work like it used to while I work out where it's breaking. I know it's not much of a workaround, but in the meantime, I suggest you mute the ingame music using the options in the Audio section of the settings screen and play music using your preferred audio player.

Once I figure out a solution to this issue on the engine side, I'll post in this thread to let you all know!
Oh wow, sorry for not responding you, i though i answered back. No problem man, thanks for the info and for trying to help solving this problem. If necessary i can help you test for you
Late to the party but ever figure out a fix?
< >
Zobrazeno 113 z 13 komentářů
Na stránku: 1530 50