Jump to content

IRadio (internet online radio in cocpit)


Recommended Posts

Posted

Cool stuff^^

Reminder: Fighter pilots make movies. Bomber pilots make... HISTORY! :D | Also to be remembered: FRENCH TANKS HAVE ONE GEAR FORWARD AND FIVE BACKWARD :D

ಠ_ಠ



Posted

List of active radio frequencies used in BS?

" You must think in russian.."

[sIGPIC][/sIGPIC]

 

Windows 7 Home Premium-Intel 2500K OC 4.6-SSD Samsung EVO 860- MSI GTX 1080 - 16G RAM - 1920x1080 27´

 

Hotas Rhino X-55-MFG Crosswind Rudder Pedals -Track IR 4

Posted

MHmm, can anyone provide a "installation and usage" procedure.

It is not self explainatory to me. :huh:

Windows 10, I7 8700k@5,15GHz, 32GB Ram, GTX1080, HOTAS Warthog, Oculus Rift CV1, Obutto R3volution, Buttkicker



[sIGPIC][/sIGPIC] ЯБоГ32_Принз





Posted

Yea, I got it to work by following the instructions presented. As for adding your own radio stations, I found that if you right click the "Tune In" button on Shoutcast (for example) web site for the station you want, and copy link location, you can use this to set the station as noted in the instructions (copy and paste any given entry in the noted file to create a new one). Note, the radio dial frequencies are in quarter increments, so you will have to set up each station at these intervals. Also, you will need to set the radio to AM frequency and specific station frequency when flying.

The Rig: i5 7700k OC 4.6ghz, 16 GB RAM, GTX 1080ti, Windows 10

[sIGPIC][/sIGPIC]

Posted

Excellent addition. Highly recommended.

 

1. Download file (I downloaded the IRadio.zip file as I didn't have previous version)

 

2. Backup existing export.lua - ( . . \Ka-50\Config\Export\export.lua). You can also backup your existing config.lua file (same directory). Replacing config.lua is not necessary as it replaces the old file with a copied (russion version) of the same file. This enables exporting.

 

3. Extract all files into Ka-50 game directory.

 

This will install the nifty VLC program into a new Plugin directory created by the extraction.

**WARNING - changing skins in VLC caused a problem. Recommend you use the default skin as the program struggles to locate the default skin if it has been changed. I had to install full VLC program to correct this.**

 

4. Open the ifreq.lua file - (. . \Ka-50\Plugin\ifreq.lua)

5. Modify the tuning frequencies and radio stations to your liking.

 

6. I used Windweapon's suggestion and "right clicked" the tune in button on stations that I liked on Shoutcast. Just select properties and copy the URL location (http:\\ . . .) and paste it over the existing stations in the ifreq.lua file. Mind the "" quotes. HINT - if using shoutcast stations, select the "I want to use my own player" option. Using the shoutcast media player to extract the station address will also include the media player in the address which is not desirable.

 

7. Save your new ifreq.lua file.

 

That's it. Go fly and try your radio. Be sure to tune the correct frequencies. Switching AM/FM has no effect, although it would be nice if it only worked in one (preferably FM). My skills don't go that far.

 

Now you can fly and listen to the stations of your choosing with ease. If I really want to be distracted, on long flights I can even watch inet TV. 10 radio stations and 5 TV stations, too cool. Thanks to Repeat.

Posted
Excellent addition. Highly recommended.

 

[...skip...]

 

That's it. Go fly and try your radio. Be sure to tune the correct frequencies. Switching AM/FM has no effect, although it would be nice if it only worked in one (preferably FM). My skills don't go that far.

try add this (in function LuaExportStart())

  iradio.mod = radio["modulation"]

after

  iradio.state = radio["isOn"]

and add this

        if (iradio.mod ~= radio["modulation"]) and (radio["isOn"] == true) then
           if (radio["modulation"] == "FM") then link = ifreq[freq]; else link = "vlc://pause:0"; end
           iradio.mod = radio["modulation"]
       end

before

        if (link) then
           link = "--qt-start-minimized --one-instance "..link
           DCS_IRadio.Run(".\\Plugin\\vlc.exe",link)
           link = nil
       end

моё - :doh: http://pereulok.net.ru/

Posted

Hi repeat,

 

Thanks again for this awesome addition.

 

I tried adding the additional code to the export.lua file with the following results:

 

Radio will still start playing in either AM or FM when selecting the designated frequency. Radio will continue to play if switching from AM to FM. Radio will pause if switching from FM to AM and will only play again if another frequency is selected.

 

I've attached a text version of the export.lua file to review. It's very possible I did something wrong.

Export.lua.txt

Posted (edited)

Awesome! Thank you!

 

EDIT: Since we have alot of realism junkies here, I made a quick research on the actual radio frequencies of this mod. Here are the results:

 

Radio Majak

103.4 MHz

 

Radio NRJ from Pjatigorsk station

100.4 MHz

 

Radio Shanshon

From Krasnodar 106.8

From Sochi 102.5

 

Other two dont have a station in the region.

Edited by Griffin
Posted (edited)

Where are the radio stations located ? Or does all the different radios run over the Maykop-Radiotower ?

 

Also my DCS jumps to desktop when selecting radio frequency, then can't get back in game because of alt-tab-bug. Does someone have the problem, too ?

Edited by Cionara

Watercooled

Core i7 920 @ 4,3 Ghz @1.36Vcore

GTX280- 700/1188

6144 MB DDR3 7-7-7-18 1333Mhz

Posted (edited)
Where are the radio stations located ? Or does all the different radios run over the Maykop-Radiotower ?

This mod streams the radio broadcasts from internet so the usual terrain obstructions and ranges to the broadcast station in the sim don't matter. The actual stations don't exist in the sim! They work everywhere you fly.

 

It would be kind of cool if somebody would actually make a mod that simulates these broadcasts from a certain location in the sim so the terrain and ranges would matter but that might be kind of an overkill for a simple mod that just gives you a chance to listen to a radio while you fly. :D

 

In another post I posted above (post number 14) I listed the real frequencies and locations of the radio stations that you can use in the mod for additional realism. Or you could simply pretend that there are dedicated radio satellites orbiting the earth and transmitting Russian hit music in VHF. Like "NRJ Sputnik". :D

 

Also my DCS jumps to desktop when selecting radio frequency, then can't get back in game because of alt-tab-bug.

 

ReOrdain mentioned on the first page that changing skins in the VLC player caused problems. If you have done that then I suggest to stick with the original skin like instructed.

Edited by Griffin
Posted
Also my DCS jumps to desktop when selecting radio frequency, then can't get back in game because of alt-tab-bug. Does someone have the problem, too ?

 

Yea, oddly I just began having this problem. I have made no changes except adding the attached Export.lua file which correctly allows radio for only FM modulation. Even that update worked earlier today. Only tonight, I get the jump to desktop for some odd reason...?

The Rig: i5 7700k OC 4.6ghz, 16 GB RAM, GTX 1080ti, Windows 10

[sIGPIC][/sIGPIC]

Posted (edited)

Try opening the VLC media player window by going directly to the VLC.exe in the Plugin folder. Select tools, then preferences. In the interface settings tab I believe there is an option to start as systray icon. You can see if checking that box makes a difference. I also turned off the activate update notifier (less running in background). I'm not sure if this will work but it's worth trying.

Edited by S77th-ReOrdain
Posted

I kinda solved the problem now. Made a shortcut of vlc.exe from plugins and now I start it before the game and everything is fine.

Watercooled

Core i7 920 @ 4,3 Ghz @1.36Vcore

GTX280- 700/1188

6144 MB DDR3 7-7-7-18 1333Mhz

Posted

Yea, I got it to work by adding a shortcut to DCSMax and loading it prior to running the sim. Also had to ensure all the advanced settings were geared towards only loading the player in the systray.

 

Though, I wonder why it worked no problem before, and only recently it had this problem. The vlc plugin says its version .0.9.9, perhaps there was an "auto" update to the player from what was packaged in the original mod? Though, even when I tried to reinstall the original mod, I still run into the same problem.

 

Oh well, at least it now works, I simply have to hit the VLC player icon on DCSMax to preload it into the systray as Cionara mentioned.

The Rig: i5 7700k OC 4.6ghz, 16 GB RAM, GTX 1080ti, Windows 10

[sIGPIC][/sIGPIC]

Posted

Repeat Please

 

I use for mine. lua export part of your code?

 

For TsSimComms

 

 

 

 

 

local function iradioJoin(freq)

local ost = math.fmod(freq,25000)

if (ost > 5000) then

freq = freq + (25000-ost)

else

freq = freq - ost

end

freq = tostring(freq/1000)

return freq

end

====VIAF====

Spinter 155° "Pantere Nere"

 

TsSimComms

 

My Site aiupgrade.net

 

 

 

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...