[REL] Delta Best plugin for rFactor 2

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

  1. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Unfortunatly it didn't work for my team mate who just swapped to take my car, both using rF2_Delta_Best-v20.zip
     
  2. Davvid

    Davvid Registered

    Joined:
    Feb 11, 2012
    Messages:
    163
    Likes Received:
    31
    Thanks for great plugin that replicates iR delta bar. I have one question though. For me it always overwrites the .lap file with last session best lap. Even if that lap is slower than the earlier one. Is it possible to persist the absolute best lap for given track/car combo ?

    Now, reading through the topic I realize that my problem is identical to what Mr.Thor reported some time ago:
    So, hasn't it been fixed yet ?
     
    Last edited by a moderator: Jan 9, 2016
  3. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I believe this is still a problem, yes.
    Not clear why, because it doesn't always happen for me.

    Will have a look soon.
     
  4. rio

    rio Registered

    Joined:
    Nov 23, 2015
    Messages:
    35
    Likes Received:
    0
    Feature request: Is it possible to display a bold blinking current lap-time on screen for a short time after finish the lap? ;) Greeting....
     
    Last edited by a moderator: Jan 26, 2016
  5. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    I don't get it working with Win10 x64. Is there a specific trick? The plugin is installed into the right folders, because it worked like a charm in my former Win7 installation (plus same rF2 installation).
    The plugin is also not visible in settings menu, where you can enable/disable plugins. BTW ... i'm using rFactor2 x64.
     
  6. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I'd rather not do this since the rF2 HUD already provides the exact same info, minus the blinking.
     
  7. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    Not that I know. All should work fine. The plugin uses the DirectX API to draw on screen though. Maybe that could be a problem?

    I don't have a Windows 10 system for testing unfortunately...
     
  8. whitmore

    whitmore Registered

    Joined:
    Feb 26, 2012
    Messages:
    552
    Likes Received:
    142
    I have Win 10 works perfectly for me
     
  9. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    Strange. I've installed DirectX9 (by using the in rF2 included Tools folder and also via DirectX9-webinstaller). My trackmap-plugin is also using a specific Dx9-dll and it's working flawless. I wonder why the Delta-best-plugin isn't visible in my rF2 Plugin menu. I'm absolutely sure, that i have installed the plugin into the right folders.
    Does the Delta-best-plugin use some DotNet-stuff?
     
  10. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    No, it's C++.
     
  11. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    Then .......... do i need some visual C++ runtimes? Like this ?
     
  12. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    AFAIK you don't need anything. It's pure C++ and DirectX. No external dependencies apart from rF2.
    Try to run rF2 with "+trace=2" (single player command line options). It will show if the plugin is found and if it's loaded correctly.
    Make sure you copy the right DLL to the right folder (DeltaBest_x64.dll is for Bin64/Plugins).
     
  13. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    Thanks for hint.

    Here's first part of my trace file. Plugin is found but can't be loaded. I don't know why.
    Code:
    TRACE LEVEL = 2
    tracelog.cpp  222: Command line: "+path=".." +hash=####HIDDEN#### +trace=2"
    main.cpp      358: Version=1.1052 Build=1052
    main.cpp      359: FPU=0x0008001f
    game.cpp     1416: Setting Mod Path "Packages" 1 0
    game.cpp     1812: Entered Game::Enter()
    osman.cpp     901: Entered OSMan::Enter()
    osman.cpp     963: exe is 64-bit
    hwinput.cpp  7867: Entered HWInput::Enter()
    hwinput.cpp  7868: HKL=0x04070407
    plrfile.cpp  2938: Entered PlayerFile::Enter()
    game.cpp     1012: Setting RFM "All Tracks & Cars"
    setup.cpp    2172: Duplicate vehfile detected & deleted from VehMan lists: E:\Games\rFactor2-VR\Installed\Vehicles\CorvettePC\1.0\CORVETTEPC.VEH
    setup.cpp    2172: Duplicate vehfile detected & deleted from VehMan lists: E:\Games\rFactor2-VR\Installed\Vehicles\Clio_PC\1.0\CLIO_PC.VEH
    plrfile.cpp  2106: Attempting to save to E:\Games\rFactor2-VR\UserData\player\player.TMP
    plrfile.cpp  2130: Retcode: 0 for renaming to E:\Games\rFactor2-VR\UserData\player\player.JSON
    PluginManage  336: Analyzing plugin "DeltaBest_x64.dll"
    PluginManage   81: Could not load plugin Bin64\Plugins\DeltaBest_x64.dll
    PluginManage  336: Analyzing plugin "KnockoutQualifying.dll"
    PluginManage   81: Could not load plugin Bin64\Plugins\KnockoutQualifying.dll
    PluginManage  336: Analyzing plugin "RealHeadMotionRFactor2_x64.dll"
    PluginManage  375: Successfully loaded plugin "RealHeadMotionRFactor2_x64.dll"
    PluginManage  336: Analyzing plugin "rF2PedalOverlayPlugin_x64.dll"
    PluginManage  375: Successfully loaded plugin "rF2PedalOverlayPlugin_x64.dll"
    PluginManage  336: Analyzing plugin "SpotterPlugin_x64.dll"
    PluginManage  375: Successfully loaded plugin "SpotterPlugin_x64.dll"
    PluginManage  336: Analyzing plugin "StockCarRules.dll"
    PluginManage   81: Could not load plugin Bin64\Plugins\StockCarRules.dll
    PluginManage  336: Analyzing plugin "TrackIR_rF2_Plugin.dll"
    PluginManage  375: Successfully loaded plugin "TrackIR_rF2_Plugin.dll"
    PluginManage  336: Analyzing plugin "TrackMapPlugin_64.dll"
    PluginManage  375: Successfully loaded plugin "TrackMapPlugin_64.dll"
    ...
     
  14. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    Just for info .... i've found the solution for my problem.
    After installing the "vcredist_2013_x64.exe" (Microsoft Visual C++ 2013 Redistributable x64) from folder \rFactor2\Support\Runtimes\ the Deltabest-plugin finally works. :cool:

    So you need an installed C++ runtime under Win10. Perhaps this info could be helpful for others too.
     
  15. Jernej Simoncic

    Jernej Simoncic Registered

    Joined:
    Feb 6, 2013
    Messages:
    20
    Likes Received:
    8
    I've searched around this thread and I've read the readme, but I can't find explanation of how to move the time delta around ingame. I've tried to put various values (5,50,500,5000) to the "Top" line in .ini, I've removed the ";" from the line and nothing happens. Though, at Top=5000, it jumps ingame from center to 10cm right every half a sec or so. The only thing I wanna do is to move it a few centimeters down...
     
  16. Ernie

    Ernie Registered

    Joined:
    Oct 5, 2010
    Messages:
    359
    Likes Received:
    219
    I don't know if i'm correct, but if you want a customized position of the Delta bar, you maybe should remove the ";" from all 4 lines (Left, Top, Width, Height) and start with slightly changed default values.

    e.g. try this as a first step:
    Code:
    Left=0
    Top=150
    Width=580
    Height=20
    
    This should place the Delta bar 20px below default position.
     
  17. Jernej Simoncic

    Jernej Simoncic Registered

    Joined:
    Feb 6, 2013
    Messages:
    20
    Likes Received:
    8
    Thanks for the help, it worked :) Though it's weird as I though that these lines only affect the delta bar, which I had turned off, but yeah these values move both the bar and time (even if bar is disabled). I was trying to edit the "Top" at [Time] section earlier, I wonder what does it do..
     
  18. Matt A

    Matt A Registered

    Joined:
    May 18, 2014
    Messages:
    28
    Likes Received:
    0
    Is this delta plugin ever going to come to Steam Workshop?
     
  19. cosimo

    cosimo Registered

    Joined:
    Apr 14, 2013
    Messages:
    827
    Likes Received:
    99
    I looked into that right after Steam release. AFAIK it is not possible to publish plugins in the workshop.

    Only rfcmp components are supported.
     
  20. Nick Phillips

    Nick Phillips Registered

    Joined:
    Oct 7, 2010
    Messages:
    55
    Likes Received:
    1
    Has anyone got it working in Steam version yet?
     

Share This Page