WASTED

WASTED

查看统计:
Mr. Podunkian 2017 年 5 月 6 日 下午 7:31
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.
最后由 Mr. Podunkian 编辑于; 2018 年 7 月 19 日 上午 12:28
< >
正在显示第 1 - 13 条,共 13 条留言
SMC 2017 年 5 月 10 日 上午 5:50 
Good work
Coffee And Green Tea 2017 年 7 月 1 日 上午 1:11 
Do the normal song still play?
Zylo 2017 年 7 月 1 日 上午 1:18 
Cool an official mod, nice.
LoveABowl 2017 年 8 月 20 日 上午 8:09 
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?
Mr. Podunkian 2017 年 8 月 20 日 上午 11:13 
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.
Heraldo Xavier 2018 年 7 月 18 日 下午 8:39 
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?
Mr. Podunkian 2018 年 7 月 18 日 下午 9:14 
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!
Heraldo Xavier 2018 年 7 月 18 日 下午 9:44 
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
最后由 Heraldo Xavier 编辑于; 2018 年 7 月 18 日 下午 10:11
Mr. Podunkian 2018 年 7 月 18 日 下午 10:12 
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!
Mr. Podunkian 2018 年 7 月 18 日 下午 10:18 
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.
Mr. Podunkian 2018 年 7 月 19 日 上午 12:25 
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!
Heraldo Xavier 2018 年 7 月 24 日 下午 6:12 
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
Doomer Humor 2020 年 6 月 29 日 下午 7:35 
Late to the party but ever figure out a fix?
< >
正在显示第 1 - 13 条,共 13 条留言
每页显示数: 1530 50