Radio Stations

Radio stations can be added simply and easily. Radio stations are contained in the /Radio folder. Two pre-made stations are included to avoid game crashes and for referencial purposes. These can be removed, however at least one radio station should exist to prevent crashing.

File Structure
For reference, 3 example stations will be used: Rockin 70s, Retro-Records, and Classical. The folders in the Radio folder will be Rock, Retro, and Classic respectively.

Radio stations go in the Jumprolango/Custom/Radio folder. In this folder there is a file called Radio.json that is structured like this: {  "stations": [ {"Name":"Rockin 70s","ID":0,"Folder":"Rock"}, {"Name":"Retro-Records","ID":1,"Folder":"Retro"}, {"Name":"Classical","ID":2,"Folder":"Classic"} ] } Folder names are case sensitive. ID must be included, and starts from 0.

Each folder must have a Station.json file, and at least 1 song. Optionally, you can have a custom icon.png in the folder as well, otherwise you can use one from the preinstalled sets. The Station.json is structured as such: {  "Description":"A station featuring classic rock from the 1970s.", "CustomIcon":false, "Icon":"guitar", "Format":"ogg" } Format can be most music formats, but all songs on the station must be the same format. Different stations can use separate formats, but each station must only use that format. If "CustomIcon" is true, then "Icon" will be ignored, and the game will load the icon.png instead. If an invalid icon name is provided, the icon will default to a music note. All icons available can be found under GameData/Radio/Icons. Description can be left empty like this: "Description":"",