[REL] rf2TVPlugin

Discussion in 'Other' started by Stefan_L_01, Jan 6, 2018.

  1. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    346
    Likes Received:
    161
    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)
     

    Attached Files:

    Last edited: Apr 18, 2018
  2. Hidron

    Hidron Registered

    Joined:
    Oct 5, 2010
    Messages:
    54
    Likes Received:
    1
    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
     
  3. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    453
    Likes Received:
    172
    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?
     
  4. wrxxy

    wrxxy Registered

    Joined:
    May 17, 2012
    Messages:
    330
    Likes Received:
    86
    Is there any screens shots of this overlay???
     
  5. Pocisk

    Pocisk Registered

    Joined:
    Aug 14, 2015
    Messages:
    604
    Likes Received:
    685
    You means sth like this?
     
    wrxxy likes this.
  6. RoWo

    RoWo Registered

    Joined:
    Jul 16, 2014
    Messages:
    265
    Likes Received:
    291
    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.
     
  7. wrxxy

    wrxxy Registered

    Joined:
    May 17, 2012
    Messages:
    330
    Likes Received:
    86
    ok thx
     
  8. Pocisk

    Pocisk Registered

    Joined:
    Aug 14, 2015
    Messages:
    604
    Likes Received:
    685
    We use own Tv plugin on dx11 with own live telemetry and tv overlay. But this @Stefan_L_01 plugin is interesting too. If you needs some help or advices give me PM.
     
    wrxxy likes this.
  9. RoboCAT10

    RoboCAT10 Registered

    Joined:
    Oct 18, 2014
    Messages:
    557
    Likes Received:
    93
    Is there ever a chance you would release it? Since the move to dx11 rfactor is missing a good tv plugin..
     
  10. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    453
    Likes Received:
    172
    Yes i know, but considering the lack of options at the moment, could be a good idea to implement something.
     
    RoboCAT10 likes this.
  11. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    453
    Likes Received:
    172
    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.
     
  12. AMillward

    AMillward Registered

    Joined:
    Apr 4, 2017
    Messages:
    1,588
    Likes Received:
    1,476
    Some leagues are already using some TV overlays. Are they Gerald's plugin not working to full capacity or have they made their own?
     
    RoboCAT10 likes this.
  13. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    453
    Likes Received:
    172
    Probably they made their own
     
  14. RoboCAT10

    RoboCAT10 Registered

    Joined:
    Oct 18, 2014
    Messages:
    557
    Likes Received:
    93
    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.
     
  15. krusti

    krusti Registered

    Joined:
    Apr 20, 2016
    Messages:
    578
    Likes Received:
    495
    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
    [​IMG]


    What i have in monitor 2 (in this case ProRacingDashboard with the standing)
    [​IMG]


    And what i'm streaming:
    [​IMG]


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

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    453
    Likes Received:
    172
    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: Jan 13, 2018
    krusti likes this.
  17. Stefan_L_01

    Stefan_L_01 Registered

    Joined:
    Nov 18, 2012
    Messages:
    346
    Likes Received:
    161
    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: Jan 14, 2018
    pantxu, Corti, krusti and 1 other person like this.
  18. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    453
    Likes Received:
    172
    Nice job Stefan
     
  19. Hidron

    Hidron Registered

    Joined:
    Oct 5, 2010
    Messages:
    54
    Likes Received:
    1
    Very good!
     
  20. ulisses1574

    ulisses1574 Registered

    Joined:
    Jun 14, 2014
    Messages:
    2
    Likes Received:
    0
    My RF2TV worked until yesterday, but now it does not open anymore. Indicates the error that is on the screen:
    [​IMG]
    Can someone help me? I reinstalled the Net Framework, but it did not work.
     

Share This Page