[REL] Delta Best plugin for rFactor 2

Discussion in 'Other' started by cosimo, Apr 20, 2014.

  1. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Nice appreciation, thanks guys :)
     
  2. McFlex

    McFlex Registered

    Joined:
    Feb 23, 2012
    Messages:
    1,031
    Likes Received:
    317
    Hey Cosimo thanks for that fix. But what about this?
     
  3. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I'll see what I can do in the next version, but don't expect miracles :)
     
  4. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Customize appearance through the DeltaBest.ini file

    Just wanted to add quickly, since I've been asked privately in mail by a few people, how to customize the ini file.

    • First of all, you should rename the DeltaBest.example.ini to DeltaBest.ini, otherwise the file will be ignored
    • Second, you should decide what settings you want to change and find them in the ini file. I've tried to add full documentation for each and every option, so that shouldn't be difficult
    • Once you found the line you want to change, make sure there is no ";" character at the beginning, since that means it's a comment line, so the program will ignore such line. Removing the ";" character makes the line effective.

    That's all, hope this helps someone out there :)
     
  5. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    If anyone would know, Gerald would :). I'd gladly chip in a beer or two for this amazing tool. Anyone else with me?
     
  6. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I just bought rF1 :)
     
  7. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    :D:D

    I guess we're both in for a treat then :)
     
  8. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Hey Gerald,

    I don't see how I can make a rF1 version. It appears there is no ScreenInfoV01 data structure and no Screen*() methods in the rF1 InternalsPlugin example (v3)?
    Do you have any insights? Maybe rF1 also supports InternalsPlugin V06?
     
  9. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Yes, the display process is much more tedious than in rF2. Indeed you do not have directly access to the D3D device, you need to create your own device using the application handle. Unfortunatly i do not have an code example to provide to you. May be you can find if you find source of an rF1 plugin (i know rFDynHud is open source, but it is not the more simple plugin to extract the D3D part)
     
  10. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Thanks Gerald, that's enough to put me on the right track.
    Looking a bit more in depth into the source code, I determined I need to use the GraphicsInfoV2 structure's mHWND and go from there.
    I wasn't sure whether I could just create my own D3D device or there was a pre-allocated one. I'll create my own and see what happens.
    Still, I agree rF2 is miles ahead in this respect too.
     
  11. P.S.R.

    P.S.R. Registered

    Joined:
    Jun 15, 2014
    Messages:
    1,794
    Likes Received:
    4
    Just thinking out loud but I wonder if useful/possible to have a multi/lap comparison vs. a lap to lap comparison, for example to encourage/measure consistency. So if I was on lap 7 of a race (without AI in the way, of course, or practice or qualify session if didn't count out lap, for example) I would see my TOTAL time for this lap + the first 6 laps compared to my TOTAL time at this point for my fastest total/average time the last time I did a session like this. Obviously some questions to answer and may be stupid but thought I'd throw it out there. Could also serve as something of a race against yourself :p
     
  12. ViSo

    ViSo Registered

    Joined:
    Feb 25, 2013
    Messages:
    316
    Likes Received:
    0
    For me that v15 is perfect! I just checked it (using v13 until now): no spikes (from telemetry data I suppose), time is centered without the bar, and now resets correctly.

    thank you cosimo!
     
  13. MMartin

    MMartin Registered

    Joined:
    Oct 30, 2010
    Messages:
    515
    Likes Received:
    4
    thenk you Cosimo, great job.
    We are waiting for some news about the new project ;)
     
  14. Flatspotter

    Flatspotter Registered

    Joined:
    Oct 7, 2010
    Messages:
    379
    Likes Received:
    120
    I love this plugin, but I get inaccurate timings (says I'm several seconds faster than I am) and lots of toggling between plus and minus times after a few laps. I'm using 798, 32-bit.
     
  15. jimcarrel

    jimcarrel Registered

    Joined:
    Jan 15, 2012
    Messages:
    1,720
    Likes Received:
    24
    Cosimo will have to answer Flatspotter, but I have noticed that some tracks offer screw-ups as far as track timing goes. Far from expert but I think my problems with the bad timing problems I see sometimes are due to the track I'm running.
     
  16. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    The up/down timing jump can happen if you either crash or the direction of the car changes drastically.

    This is a consequence of the time tracking algorithm used.

    That said, what track/car was this Flatspotter and Jim?
     
  17. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Also, any chance you could make a video?
     
  18. Flatspotter

    Flatspotter Registered

    Joined:
    Oct 7, 2010
    Messages:
    379
    Likes Received:
    120
    OK, I crash a lot, so that seems to be what's causing it. I've seen it at Nordschleife Tourist 1.81 with the GTR, and Longford (the most recent version) with the Howston G4.
     
  19. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Released new version (v16) of the plugin, and updated the first post with a changelog!
     
  20. matf1

    matf1 Registered

    Joined:
    Dec 27, 2011
    Messages:
    671
    Likes Received:
    2
    Brilliant, thanks Cosimo!
     

Share This Page