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

@DanRZ You probably have missed those two posts, you can get complete pace notes example by download Isle of Man & Targa Florio pace notes (and just try them in game) and open them in editor, as well as full pace notes sound set as mentioned in following two threads:
https://forum.studio-397.com/index.php?threads/targa-florio-wip.34258/page-46#post-1147521
https://forum.studio-397.com/index.php?threads/37¾-mile-isle-of-man-mountain-course-conversion-from-gpl.67535/page-10#post-1147519

By the way, Isle of Man pace notes is highly recommended, it was more advanced then Targa notes, as both original authors Lee & Jim had put significant amount work for them.

In short, don't write any file extension in pace note, but set them in "Pace Note tab", this is designed so you can easily switch to other format without having to edit pace notes file.

ps: there was also a plan in future to do some kind "pace notes icon" display as you would commonly see in some rally games, which requires not to use extension from sound file in order to do universal name matching, but that plan was put on hold for the time being as significant work required.

See following User Guide sections for more info about editor and playback:
https://github.com/s-victor/TinyPedal/wiki/User-Guide#pace-notes-playback
https://github.com/s-victor/TinyPedal/wiki/User-Guide#track-notes-editor
 
Last edited:
Sorry, i missed the examples, i will check them.

Question : Are there any way to add some "newline" in comments and get multi-lines ?
Like 'r or \n ... Or is it not possible by design ?
 
Last edited:
Question : Are there any way to add some "newline" in comments and get multi-lines ?
Like 'r or \n ... Or is it not possible by design ?
Thanks for bring this up. Multi-line comments is not working in current version due to "\n" being auto-escaped. I've just added an option to enable line break support for notes comments in latest git commits, you can give it a try, just add \n to any part of comments will do.
 
A quick example how to create new pace notes for RF2:

1. Open Track Notes Editor, it will start with an empty new "Pace Notes" file and ready for editing. You can also click "File" > "New Pace Notes" to create new pace notes file.

2. Open an existing track map from map viewer on the left panel. If the track map doesn't exist, you can drive a valid lap around a track to generate the map, or use AI toggle to drive for you. In this example, it's "Targa Florio 1967 - Rally Stage 5 - Cerda" track.
index.php


3. Use mouse wheel to zoom in/out on map viewer. Then use the position "silder" at bottom to move current focused map node; or you can adjust "Position" spin box to move current node. Here we move the node position just before first corner.

4. Adjust "Nodes" spin box to select more (or less) nodes so that Osculating Circle (blue color) just matched the corner curve.

In this case, I first move position to 81 (node 17) at start of first corner, then adjust "Nodes" to 29 that the Osculating Circle almost perfectly matched first corner curve. And you can now find the corner (curve) length and radius at the top left corner, which also gives estimated curve grade info. In this case, I just write down "Right 5 Long" in the "pace note" column on the right panel.
index.php


5.Record down the trigger position of this pace note. First, we need to move the current position slightly backward so the note will be played some distance earlier before the start of corner. Then right-click on first "distance" column first cell and select "Set from map", and confirm to set at new position.

In this case, I set the position of first pace note at 16 meters. And now we have completed writing first pace note line. You can also write some info in "comment" column to help identify the corner or track section.
index.php


You can also use the "Replace" & "Offset" dialogs to change notes or adjust multiple positions at once. And you can customize curve grade, length grade, slope grade info by click "Config" at top of map viewer.

---

Next, we just have to repeat above process to create pace note for the entire track.

When finished, you can set optional metadata info by click "Info", and last click "Save" to save to "pacenotes" folder. Just make sure the pace notes file name matches track map name exactly. You will also need to prepare pace notes sounds, and sound file names (without file extension) must match each line of note from "pace note" column.
index.php
 

Attachments

hi i have a problem with the tire temperature i would like to display the temperature that corresponds to the black box but when i want to display it there is still a duplicate information that is displayed with +/- 10° difference to get around this information so that it is not displayed i put in "index/surface column" the value at 0 and then there is a "problem" if i do not check "swap style" the two information overlap which is normal could you give us the possibility to choose the one we want to display? and could you add the "inner gap" option to tire and brake wear please?
 

Attachments

Hi, is it possible to improve the relative widget by displaying the fastest last lap in purple?

I usually glance quickly on the straight to check the last lap of my opponents and it would be cool to see that instantly.
 
I would like to suggest another improvement to the relative widget. It would be nice to have an option to make the delta to other drivers based on sectors. Live delta with big gaps is usually very inaccurate and having the gaps update at the end of every sector solves the issue for endurance racing.
 
@svictor , absolutely amazing your work. Love overlays and data in simracing, but yours are the best of all my sims.
LMU and your overlays are my favorite combination.
Thanks and congrats, man.
 
https://github.com/s-victor/TinyPedal/releases/tag/v2.21.0

2.21.0 (2024-12-10)
  • General
    • More optimization to all widgets & modules for further improved efficiency and less resource usage.
  • RestAPI Module
    • Updated steerlock function to retrieve steerlock value from new LMGT3 vehicles in LMU.
  • Brake pressure, Ride height, Suspension position, Tyre load Widget
    index.php
    • Add "show_caption", "font_scale_caption", "caption_text" options for displaying and customizing
      caption text (requested by @coasting&cruising). This option is disabled by default.
  • Relative Widget, Standings Widget
    index.php
    • Add "show_highlighted_fastest_last_laptime" option (requested by @Hany Alsabti), which highlights
      the fastest last lap time within the same class if available.
    • Improved consistency and accuracy of relative time interval (requested by @Hany Alsabti).
    • Renamed "show_vehicle_in_garage_for_race" option to "show_vehicle_in_garage" in Relative Widget,
      which now affects all sessions. Default is "False", which hides vehicles in garage.
      Note, local player (user) is always displayed.
  • Gear Widget
    • Add "show_inverted_battery" & "show_inverted_rpm" options that invert battery or rpm bar progression.
  • [New]Steering wheel
    index.php
    • Show virtual steering wheel with customizable steering wheel image.
    • Show steering rotation reference line, which can be useful to see if physical steering wheel is misaligned.
    • See User Guide for details.
  • [New]Tyre inner layer Widget, Tyre temperature Widget
    • Separated inner layer temperature display from "Tyre temperature Widget" into the new
      "Tyre inner layer Widget" (requested by @H4dro), which can now be configured completely separately.
      Tip: set color style differently to easier distinguish the two widgets.
    • Add "horizontal_gap", "vertical_gap" options for enhanced arrangement (requested by @doublebidule).
  • Misc
    • Updated User Guide info for related changes above.
https://github.com/s-victor/TinyPedal/wiki/User-Guide#steering-wheel
 

Attachments

hi victor great addition for horizontal/vertical a big thank you do you think it would be worth adding this option for the wear of the brake tires and their temperature ^^?
 
Thank you guys for the comments & supports.

@DanRZ nice steering wheels, thanks for sharing.

@doublebidule currently there is some unsolved issue related to inner gap option that would conflict with "caption" option and breaks display layout, so I couldn't add them just yet. I'll take a look at possible solutions later.

---

Here is updated tracknotes files for all 10 tracks currently in LMU. To use, just extract and place all files in TinyPedal\tracknotes folder. Have fun.
 

Attachments

@svictor LMU game. On Timing widget in Show personal all time best lap time, it shows the best time per car category(HY,Gte,GT3,etc) and not per car. Am I missing some setting?
 
Correct, personal all time best (including delta best & sector best) is always saved by "vehicle class name", not by "vehicle name", it was designed this way from the beginning to workaround API limitation.

In RF2 & LMU, "vehicle name" from API actually outputs as "car livery name", each car livery name is unique for that car, and it may not tell which ID or manufacturer name it belongs to (for example, the same car may give livery names like "#01 Thomas" or "XXX Racing Team #23", which is unusable). That means same car can have many different unique livery names (as seen from car selection list in game), it will end up with many individual best lap time for the same car if save under "vehicle name", which is not what you are looking for here.

The only solution is probably to use the "vehicle brands" matching system (as defined in Vehicle Brand Editor) to assist with vehicle name identification. However it requires user to correctly configure each brand name that matches mod's livery name, and "livery name" may change with game or mod updates, it will not be reliable or easy work for user, and not worth all that trouble in the end.

Edit: most importantly, vehicle brands info is only available from "Rest API", however "Rest API" is not supported by game developer, which means anything that utilizing "Rest API" can break if game developer decides to change it (or even disable them from accessing). There is huge risk for implementing things by accessing an unsupported API, so generally it should be avoided.
 
Last edited:
Back
Top