[REL] rf2TVPlugin

Stefan_L_01

Registered
Hi
I was asked to write a TV control plugin/client as streaming support (live commentary) because the established one does not work anymore with dx11 for well known reasons.
So here it is. A bit done in a hurry. It does not render anything naturally, so you must search for other solutions if you want to see additional race info in replay studio.
Read the readme carefully to understand!
Have fun and control
Stefan

client.exe uses .net 4.5.2
dll uses vc140 platform, you may need vs2015 redistributable for older systems (and to my surprise maybe also on win10) ELSE the plugin will not start ! : https://www.microsoft.com/en-us/download/details.aspx?id=48145
 

Attachments

Last edited:
Great work i tried your plugin work fine !!!!!!!.
You have scheduled some features for the future that implement race lap, position, lap time etc.... for the people to see the direct
 
There is any possibility to transmit the cars position on the track from plugin to client, so you could build a TV Overlay on top of the client?
 
Stefans plugin isn't a TV overlay, it is a camera control tool. You can focus directly any driver, change the camera-view and replay a given event. It's like the control part of Geralds TV Plugin, just without rendering anything onto the screen.
 
Stefans plugin isn't a TV overlay, it is a camera control tool. You can focus directly any driver, change the camera-view and replay a given event. It's like the control part of Geralds TV Plugin, just without rendering anything onto the screen.

Yes i know, but considering the lack of options at the moment, could be a good idea to implement something.
 
Yes i know, but considering the lack of options at the moment, could be a good idea to implement something.

It will not draw on the rf2 screen, but could generate some HTML components, so the user could Just move this components on top of rf2 screen.
 
I wish someone could wrote up instructions then on how we can make our own. Sadly there are no tv plugins for dx11. If we could get in contact with those league owners or maybe even Gerald, and ask what a good base is to start.
 
Some days ago i was thinking about a little workaround: using 2 monitors you can have rF2 in the first, in the 2nd a web page (or an app) with all the widgets you want (standings, laps, time left ecc), and then mix them with your favourite streaming client (in this case FF Split).

So, for example:

What i have in monitor 1
1.jpg


What i have in monitor 2 (in this case ProRacingDashboard with the standing)
2.jpg


And what i'm streaming:
3.jpg


The work should be only develop an app with proper widgets :)
 
Some days ago i was thinking about a little workaround: using 2 monitors you can have rF2 in the first, in the 2nd a web page (or an app) with all the widgets you want (standings, laps, time left ecc), and then mix them with your favourite streaming client (in this case FF Split).

So, for example:

What i have in monitor 1
1.jpg


What i have in monitor 2 (in this case ProRacingDashboard with the standing)
2.jpg


And what i'm streaming:
3.jpg


The work should be only develop an app with proper widgets :)

Nice job man,

There are others like Dash Panel and Sim hub that already use HTML and transparency to overlay data on the screen, but the data is for drivers not for tv transmission.

If someone could create something for tv transmission to the community, it would be wonderful.
 
Last edited:
I uploaded v0.4. As a workaround - actually I don´t really know if this makes sense - you can popup by the client (exe) a table with "topmost" style which is in front of rf2 (windowed or borderless). If you allow your streamer (e.g. OBS) to transmit overlapping windows, it should work. I don´t know if this costs extra load for streaming, but there is no other way around.
The style is not the best, but I did it as a windows form (dialog windows after all) and quite fast today. Better than nothing....

looks like this to the left (of course you would not show the client to the right in the rf2 window...)
TVStanding.jpg
 
Last edited:
I uploaded v0.4. As a workaround - actually I don´t really know if this makes sense - you can popup by the client (exe) a table with "topmost" style which is in front of rf2 (windowed or borderless). If you allow your streamer (e.g. OBS) to transmit overlapping windows, it should work. I don´t know if this costs extra load for streaming, but there is no other way around.
The style is not the best, but I did it as a windows form (dialog windows after all) and quite fast today. Better than nothing....

looks like this to the left (of course you would not show the client to the right in the rf2 window...)View attachment 12154

Nice job Stefan
 
My RF2TV worked until yesterday, but now it does not open anymore. Indicates the error that is on the screen:
VFmkx0y.jpg

Can someone help me? I reinstalled the Net Framework, but it did not work.
 
Back
Top