Jump to content

[ARCHIVED] How do I add a custom radio to the game?


Guest

Recommended Posts

Hello all,


today I have a tutorial here, how to add radio(s) to your game.

 

Step 1 - We'll find the radio


First we´ll open the internet browser (in my case it will be Microsoft Edge) and find the radio we want to add. For example, I will choose TruckersFM.

sDVK_XhzsTgWMOtl6ub_Sy1CvT0GfYoFvj62gYJY

The condition for proper functioning is to find a link pointing to an online stream!

 

Step 2 - Find the stream URL

 

Once we get to the radio page, we click F12, go to the "Network" and play the radio. Then we're looking for a stream link.

xIi1LTmrbeutIJ-WUGDdUK8uDYreoC2UmcL8nwyu

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://192.184.9.81:8388/live x http://192.184.9.81:8388/live

 

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|UK|128|0"
  
and save it.


  
Remember: You need to have +1 number in total, so final result will look like this:
 

Quote

SiiNunit
{
live_stream_def : _nameless.1de.c4d2.9d20 {
 stream_data: 2
 stream_data [0]: "http://live.truckers.fm/|TruckersFM|Various|UK|128|0"
 stream_data [1]: "http://live.truckers.fm/|TruckersFM|Various|UK|128|0"
}
}


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:

  • ETS2 / ATS supports http(s)://, .mp3 and mms 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|128|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, Electronica, … for example)
  • |UK| - language (or country, like you need)
  • 128| - 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! 

Link to comment
Share on other sites

  • 3 months later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.