Delta Best time for rFactor 2

Discussion in 'General Discussion' started by cosimo, Apr 30, 2014.

  1. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Hi everyone,

    I've been programming away for fun in my late nights for the past couple of weeks, and I managed to do what I wanted:
    implement the same (more or less) "delta split" or "delta best" time that I had seen in iRacing also for rFactor 2 as a plugin.

    I called this plugin DeltaBest and you can find more about it here:

    http://isiforums.net/f/showthread.php/19517-Delta-Best-plugin-for-rFactor-2

    Here is a video that demonstrates the basic idea:

    (version 8)



    (earlier versions)



    I want to repost this here (hope it's okay) for a wider audience because I also decided to publish the code for this plugin as open source with the GPL v2 license, so any derived work must be open source as well.
    I'd like to encourage more people to hack away on plugin ideas and share them. I know I started from scratch, and I had to figure out a few things by myself, so hopefully you won't have to do that, or at least your job should be easier. I hope at least :)

    Please don't take the code too seriously. I put it together quickly with a bit of duct tape and my C++ knowledge is not very good.
    My goal was to optimize for fun rather than beauty or rigorous coding.

    With that said, here's the github link!

    https://github.com/cosimo/rFactor2-DeltaBest

    Enjoy,
     
    Last edited by a moderator: May 8, 2014
  2. DJCruicky

    DJCruicky Registered

    Joined:
    Jan 25, 2012
    Messages:
    1,595
    Likes Received:
    1,155
    Thanks cosimo, works good.
     
  3. naifexx

    naifexx Registered

    Joined:
    Oct 21, 2011
    Messages:
    57
    Likes Received:
    1
    This thing alone alowed me to shave couple seconds lap time. Knowing that you gain time in real time by doing a specific line helped me a lot. Thbks cosimo
     
  4. F1Fan07

    F1Fan07 Member

    Joined:
    Jan 11, 2012
    Messages:
    627
    Likes Received:
    46
    Very nice. That's one iRacing feature I've always wanted in rFactor.
     
  5. moev

    moev Registered

    Joined:
    Sep 24, 2011
    Messages:
    25
    Likes Received:
    2
    ThankĀ“s for the plugin cosimo!
     
  6. bwana

    bwana Registered

    Joined:
    Dec 25, 2011
    Messages:
    2,139
    Likes Received:
    1,040
    Can you give me a directory path for addons such as this please
     
  7. Emil Zhelyazkov

    Emil Zhelyazkov Registered

    Joined:
    Oct 16, 2013
    Messages:
    33
    Likes Received:
    2
    Great work cosimo. Thank you for this amazing plugin. Now I can see in which turn I loose more time.

    Sent from my GT-I9300 using Xparent Skyblue Tapatalk 2
     
  8. Paul_Ceglia

    Paul_Ceglia Registered

    Joined:
    Jan 14, 2012
    Messages:
    676
    Likes Received:
    13
    This plugin is fantastic! Thank you, You think there is a way to race another persons time? This plugin is a must for everyone!
     
  9. Ctuchik

    Ctuchik Registered

    Joined:
    Oct 6, 2013
    Messages:
    72
    Likes Received:
    0
    I've been looking for this! By far the best tool for actually becoming faster.
     
  10. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Not sure I understand the question.
    Do you mean where to put the DLL of the plugin? If so, that's where you installed rFactor2 + "Plugins".
    Typically it's C:\Program Files (x86)\rFactor2\Plugins.

    If you meant where to download it, it's here, first post:

    http://isiforums.net/f/showthread.php/19517-Delta-Best-plugin-for-rFactor-2
     
  11. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Thanks Paul.

    There is no way to race another person's time as of now.
    I've been thinking of saving the best lap on disk by track/car combination, and recall it in memory when player starts a new driving session.
    When that's done, it would be quite an easy step to build a website/service that archives best laps of everyone automatically, and allows one to download them.

    Baby steps, gentlemen, baby steps... :)
     
  12. ViSo

    ViSo Registered

    Joined:
    Feb 25, 2013
    Messages:
    316
    Likes Received:
    0
    I saw this, posted on my community (with a link to your first post), and I said:
    I have the DashMeterPro program for Android, just to have that option (and more). That option is MUST HAVE for any simracer, and now, anyone can have it with a simply plugin, sincerely: Great job man, thats a must have plugin, Grats!
     
    Last edited by a moderator: May 1, 2014
  13. Prodigy

    Prodigy Registered

    Joined:
    Nov 2, 2012
    Messages:
    949
    Likes Received:
    64
    Thanks for this plugin, very useful!

    Interesting how no one from modders didn't thought of that before..
     
  14. Lazza

    Lazza Registered

    Joined:
    Oct 5, 2010
    Messages:
    12,382
    Likes Received:
    6,600
    I've seen it mentioned by a few iRacers, and I've given some thought on how to calculate it, but had no idea where to begin on putting stuff on screen. Just not something I've dealt with before. Like most things it's probably not that hard when you get into it but didn't have the time.

    Even in our small league there are a number of people very happy to see this plugin, so no doubt it's very welcome.
     
  15. Paul_Ceglia

    Paul_Ceglia Registered

    Joined:
    Jan 14, 2012
    Messages:
    676
    Likes Received:
    13
    yes baby steps, lol we are all just very excited about your work!
     
  16. bwana

    bwana Registered

    Joined:
    Dec 25, 2011
    Messages:
    2,139
    Likes Received:
    1,040
    Thanks Cosimo, was looking in Documents / rfactor2 folders.

    Cheers
     
  17. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Last edited by a moderator: May 8, 2014
  18. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    And now v9 too.

    I'll stop updating this post. If you want news on this plugin, check the links :)
     
  19. Comante

    Comante Registered

    Joined:
    Nov 20, 2013
    Messages:
    1,694
    Likes Received:
    1,219
    Very VERY VERY HELPFUL USEFUL, a must have.
     
  20. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Thanks :)
     

Share This Page