Outerra forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

Outerra Tech Demo download. Help with graphics driver issues

Author Topic: In-game functioning World-radio (release)  (Read 1328 times)

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
In-game functioning World-radio (release)
« on: January 23, 2022, 02:29:50 pm »

Finally I decided its time to release my in-game Worldradio for outerra, even if it hasn't all the functionality I had planned initially (because I broke them ...aargh!)
Eventually I will add them back in the future.


What this mod does:
you can recieve thousands of stations worldwide, mainly in the FM band, some as satellite stations, a few in AM band and very few live ATC transmissions.
Local FM stations are recieved only within their transmission range, AM stations within some 1000 km and satellite (SAT) stations are recievable worldwide
The stations are accessed internally via web audiostreams which were extracted by hand from

https://worldradiomap.com/

and deposited in my publicly accessible radiostations database


https://docs.google.com/spreadsheets/d/12B8wpNIPzrgAT7BV7kaQ6bvRP6JBo0gN235z2PKdEBk/edit?usp=sharing

By default you can only inspect it to see which countries and stations are presently included but by opening the database link and making an edit request I will grant you edit acces.
A simple tutorial on the process for adding your stations will follow soon here

Once new stations have been added by you to update your radio you will need to download the database as JSON file from here: (not needed if you're happy with the default stations)
At this link you can allways find the most updated version of the radioStations.json database containing any new user contributed stations
https://drive.google.com/drive/folders/1Mxxm72vjxDlaNmhamez8MKU2FXN-9tHA?usp=sharing
copy the downloaded radioStations.json file into packages/fly77/WorldradioV1 folder and accept overwrite of the older radioStations.json database

Credits: for this sophisticated mod an important credit goes to cameni for helping me with some "Deep Outerra" C++  code and for even kindly rewriting some part of the C++ code.

known bugs:
1) you can't change the radio volume unfortunately..
so if the radio is too loud for you, decrease your PC speaker volume and increase outerra volume back again (sorry for that but the used audio c++ code is too complicated for me to get it right).
2) power off the radio before you try to eixt outerra otherwise the radio seems to block outerra from shutting down. In that case to close outerra you need to use you PCs   CTRL+ALT+DEL  key combination and kill the outerra process from the list of currenly active programs



Enough of words: Download the worldradio from here:

https://drive.google.com/drive/folders/1rxO9QMzEmnELUBDYu7UNJRedX742WCN-?usp=sharing



Installation:
1) click on self-installing WorldradioV1.otx
2) drag and drop fly77_plugin.dll into the Anteworld/plugin folde
r

Use:
After spawning press "Enter" key to exit the radio.
The radio GUI will appear but the radio is still off.
To switch it on you first need to press the MIDDLE mouse button (or mouse wheel). This will ENABLE all radio controls.
A small orange rectangle is shown in the left bottom of the screen to indicate this.
This is needed as a safety measure otherwise if you listen to the radio when inside a vehicle or plane or heli that also uses the same keys as the radio
it will accidentally affect the radio instead of your plane/vehicle. So after you're done
with switching the radio on and selecting your station press again the MIDDLE mouse button (or mouse wheel) to disable the radio controls.

After you have understood this safety procedure its time to switch the radio on (no need for any key assignments in the outerra menu )

press the U key to switch the radio on. The red LED will turn green.
The U key is the radio's "power on/off" switch.
Tuning:
When in FM band use the left-right arrow keys to scan for local stations
FM stations are recieved only locally within their transmission range (which were set by me in a more or less reasonable but arbitrary way in the database ; see above link)
To switch frequency bad press the semicolon "," key.

The nice thing is that you can tune in to stations wherever you like, both in ufo mode and inside vehicles/planes etc: just remember to first press the 
MIDDLE mouse button (or mouse wheel) Enable button first.


recap:
middle mouse button (mouse wheel):    enable radio controls
U key     power on/off
shift+K      show/hide radio GUI
"," semicolon key:        choose frequency band
"." period key:         next station when in AM/SAT/ATC bands
left-right arrow keys      tune frequency when in FM band[/size]



Happy listening  ! very valuable in your outerra car trips.

There are also a few ATC stations in ATC band for some mayor airports, pulled from live-ATC-net https://www.liveatc.net/
but admittedly only very very few, as most of them are silent anyway on life-ATC-net
any better source of ATC web audiostreams is welcome if you know one.






« Last Edit: January 26, 2022, 04:14:05 am by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2434
  • newbie
Re: In-game functioning World-radio (release)
« Reply #1 on: January 23, 2022, 03:48:21 pm »

first congratulate you for this great contribution, and share it with all of us. Thank you.
incidents;
once installed,
f3 and searched for worldradio (F3)corrected
the radio appears in the lower left
double click the mouse wheel and a yellow box appears
put U and turn on the radio.
it is on FM it is the only station that allows me to move but it does not connect any radio.
I change frequency " ; " and in AM I can't move with the keyboard arrows, and I only tune in to an Italian radio...
Why can't I scroll to find stations? and why I don't hear anything on FM

« Last Edit: January 23, 2022, 04:28:06 pm by aWac9 »
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
Re: In-game functioning World-radio (release)
« Reply #2 on: January 23, 2022, 04:09:40 pm »

first congratulate you for this great contribution, and share it with all of us. Thank you.
incidents;
once installed,
f7 and searched for worldradio
the radio appears in the lower left
double click the mouse wheel and a yellow box appears
put U and turn on the radio.
it is on FM it is the only station that allows me to move but it does not connect any radio.
I change frequency " ; " and in AM I can't move with the keyboard arrows, and I only tune in to an Italian radio...
Why can't I scroll to find stations? and why I don't hear anything on FM
Once installed you search it under vehicles (F3)
In AM to switch stations press "." key (arrows only work in FM)
In FM mode  slowly do the scanning with the arrow keys and once a station seems to be tuning in, wait and let it load (it takes some 10-20 secs to load the audiostream)
Oh...note spain isn't included yet !
Look at the database link to see the covered countries !

Another problem might be that some of the stations meanwhile have change their webaddress of audiostream...its hard to keep the database updated.
To pick up all stations switch to SAT band! and use "." to change stations

« Last Edit: January 23, 2022, 04:19:46 pm by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2434
  • newbie
Re: In-game functioning World-radio (release)
« Reply #3 on: January 23, 2022, 04:27:05 pm »

ok thanks,, that's what i'll do,, i wanted to say F3
:)
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2434
  • newbie
Re: In-game functioning World-radio (release)
« Reply #4 on: January 24, 2022, 01:58:31 pm »

Could you enter the frequencies of this page in the database to listen online?
http://listentothe.cloud/
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
Re: In-game functioning World-radio (release)
« Reply #5 on: January 24, 2022, 02:37:01 pm »

Could you enter the frequencies of this page in the database to listen online?
http://listentothe.cloud/

Oh yes ! by analyzing the players I can extract the webstreams which apparently are autoplaying..
example boston: https://s1-bos.liveatc.net/katl_twr

The problem with all these ATC links is that they are most of the time offline
same is with those on live-atc.net 
I have include nearly hundred or so in the database (open the link above) but most are just silent or offline
actually those on your webpage seem just be pulled from live-atc.net and they just arranged them in a clean manner on a webpage

The other problem with ATC is that to select the station a menu would be needed. I had made it but it broke. so now by pressing . you just randomly scan through all ATC stations  which is not very good at all
« Last Edit: January 24, 2022, 03:01:13 pm by fly77 »
Logged

aWac9

  • Hero Member
  • *****
  • Posts: 2434
  • newbie
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
Re: In-game functioning World-radio (release)
« Reply #7 on: January 29, 2022, 02:14:48 pm »


http://radio.garden/visit/tegueste/vs54KxYT

I know radio garden, but it does not provide audiostream links...or at least its well hidden and I can't retrieve it even anayzing the webpage

instead you can find your stations using this site and then copy the audiolink into my database (make an edit request once you ar inside my database)
https://radiomap.eu/es/santa-cruz

or clicking on the player of the radio's webpage and choose analyze https://www.mixfm-radio.com/  looking for the audiostream   https://server10.emitironline.com:8064/stream

Once you got an audiostream link you can insert it into my Workdradio database (make an edit request once you ar inside my database)
« Last Edit: January 29, 2022, 02:26:26 pm by fly77 »
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
Re: In-game functioning World-radio (release)
« Reply #8 on: September 29, 2022, 01:51:20 am »

I think its time to release the updated radiostations database ...find it here

https://drive.google.com/drive/folders/1Mxxm72vjxDlaNmhamez8MKU2FXN-9tHA?usp=sharing


copy the downloaded radioStations.json file into packages/fly77/WorldradioV1 folder and accept overwrite of the older radioStations.json database


More than 1000 stations have been added by Wildhyena (now ProfPinhead on discord)
He covered the whole of the United states and plans to add even more stations !

A great thanks to him for this exceptional contribution !


« Last Edit: November 06, 2022, 11:23:33 am by fly77 »
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
Re: In-game functioning World-radio (release)
« Reply #9 on: October 01, 2022, 03:25:06 pm »

Today some additional stations were added by profPinhead so now the radio also includes radios in US overseas territories.

(Download and installation instructions remain the same as above )


« Last Edit: November 06, 2022, 11:22:55 am by fly77 »
Logged

fly77

  • Outerra Master Modder
  • Hero Member
  • *****
  • Posts: 1687
Re: In-game functioning World-radio (release)
« Reply #10 on: November 06, 2022, 11:22:19 am »

Worldradio mod update: [/size]

ProfPinhead-T4T added a few stations in West Virginia and fixed a broken link on one of the New York City stations (WXBK The Block 94.7)


download the radioStations.json file from usual link

https://drive.google.com/drive/folders/1Mxxm72vjxDlaNmhamez8MKU2FXN-9tHA?usp=sharing


copy the downloaded radioStations.json file into packages/fly77/WorldradioV1 folder and accept overwrite of the older radioStations.json database
« Last Edit: November 06, 2022, 11:25:29 am by fly77 »
Logged