Docs / Playing / User guide
Radio
OMSI plays no music itself: a bus's radio only sets variables that radio plugins turn into sound. openOMSI plays internet radio for them, with no plugin needed.
Which buses. Every bus whose radio sets Snd_Radio (the cassette player of the stock
SD200/SD202/NL and of many mods: it plays the first station) or SndExt_Radio (the radios
made for the Sound Extension plugin: station button n plays the n-th station, the volume
knob SndVol_Radio sets how loud).
Switch the radio on in the cockpit as in OMSI; the screen says which station plays and the song when the stream names it.
Your stations. ~/.openomsi/radio.cfg (on Windows C:\Users\<you>\.openomsi\radio.cfg)
is written with a few stations the first time the game starts. One station a line, the
first line on the first button:
volume = 0.7
Radiozurnal = https://rozhlas.stream/radiozurnal.mp3
Evropa 2 = https://ice.actve.net/fm-evropa2-128
My playlist = https://example.org/station.m3uA station is an MP3, AAC or Ogg stream, or an .m3u / .pls playlist that points to one. The address is the one a media player opens - on the station's website, or in a directory
such as radio-browser.info. Streams in HE-AAC with a program config element (some .aacp
stations) cannot be played.
volume (0..1) is the radio's loudness on top of the knob. The file is read when the game starts. The launcher's Settings → Sound → Radio stations
edits the same list: a name and an address a station, the bin removes one, Add a station
adds one, saved at once (the file's comments, volume and frequencies stay as they are).
Stations of a radio plugin. Stations already set up for an OMSI radio plugin (SuperRadio
and the like) are taken over: every line with an http(s) address in the text files under
plugins is a station, after those of radio.cfg.
Shift+R moves the whole list one station on, so that the buttons reach the stations behind the first ones.
A map's stations. A map may bring a radio.cfg of its own beside its global.cfg: its
stations come first on the buttons while you drive on that map, yours after them. It may
also name the frequency each station is on at places of the map - see
Modding: Radio.
The radio's display. A radio with a text display shows the station and the song,
running through its line where they do not fit (ten characters on Dmitrij's "Magnitola" of
P3ta's SOR buses and its kin, whose first line then shows the map's frequency for the
place, e.g. 94.6 MHz). Without stations, or with the radio off, a display shows its own texts.
Where it is heard. In the cab the radio sounds from the driver's corner, a little ahead of the driver's eyes - from half as far as it really is, since a bus's speakers are spread along it: towards the back it is heard from the front but does not fade away. Changing the view, the sound glides to its new side in a quarter of a second. From outside it is the bus playing through its windows.
The radio's own sound. Settings → Sound (in the game: Options → Sound) has three sliders, all off at first: Radio: small speaker plays it through a small dashboard speaker (no deep bass, no bright treble, nearly mono and a little pushed on the loud parts), Radio: FM hiss adds the hiss and crackle of a weak signal, Radio: signal dropouts loses the signal now and then for a moment (a bridge, a tall building).
With all three at 0 the stream is played
untouched. They are radio_speaker, radio_hiss and radio_dropouts (0..1) in
settings.cfg.
When nothing plays. ~/.openomsi/game.log says what happened:
radio: 23 stations (the list), radio: station 1 Radiozurnal (https://…) (a button
pressed), then Radio 1 plays Radiozurnal (buffering …) and the song, or no signal
with the reason in a radio <url>: … line - mostly an address that is not a stream or a
station that is down. No radio: station line at all means the bus's radio sets neither variable.
Something wrong or missing? Fix it on GitHub or open an issue.