Hello everyone,
today I have a tutorial, how to add radio(s) to the game.
Step 1 - We will find the radio
First, we will open the internet browser (in my case it will be Brave, Chromium based internet browser) and find the radio we want to add. For example, I will choose Truckers FM.
The condition for proper functioning is to find a link pointing to an online stream!
Step 2 - Find the stream URL
Once we will get to the radio page, we will click F12, go to the "Network" and play the radio. Then we are looking for a stream link.
in this case it will be: "https://live.truckers.fm".
(Sometimes you need to refresh the page a few times (twice or three times) to load it properly!)
Some pages have problems with url ports - it means that on webpage is port with https, which doesn't work, but if you remove s from https it will work.
For example: https://64.95.243.43:8002/stream x http://64.95.243.43:8002/stream
Step 3 - Copy the link
Now we have the link, right-click it and copy the URL.
Step 4 - live_streams.sii
Now we just open the existing live_streams.sii file, which can be found in "Documents/Euro Truck Simulator 2 (or American Truck Simulator)".
There will be a line in the form:
stream_data [X]: "Streaming URL|Radio Name|Genre|Language|Streaming Quality|X"
and now we rewrite this line. The result line will look like this:
stream_data [X]: "http://live.truckers.fm|TruckersFM|Variious|GB|128|0"
and save it.
Remember: You need to have +1 number in total, so final result will look like this:
Step 5 - Turn the game on and play the radio.
In the end we switch to the game, load it into the menu and press the R key. Now we just select the added radio and hit play.
Remember:
ATS / ETS 2 supports http(s):// and .mp3 formats! Any other format!
If you are not able to find live_streams.sii - open the game, press R in the menu, load some radio and turn the game off.
Explanation of lines in live_streams.sii
stream_data[1161]: "https://live.truckers.fm/|TruckersFM|Various|UK|320|0"
stream_data[1161] - this means number of station(s) in your live_streams, it depends on amount of radios you have in game.
"https://live.truckers.fm - custom url of radio station
|TruckersFM| - Station name
|Various| - Genre (Rock, Pop, Electronic, … for example)
|GB| - language (or country, like you want)
320| - bitrate of station, streaming quality
0" - 0 in the end means station is NOT in favourite list, if you want to have station in favourite list, replace with 1.
Enjoy the game!