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

v1.3.0 update - Stint widget
View attachment 45137
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.

You need to create a donation option for us.
 
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.
 
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.
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)
index.php
 
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.
 
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:
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'
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).
 
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!
 
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!
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
 
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.
 
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.
 
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.
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:
Back
Top