[REL] TinyPedal - open source overlay for rF2 (Pacenotes,Radar,FFB,Deltabest,Relative,Fuel Calculator)

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

Tags:
  1. ebeninca

    ebeninca Registered

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

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,960
    svictor likes this.
  3. Capeta

    Capeta Registered

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

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    datasting, yashiman, Reiche and 5 others like this.
  5. 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.
  6. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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]
     
  7. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    804
    Likes Received:
    568
    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.
  8. Manfredk2

    Manfredk2 Guest

    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 by a moderator: May 26, 2022
  9. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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.
  10. Manfredk2

    Manfredk2 Guest

    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.
  11. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    yashiman, ebeninca and Corti like this.
  12. 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!
     
  13. lagg

    lagg Registered

    Joined:
    Oct 1, 2012
    Messages:
    3,043
    Likes Received:
    1,960
    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.
  14. 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.
  15. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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.
     
  16. Capeta

    Capeta Registered

    Joined:
    May 31, 2012
    Messages:
    274
    Likes Received:
    50
    Is it supposed to work too during multidrivers races online ?
     
  17. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    804
    Likes Received:
    568
    Are you talking about driver swap? Interesting question, I never tested.
     
  18. Capeta

    Capeta Registered

    Joined:
    May 31, 2012
    Messages:
    274
    Likes Received:
    50
    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.
  19. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    It works, at least in old version. I haven't tested it in new version but should work the same. One important thing about this APP is that, you can only see overlap & update if you are the driver currently driving the car. Spectate team mate does not count as you are driving, hence will not show the overlay or any data (it should be shown as soon as driver swap is done and you are in control). You have to be the one who is driving to see.

    Lemme know if it works, thanks.

    (I will also try find someone to help for testing.)

    Update:
    It is indeed some problem with driver swap, I'll try fix asap.
     
    Last edited: Jun 5, 2022
  20. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    v1.4.1 important update - Fixed driver swap
    DL: https://github.com/s-victor/TinyPedal/releases/tag/v1.4.1
    Thanks to derricklu for testing. Thanks to @Capeta for reporting the issues.

    TinyPedal 1.4.1 (2022-06-05)
    • Core
      • Removed additional player index check that freezes overlay update.
        Overlay now works correctly with Driver Swap.
     

Share This Page