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

Thanks, there is a tutorial i will check :

Sorry if already posted here ...

I can still use a fixed background, widgets on other screen with fixed background.
 
Thanks, there is a tutorial i will check :

Sorry if already posted here ...

I can still use a fixed background, widgets on other screen with fixed background.
I have just updated source code with new options & workaround for customization background:
https://github.com/s-victor/TinyPedal

If you wish to test now, you can try run the source code or package it yourself. At the moment there are some other unrelated changes may be coming so new release package hasn't been made yet.

The new options info can be found in WIP changelog here:
https://github.com/s-victor/TinyPedal/blob/master/docs/changelog.txt

Note, for radar (and trackmap) widget, you have to change background color that is set in Radar Widget config dialog, and probably also need to disable the new option "show_fade_out". For other widget, you just need to change "global background color" option in Compatibility dialog.
 
v2.2.0 (2023-10-27)
https://github.com/s-victor/TinyPedal/releases/tag/v2.2.0
* New Compatibility setting for customizing window background color for VR ( feature suggested by @DanRZ ).
* New Linux installer, Wayland workaround, and bug fixes by Bernat. Thanks to @Bernat & alexbrrsclnt for helping with test.
* New Speedometer Widget that shows minimum, maximum, fastest speed ( feature suggested by @ebeninca in https://forum.studio-397.com/index....ve-fuel-calculator.71557/page-15#post-1119545 ).

Edit: windows executable file is now available at release page.
Due to poor network connection for the past few days, I haven't been able to upload new build file for windows, the release page currently only has source code. I don't know when network will be better, but for the time being, new version can be run or build from source code by following instructions described at project home page.

New entries in User Guide:
Compatibility: https://github.com/s-victor/TinyPedal/wiki/User-Guide#compatibility
Sectors module: https://github.com/s-victor/TinyPedal/wiki/User-Guide#sectors
Speedometers widget: https://github.com/s-victor/TinyPedal/wiki/User-Guide#speedometer
Radar widget: https://github.com/s-victor/TinyPedal/wiki/User-Guide#radar
Friction Circle widget: https://github.com/s-victor/TinyPedal/wiki/User-Guide#friction-circle

index.php


Full changelog
  • General
    • Add "enable_translucent_background" option in Compatibility,
      which turns off translucent background if disabled.
    • Add "global_bkg_color" option in Compatibility,
      which sets global background color for all widgets.
      Note 1, global background color will only be visible
      when "enable_translucent_background" option is disabled
      or translucent background is not supported by system.
      Note 2, some widgets with own background setting may override this option.
    • Fixed window color theme when system style is set to dark-mode.
  • Linux support
    • Add customizable installation path option for installer,
      improved installer error prompt,
      removing old files before installing (by Bernat).
    • Add workaround in launcher to force X11 session type
      which fixed non-draggable issue found on Wayland (by Bernat).
    • Fixed tray menu not synced with main Config window (by Bernat).
  • [New]Sectors Module
    • Separated sector time calculation from Sectors Widget to this new module.
  • Friction Circle Widget
    • Add "show_circle_background" & "bkg_color_circle" options,
      which shows customized circle background color.
      Note, the "show_background" option shows background color
      that covers entire Friction Circle widget.
    • Add "show_fade_out" option,
      which fades out circle background edge.
    • Add "fade_in_radius" & "fade_out_radius" options,
      which sets fade in/out radius, value range in 0.0 to 1.0.
    • Removed "background_style" option as replaced by "show_fade_out" option.
  • Radar Widget
    • Add "show_background" & "bkg_color" options,
      which shows customized radar background color.
    • Add "show_fade_out" option,
      which fades out radar edge.
    • Add "fade_in_radius" & "fade_out_radius" options,
      which sets fade in/out radius, value range in 0.0 to 1.0.
  • Sectors Widget
    • Now reads sectors data from Sectors Module.
    • Moved & re-implemented speed display to Speedometer Widget.
  • [New]Speedometer Widget
    • Show current vehicle speed.
    • Show minimum speed that is updated while off throttle.
    • Show maximum speed that is updated while on throttle.
    • Show fastest recorded speed.
      To reset current record, shift gear into reverse, or reload preset.
      See User Guide "Speedometer" section for details.
  • Misc
    • Updated README.md with Linux usage info (by Bernat).
    • Updated customization.md.
 

Attachments

Last edited:
Note:
Due to poor network connection for the past few days, I haven't been able to upload new build file for windows, the release page currently only has source code. I don't know when network will be better, but for the time being, new version can be run or build from source code by following instructions described at project home page.

You need to use github actions in your repo to configure a build workflow, so it can auto-build and generate the zip file for you when you push a new tag, delicious like a cup of coffee.
 
Last edited:
Sorry for dumb questions, after reading things I can't figure out a few things after getting this setup and working.

How to I move the actual hud elements around on my screen?
My track map just a circle, what have i not set correct there?
 
Sorry for dumb questions, after reading things I can't figure out a few things after getting this setup and working.

How to I move the actual hud elements around on my screen?
My track map just a circle, what have i not set correct there?

1 - Simply use your mouse to position the elements where you want.
2 - It's a round map while you don't complete a valid lap time.
 
v2.3.0
edit: see v2.3.1 hotfix
index.php

This update adds a new Trailing Widget designed by @DanRZ , which shows pedal & FFB history plot. Big thanks to DanRZ's contribution.

The new Trailing Widget comes with extensive customizable options. User can change display size, plot scale, plot orientation, flipping plot at all four directions, individual plot line color & width & style setting, as well as adding reference lines.

Other changes include many small fixes, as well as new API control aimed at supporting other sims in the future.

New user guide entries:
https://github.com/s-victor/TinyPedal/wiki/User-Guide#trailing
https://github.com/s-victor/TinyPedal/wiki/User-Guide#shared-memory-api

2.3.0 (2023-11-11)
  • General
    • Fixed error in loading a different preset
      while previous preset is in saving process.
    • Change option name "rF2_process_id" to "process_id".
    • Rename unit option "elevation_unit" to "distance_unit",
      and currently is used by elevation & yellow flag distance display.
    • Fixed text string decode setting.
  • [New]Trailing Widget (designed by DanRZ)
    • Show pedal trail history plot display,
      includes throttle, brake, clutch, force feedback.
    • Customizable size, scale, style, orientation, reference lines, etc.
  • Relative Module
    • Fixed index out of range when returning
      to monitor while in spectate mode.
  • Shared memory API
    • Add API control & data adapter to support different sims API in the future.
    • Add API name selector in Shared memory API config dialog.
    • Show API name & version info on main window status bar.
  • Misc
    • Updated user guide.
    • Updated contributors.md with new contributor (DanRZ).
 

Attachments

Last edited:
Hi
is there's a possibility to be added a option in the relative/standings to see how many laps have been done in the actual tyre compound for each driver?
 
Hi,

Thanks for suggestion, but sorry, the mentioned feature would not be added for a few reasons.

First, the game does not give the suggested info available through API right away. To know how many laps a tyre has done, it requires manual tracking, that will be a lot data to process (multiplies amount players & status changes & each 4 tyres and resulting large data set, there is also potential de-sync issue that can result false data), and potentially slow down other data display in overlay.

And the most important reason is that tyre compound data de-sync a lot in multiplayer session. It is often to see that opponents tyre compound data not updated by the time opponents finish their pit stop & tyre change, but only until a few laps later after pits. Sometimes de-sync can last as long as over 30mins and it also affects official broadcast overlay. Thus tyre compound data from opponents are not always accurate and reliable to begin with.

In endurance races, it is also more complex due to driver swap, TinyPedal only reads & stores data when you are driving. So when you are not driving, opponent data is simply not tracked.

TinyPedal is meant for real-time data display for local driver, and not intended to become a full analytic telemetry APP that tracks & analyzes everyone's data & history in deep levels. There are already some specialized telemetry APP (such as Second Monitor or rFactor2 Log Analyzer) that cover the more analytic & strategic areas.
 
Hi again, I’m looking in user guide but didn’t see it if is possible to reset laptime of deltabar reference, and use the best session lap? Or is always comparing to your best laptime ever recorded?
 
Thank you once again for an amazing update. One small thing i would change is the relative to be more accurate. It is fluctuating a bit too much and also quite a bit different from the ingame one. Thats my smallest issue i have.
 
Hi again, I’m looking in user guide but didn’t see it if is possible to reset laptime of deltabar reference, and use the best session lap? Or is always comparing to your best laptime ever recorded?
It's correct, it is always comparing with your personal best (recorded) lap time.

The deltabest file is located in TinyPedal\deltabest folder, just open the folder and sort file by latest date, then delete the record you wish to reset. Same goes for track map in trackmap folder.

Addition info can be found here:
https://github.com/s-victor/TinyPedal/wiki/User-Guide#user-files

Edit: next update will add "Reset data" menu for resetting user data from UI directly.
 
Last edited:
Reviving an old issue:
GSync / FreeSync gets disabled when TinyPedal app widgets show on top of the game :(
I've tried disabling fullscreen optimizations for rF2 like suggested, but all tht does is disable GSync even if TinyPedal app is not running. Has anyone really gotten gsync to work with TinyPedal, and how?
 
I don't have a g-sync monitor to help. There is however one thing to check: make sure "lock overlay" is enabled while driving, so that RF2 window won't lose focus if widgets have been clicked or dragged recently.

Most result & discussion from web search also show that g-sync has trouble with borderless or windowed mode, such as lag & stutter issues, or been disabled(as you mentioned) are commonly reported. So borderless or windowed mode is probably the real issue.
 
Back
Top