Aurthor's Headsup: If you have seen this before, you probably have. During an update, I accidentially uploaded the wrong one. However I did not expect RimWorld to rename the mod's workshop page. So I deleted it thinking it was a copy, it was not. So thanks RimWorld, thanks for changing the name of the previous upload and making me think it was a copy.
Have you ever disliked how RimWorld will play music at random? Ever wanted your own music in the game? Now you can by this mod. Unlike the other mod where you can only select a folder, and even then its so specific as to how the Ogg Vorbis file must be, this mod allows you to play any Ogg or Wav file.
How does this mod work?
This mod works by blocking MusicUpdate in the MusicManagerPlay object. This allows for greater control over the music. And since the game is built using Unity, this mod makes direct calls to the engine instead of going through Ludeon's Mod calls. The downside is that any mods that rely on MusicManagerPlay.MusicUpdate() will no longer function properly.
Feature's
[list]
[*] Allows for Play/Pause functionallity.
[*] Can skip ahead to the next song.
[*] Can play previous songs up to 5 songs ago.
[*] Can choose which station to play.
[*] Can choose which song to play.
[list]
[*] Can hide the list of songs to play.
[/list]
[*] Ability to play MP3's across supported platforms.
[/list]
Planned Feature's
[list]
[*] Seeking in a song.
[*] Optimizing RAM usage to use as little as possible.
[/list]
Ordering
This mod has to be above all stations in order for it to work. Since this mod does not depend on anything else, you can place it anywhere in the mod list. It is recommended to have it be the first thing to be loaded after Core.
Recommended File Type
It is recommended to use Ogg Vorbis, as MP3 station support is still being worked on. Loading of MP3's is only applicable to non-game/mod directories.
I found a bug, what should I do?
If you have discovered a bug, please email [url=mailto:incoming+kuronekotng-rimradio-8020999-issue-@incoming.gitlab.com]incoming+kuronekotng-rimradio-8020999-issue-@incoming.gitlab.com[/url], create an issue on GitHub, post an issue on [url=https://steamcommunity.com/groups/TNG_Modding_Group]TNG Modding Group[/url], in the Discussions tab, and/or in the my Discord server. Link to my Discord is on [url=https://steamcommunity.com/groups/TNG_Modding_Group]TNG Modding Group[/url].
Is this mod still open sourced?
Yes, this mod is open source, in fact, it uses the same repository it's old-version used. If you wish to contribute go on over to the page.
[url=https%3A%2F%2Fgitlab.com%2FKuroNekoTNG%2FRimRadio]GitLab[/url][gitlab.com]
Steam is saying I need Harmony, but I'm playing on 1.(1/0)
This is because Harmony is it's own workshop item now, and as such is required.
If you are playing on either 1.1 or 1.0, you do not need to worry.
RimRadio for 1.1 and 1.0 bring their own Harmony with them, so if given the option, you can ignore it.
How can I make a Radio Station?
The only supported way now is through XML, basically what the rest of the game uses.
Creating an XML is not hard, as all it needs to do is be called `Sounds/Station_#.xml`.
Along with creating the usual `Songs_Gameplay.xml` file. In this case, you will be using Ogg Vorbis.
The station file structure is as follows:
<CrossReferenceFile>
<StationName>Station Name</StationName>
<IconPath>icon.jpg</IconPath> <!--This is realitive to the [Mod's Home]/Texture folder.-->
<Songs>
<Song>
<SongPath>Songs/[Song File without Extension]</SongPath>
<SongTitle>Song Title</SongTitle>
<SongArtist>Song Artist</SongArtist>
<SongAlbum>Song Album</SongAlbum>
</Song>
</Songs>
</CrossReferenceFile>
For better detail on how to make a station pack yourself, keep an eye open for edits to the wiki on GitLab.
If any problems, please see [url=https://steamcommunity.com/workshop/filedetails/discussion/2299591546/2969524751705538024/]this[/url] thread on how to do so.