[REL] TinyPedal - open source overlay APP for rF2 (Radar,Pedal,FFB,Deltabest,Relative,Fuel calculator)

Discussion in 'Other' started by svictor, Mar 14, 2022.

Tags:
  1. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    605
    Likes Received:
    347
    Maybe put P2P in the same widget of DRS.
     
  2. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    570
    Likes Received:
    3,682
    v1.3.0 update - Stint widget
    upload_2022-5-16_16-45-50.png
    DL: https://github.com/s-victor/TinyPedal/releases/tag/v1.3.0

    TinyPedal 1.3.0 (2022-05-16)
    • [New]Stint Widget
      • Show realtime stint data, includes:
        • front & rear tire compound index, with customizable letter.
        • total driven laps.
        • total driven time (min:sec).
        • total used fuel in liters or gallons.
        • total average tire wear.
      • Show "last stint" data bar that displays last full stint.
      • Note:
        • All current stint data resets when player makes a full-serviced pit stop (either refueled or tire changed).
        • Current stint data will only be transfered and displayed in "last stint data" bar, if player makes a full-serviced pit stop.
        • ESC & restarting in a session or race will not have stint data transfered to "last stint data".
          This is to prevent incomplete or useless data from overriding normal last stint data.
        • Currently, stint data is not saved to external file.
    • Misc
      • Updated customization guide with new configurable setting for Stint Widget.
      • Updated features.md with Stint Widget info.
     
    Last edited: May 16, 2022
    GPNeville, lagg, ebeninca and 4 others like this.
  3. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    605
    Likes Received:
    347
    You need to create a donation option for us.
     
    svictor and lagg like this.
  4. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    2,936
    Likes Received:
    1,863
    svictor likes this.
  5. Capeta

    Capeta Registered

    Joined:
    May 31, 2012
    Messages:
    247
    Likes Received:
    33
    Thank you very much for your work, I use both HUD & Overlay and it's working like a charm.
     
    svictor likes this.
  6. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    570
    Likes Received:
    3,682
    datasting, yashiman, Reiche and 5 others like this.
  7. Taris Henrique

    Taris Henrique Registered

    Joined:
    Dec 15, 2015
    Messages:
    103
    Likes Received:
    106
    Hello @svictor . Thanks for your awesome HUD. I miss only one information. The last lap fuel consumiption is a important data, we can use this info for estimate the needed fuel for some qualifying laps for example.

    Thank you.
     
    svictor likes this.
  8. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    570
    Likes Received:
    3,682
    hi, the last lap fuel consumption is already available in Fuel widget, it is under "used" label. However it does require at least 2 laps to show correct value, which is same as game's hud. (later, may be I will add a function to store last recorded last lap fuel consumption)
    [​IMG]
     
  9. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    605
    Likes Received:
    347
    More two thing that came to my mind recently:

    - Add current tire compound column to the Relative widget.
    - Define a shortcut to toggle "Lock Overlay" mode, as an example: "CTRL + E", so it makes easier to edit the layout.
     
    svictor likes this.
  10. Manfredk2

    Manfredk2 Registered

    Joined:
    Dec 27, 2018
    Messages:
    667
    Likes Received:
    950
    I am using a program called DisplayMagician which let me switch to triple screens, start some programs like CrewChief, Simhub etc. and than starts RF2. Tinypedal gives me an error when starting over DisplayMagician. Is there something i can do? Starting Tinypedal in the normal way works.

    Traceback (most recent call last):
    File "tinypedal\setting.pyc", line 414, in load
    FileNotFoundError: [Errno 2] No such file or directory: 'config.json'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "run.py", line 23, in <module>
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
    File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
    File "zipextimporter.pyc", line 97, in load_module
    File "<frozen zipimport>", line 259, in load_module
    File "tinypedal\tinypedal.pyc", line 28, in <module>
    File "<frozen importlib._bootstrap>", line 991, in _find_and_load
    File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
    File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
    File "<frozen importlib._bootstrap>", line 618, in _load_backward_compatible
    File "zipextimporter.pyc", line 97, in load_module
    File "<frozen zipimport>", line 259, in load_module
    File "tinypedal\base.pyc", line 32, in <module>
    File "tinypedal\setting.pyc", line 408, in __init__
    File "tinypedal\setting.pyc", line 433, in load
    File "tinypedal\setting.pyc", line 440, in save
    PermissionError: [Errno 13] Permission denied: 'config.json'
     
    Last edited: May 26, 2022
  11. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    570
    Likes Received:
    3,682
    Assume DisplayMagician creates some kind shortcut to launch tinypedal, maybe it lacks some kind "start location" for tinypedal, so tinypedal can not find config.json file, and tinypedal can not create new config.json due to been launched from a "wrong start location" (for example, this also applies to rfactor2 when you create shortcut for RF2's server or devmode).
     
    Corti, Manfredk2 and lagg like this.
  12. Manfredk2

    Manfredk2 Registered

    Joined:
    Dec 27, 2018
    Messages:
    667
    Likes Received:
    950
    you were right. The crerator of Displaymagician found some sort of missing working directory. He said he is positive to get it fixed
     
    ebeninca, svictor and Corti like this.
  13. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    570
    Likes Received:
    3,682
    yashiman, ebeninca and Corti like this.
  14. felan

    felan Registered

    Joined:
    Aug 27, 2013
    Messages:
    13
    Likes Received:
    5
    Maybe you guys can help me getting this wonderful app working.
    I've downloaded v 1.3.3 and the file rf2_sm_tools_3.7.14.2..put sm tools in the plug-in folder.
    It seems that I've missed a step as I don't get errors just the blank widgets without values and I have to untick auto-hide in the options. Any ideas what I am doing wrong?
    Many thx in advance!
     
  15. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    2,936
    Likes Received:
    1,863
    Just for clarifying
    You only have to copy, the rFactor2SharedMemoryMapPlugin64.dll to the ..\rFactor 2\Bin64\Plugins\ folder
    Check that the Shared memory plugin is registered and activated in rF2
     
    svictor and Corti like this.
  16. felan

    felan Registered

    Joined:
    Aug 27, 2013
    Messages:
    13
    Likes Received:
    5
    Thx for your help! Activating the plug-in was the missing step.
     
    svictor, Corti and lagg like this.
  17. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    570
    Likes Received:
    3,682
    v1.4.0 update - Cruise Widget
    upload_2022-6-1_12-32-54.png
    DL: https://github.com/s-victor/TinyPedal/releases/tag/v1.4.0

    This update mainly brings a new Cruise Widget for added immersion while playing gigantic tracks such as Targa Florio or Isle of Man.

    TinyPedal 1.4.0 (2022-06-01)
    • [New]Cruise Widget
      • Show compass directions with three-figure bearings that matches game's cardinal directions.
      • Show elevation difference in game's coordinate system, with meter or feet as display unit.
      • Show odometer that displays total driven distance of local player, with km or mile as display unit.
    • Fuel Widget
      • Now auto-saves & loads last lap fuel consumption.
    • Core
      • Added additional player status check to make sure only valid data gets updated to overlay.
      • Further improvements to deltabest laptime validation.
      • Add new function that constantly recording meters driven by player for deltatime module.
      • Improved module import order.
    • Misc
      • Updated customization guide with new configurable setting for Cruise & Fuel Widget.
      • Updated features.md with Cruise Widget info.
    Customization guide: https://github.com/s-victor/TinyPedal/wiki#cruise

    Note:
    rF2 uses a fixed cardinal directions and coordinate system, which means sun always rise from same direction (different from rF1). There are small amount mods where track model was facing at incorrect direction, which you would find both compass reading and sun rise direction does not match real life. (for reference, Y-axis in 3dsimed points towards North direction in rF2.)

    Both "meters driven"(for odometer) & "last lap fuel consumption" value can be manually set in config.json, see customization guide (close APP before editing). Their values are auto-saved upon returning to garage screen.
     
  18. Capeta

    Capeta Registered

    Joined:
    May 31, 2012
    Messages:
    247
    Likes Received:
    33
    Is it supposed to work too during multidrivers races online ?
     
  19. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    605
    Likes Received:
    347
    Are you talking about driver swap? Interesting question, I never tested.
     
  20. Capeta

    Capeta Registered

    Joined:
    May 31, 2012
    Messages:
    247
    Likes Received:
    33
    Yep, I took the start, everything was working fine, we swapped driver, then I came back for a stint later on and had no overlay, I tried to close and open the .exe during a pitstop, didn't worked, so I went a bit blind out there.
     
    svictor, VirusGR42 and ebeninca like this.

Share This Page