[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. Jonathan07

    Jonathan07 Registered

    Joined:
    Dec 13, 2023
    Messages:
    8
    Likes Received:
    9
    Hello, it's possible to create short name for a driver name as "Firstname Name" by "F.Name".
    Thanks.
     
  2. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    Unfortunately there is no such thing in API as "short name", so it is not possible to do that directly.

    However it is possible to implement some kind of auto-name-shorten function, but it may have trouble to identify unconventional or none-English standards names or nicknames (for example, Fran la de Gsah, or nickname like iamsoslow, there could be more complex ones, and in some countries, last name is considered first name, and first be the last...), so there will some compromises and accuracy issue. If you think accuracy is not a big deal, then I could try implement an auto-name-shorten function.
     
    Last edited: Mar 7, 2024
    Jonathan07 and ebeninca like this.
  3. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374

    Attached Files:

    PaZill, ebeninca, Jonathan07 and 6 others like this.
  4. Emilian Huminiuc

    Emilian Huminiuc Registered

    Joined:
    Jul 31, 2022
    Messages:
    10
    Likes Received:
    17
    @svictor Windows Defender is triggered by this latest release with "Trojan:Script/Wacatac.B!ml".
     
  5. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    No issue here with Windows Defender (running windows 10 and the latest Windows Defender updated version was 5 hours ago).

    Try update Windows Defender see if that helps. Otherwise, you can either add the APP folder to Windows Defender's white list; or if you don't trust the file, you can build the APP from source code as described on github page.
     
  6. Jonathan07

    Jonathan07 Registered

    Joined:
    Dec 13, 2023
    Messages:
    8
    Likes Received:
    9
    svictor likes this.
  7. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    v2.10.0 - Brand logo display for Relative, Rivals, Standings Widget
    https://github.com/s-victor/TinyPedal/releases/tag/v2.10.0

    Here is a new update with one of the most requested feature: brand logo display for Relative, Rivals, Standings Widget.
    [​IMG]
    Other notable change includes a new "tyre lifespan in minutes" display for Tyre wear Widget as requested by @DanRZ .

    How does brand logo work in TinyPedal:

    TinyPedal supports user-defined brand logo image in PNG format (.png extension) which is placed under TinyPedal\brandlogo folder.

    Note: TinyPedal does not provide brand logo image assets, it is up to user to prepare images. Maximum PNG file size is limited to 1MB.

    How to prepare brand logo image:
    1. Brand logo image should have all transparent borders cropped. For example, in GIMP this can be done by selecting Image > Crop to Content.
    2. Make sure image dimension is not too big, usually around 100 pixel width or height is good enough. Bigger dimension may consume more RAM or exceed maximum supported file size.
    3. Save image to TinyPedal\brandlogo folder, image filename must match corresponding brand name that defined in Vehicle brand editor. For cross-platform compatibility, filename matching is set to be case-sensitive, make sure filename has the same upper or lower case as set in brand name.
    4. Reload preset to load newly added brand logo images for displaying in overlay.
    Note: make sure you also have "Show Brand Logo" option enabled in corresponding widget.
    [​IMG]

    More info can be found from user guide:
    https://github.com/s-victor/TinyPedal/wiki/User-Guide#brand-logo
    https://github.com/s-victor/TinyPedal/wiki/User-Guide#relative-1
     

    Attached Files:

    Masta, Rui Santos, Jonathan07 and 9 others like this.
  8. doublebidule

    doublebidule Registered

    Joined:
    Apr 2, 2023
    Messages:
    20
    Likes Received:
    6
    well we can't stop you anymore ^^ thank you very much
    could you look at an overlay for virtual energy if you find the time
     
  9. Leo Gala

    Leo Gala Registered

    Joined:
    Mar 10, 2024
    Messages:
    1
    Likes Received:
    0
    @svictor unfortunately same issue for me
    and it happens also with v2.10.0 (btw i'm on Win 11 with latest updates for Windows Defender)
     
  10. DanRZ

    DanRZ Registered

    Joined:
    Aug 22, 2021
    Messages:
    723
    Likes Received:
    222
    Last edited: Mar 19, 2024
    svictor and ebeninca like this.
  11. francescodg

    francescodg Registered

    Joined:
    Nov 20, 2023
    Messages:
    10
    Likes Received:
    3
    great job what you are doing, you can add stop and go and drive through in the flags. lastly, also the delta bar of the best lap of the session.
    thank you in advance
     
  12. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    "Virtual energy tank" & "Energy per stint" data is not available from API (and so far there is no official document about LMU's API). There is only a mBatteryChargeFraction (battery charge in percentage) in API, so currently it is not possible to get virtual energy usage.

    There is no issue with Windows Defender on windows 10.
    Besides, all source code is available at github page, you can always run the APP from source code or build the APP yourself.
    Edit: release page now has updated with new files that automatically built using github Actions.

    "Stop go" and "drive through" are not available from API, so not possible to add.
    delta best from session best was already added in Deltabest extended Widget in v2.7.0:
    https://forum.studio-397.com/index....ve-fuel-calculator.71557/page-29#post-1139574
    [​IMG]
     
    Last edited: Mar 11, 2024
    datasting, elgagon and ebeninca like this.
  13. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    v2.10.0 Release file update notice:

    Recently there are a few reports about False-Malware detection by Windows Defender under win11 for unknown reasons.
    Although the files are fine and no issues with Windows Defender under win10, in order to make sure the files are clean, starting from now on, all build releases will now using github Actions for automated remote building.

    Source of released build files can be found from following github Actions page for TinyPedal:
    https://github.com/s-victor/TinyPedal/actions

    v2.10.0 release page is now updated with files (ZIP) that automatically built by github Actions (also includes linux build files):
    https://github.com/s-victor/TinyPedal/releases/tag/v2.10.0

    Happy driving!
     
  14. francescodg

    francescodg Registered

    Joined:
    Nov 20, 2023
    Messages:
    10
    Likes Received:
    3
    Hello, I meant the delta bar, but on the fastest lap of the session, because the delta bar that is there now calculates it on the all time best
     

    Attached Files:

  15. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    742
    Likes Received:
    538
    Well, that's weird...

    Hope using github actions solves the problem.
     
    Last edited: Mar 11, 2024
    svictor likes this.
  16. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    You can always use Reset Data > Deltabest option at beginning of a session to get deltabest from current session only.
     
    elgagon and Corti like this.
  17. lucamilan87

    lucamilan87 Registered

    Joined:
    Dec 4, 2016
    Messages:
    2
    Likes Received:
    0
    It would be a great thing if you could implement the possibility of having the history of the tires used during a race session

    https://ibb.co/R6rdxs6
     
  18. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    742
    Likes Received:
    538
    The stint widget have this data but only for your car.
     
    svictor likes this.
  19. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    936
    Likes Received:
    6,374
    v2.10.1 update
    https://github.com/s-victor/TinyPedal/releases/tag/v2.10.1

    Here is a small update with the new "deltabest source" feature as requested by @francescodg , which allows user to choose which deltabest laptime sources to display in Deltabest Widget. Other changes include improvements to Brand & Class Editors "Add" function which now adds all vehicles data that found from current active session (no more needs to manual type in names).

    This is also the first update release that is fully and automatically handled by github actions, from app building to packaging and release notes. There is also SHA256 hash sum for released files that included in release notes.

    [​IMG]
     

    Attached Files:

  20. doublebidule

    doublebidule Registered

    Joined:
    Apr 2, 2023
    Messages:
    20
    Likes Received:
    6
    hi victor the p2p/battery overlay does not work with the dallara IR18
     

Share This Page