Jump to content

TinyPedal


andre

Recommended Posts

TinyPedal  by svictor

TinyPedal - new open source overlay APP for rF2 (Pedal, FFB meter, Relative, Fuel calculator)

preview02.thumb.png.309aebdd631c04391db5a1bc15b6fc83.png

 

Available widgets & Features

Spoiler

Available widgets & Features

 

- Pedal
- Show Pedal input, both Filtered & Unfiltered input side by side, which helps distinguish car specific assists such as TC/ABS/Auto-clutch, etc.
- Show optional Force Feedback meter, and clipping indicator.

- Steering
- Show Steering input.
- Show optional Scale Marks (90 degrees apart).

- Gear
- Show Gear in 2 layouts.
- Show Speed with 3 different unit display: kph, mph, or m/s.
- Show Speed Limiter sign while activated.
- Show RPM color indicator with customizable RPM range setting.
- Show RPM over-rev color warning.
- Show optional RPM bar animation ranged from safe RPM to max RPM.

- Fuel
- Show current remaining fuel (liter).
- Show estimated total required fuel for finishing race, negative value indicates estimated extra fuel after race ends.
- Show fuel consumption from last lap.
- Show estimated laps & minutes that current remaining fuel can last.
- Show estimated number of required pit stop. Note, any decimal place should be considered for an additional full pit stops (or try save some fuel), as it is not possible to do 0.5 or 0.01 pit stops.
- Show optional caption descriptions.

- Wheel (alignment)
- Show Camber & Toe in (degree).
- Show Ride Height (millimeter).
- Show car bottoming indicator with customizable offset.
- Show Rake (millimeter) & Rake angle (degree) with negative rake indicator. Wheelbase can be defined in config.
- Show optional caption descriptions.

- Temperature (tyre & brake)
- Show average Tyre surface temperature.
- Show average Brake temperature of front and rear.
- Changes color based on heat map.
- 4 different layouts.

- Tyre Wear & Pressure
- Show Tyre wear that changes color according to wear.
- Show Tyre pressure with 2 different unit display: kPa or psi.
- 4 different layouts.

- Relative
- Show driver standings, relative position and time gap.
- Show different text color based on laps ahead or behind you.
- Show optional driver's last laptime.
- Show optional vehicle class categories with fully customizable class name and color.

- Timing
- Show personal best, last, and current lap time.

- Weather
- Show surface condition (dry or wet).
- Show Track & Ambient temperature.
- Show rain percentage, min, max, average wetness.

- Engine
- Show Oil & Water temperature with overheating indicator.
- Show Turbo pressure (bar).
- Show Engine RPM.

- Force
- Show longitudinal & lateral G force with direction indicator.
- Show downforce ratio (percentage).

- DRS
- Show DRS color indicator.

Fuel Widget, Pedal Widget, Steering Widget                                           Weather Widget, Engine Widget, Force Widget               

widget01.png.95a4920ddfe9b4bd3260d08cfff55d80.png            upload_2022-7-6_15-11-14.png.deaec1902087a1e5ff020710fc9b7f55.png

 

Gear Widget                                                                                                   Startlights display for Gear Widget

upload_2022-7-6_15-9-32.png.a749b8794e0e5a2e25c0d2734662b89d.png                   upload_2022-6-30_12-18-38.png.a28baeb1a0cbcadd0dc817d9c2dd77fc.png

 

Delta best Widget                                                                                                         Pressure Widget (Tyre load, Tyre pressure), Temperature Widget(Tyre,                                                                                                                                                Brake), Wear Widget(Total wear, Last lap wear)                  upload_2022-3-21_16-48-32.png.e54b5bc60b4f03a1178c81a3f1335d75.png       upload_2022-4-2_14-27-52.png.69de350011adfe98fd38b52a47d3838d.png       

 

Wheel Widget                                                                                         Relative Widget

upload_2022-7-6_15-13-54.png.349fa284c2af9f43f4b3ae2a514a11f4.png             upload_2022-4-17_15-32-29.png.c305c822515ea4071095bba5c62e1216.png   

 

Session Widget                                                                                                     Stint widget

upload_2022-5-6_16-4-46.png.94b6eb4c03d661153df90f1a6c5572b2.png          upload_2022-5-16_16-45-50.png.58e4016b7ab6a386af5e62882611921f.png

 

Cruise Widget                                                                                                       Instrument Widget                                                       

upload_2022-6-1_12-32-54.png.5212e5c6221c48dedf6100be120509c0.png             upload_2022-6-24_22-26-36.png.09a31663920e5a9bdf714c1c0d878428.png

 

Radar Widget

Radar.png.b959c5a9724b3684401bd60b0ba9ef17.png

  

Sectors Widget

15.sectors.png.05939545916aebde26485d60a248aa71.png

 

Flag Widget

FlagWidget.png.8361545d6cead157207614aaf809b651.png

 

Flag distance                                                                                        Brake bias & Rake angle                

Flagdistance.png.856561ef9d7947f2c6a3cd2538a38616.png            BrakebiasRakeangle.png.f548c6ef525d723c15f6403f7a26b30a.png

 

Brake pressure & Ride Height and Tyre load                                   Battery & Electric motor                       

BrakepressureRideHeightandTyreload.png.efb8c6480b978613758e3daec3ceee34.png                                                            BatteryElectricmotor.png.72bdfe8a0a7645ef805ebb04da9c84e7.png

 

Lap time history                                                                                                                          

Laptimehistory.png.e962819fb8292021dae8955b6d1ee362.png 

 

Friction Circle & Force Module  FrictionCircleForceModule.png.947b9987bc0a1ade7435a03f03ca49aa.png

 

Trackmap  

 Trackmap.png.56307f1c59a9fee7c7041f82c156f7c0.png

 

Usage

  • Make sure The Iron Wolf’s rF2 Shared Memory Map Plugin is installed, as described above, and Borderless or Windowed Mode is activated in game.
  • Download latest TinyPedal version from Release page, extract, and run tinypedal.exe.
  • A tray icon will appear at system tray. If not shown, check hidden tray icon. Right Click on tray icon will bring up context menu.
  • Launch rFactor 2, overlay will appear once your vehicle is on track, and auto-hide otherwise. You can turn off auto-hide by Right Click on tray icon and select Auto Hide.
  • Click on overlay to drag around. You can Lock or Unlock overlay from tray menu.
  • Widgets can be Enabled or Disabled by accessing Widgets menu from tray menu.
  • To quit APP, Right Click on tray icon and select Quit.

rF2 Shared Memory Map Plugin

TinyPedal

Customization guide

 

Link to comment
Share on other sites

v1.1.0 update - Delta best now available!

upload_2022-3-21_16-48-32.png.b593168e01a4a492482f416188328b67.png

TinyPedal 1.1.0 (2022-03-21)
----------------------------
* [New]Delta best widget

  • - Show delta best based on personal best laptime.
  • - Show delta bar with customizable range, size and color.
  • - Record, save, and load player's best laptime data automatically.
  • - Best laptime file is stored in "deltabest" folder, and can be
  • used by other players.
  • - 2 different layouts.

* Core

  • - Add "deltatime" module, which runs in separated thread at 60fps.
  • - Add "delta_timing" switch in config.json.
  • - Add auto-backup function for config.json.
  • - Restructured "readapi" module.
  • - Sort all widgets and references in alphabetical order.

* Timing widget

  • - Add delta estimated laptime.
  • - Add 3 different layouts.
  • - Now reads timing data from deltatime module.

* Temperature widget

  • - Add color swap setting in config.json, which swaps heat map color
  • between font & background color.

* Fuel widget

  • - Now reads mLapStartET from "Telemetry" which has higher accuracy.
  • * Wear widget
  • - Add unit "bar" for tyre pressure.

 


v1.1.3 update - Add laptime validating (2022-03-22)
----------------------------
* Core

  • - Add laptime validating function for "deltatime" module.
  • Invalid laptime will no longer be saved as best laptime.
  • Delta best now fully works under any track or condition.

* Misc

  • - Fixed a few typo in README.md & previous changelog.
  • - Added missing contributors.md reference to build_py2exe.py.
Link to comment
Share on other sites

TinyPedal 1.1.6 (2022-04-16)
Core

  • New algorithm for handling setting validating.
  • Each widget setting is now separately validated.
  • Invalid & missing setting keys are removed or added individually,
  • which helps for keeping valid widget setting untouched,
  • and will benefit any future updates greatly.
  • Due to this new validating method, it is now recommended to exit APP
  • before manually saving changes to JSON file.

Misc

  • Updated document files to reflect the new changes to setting validating.

 

TinyPedal 1.1.7 (2022-04-16)
Relative

  • Fixed a variable name typo from new setting code, which causes vehicle class not shown correctly.

Core

  • Renamed various "temp" reference to "temperature" for temperature widget.
Link to comment
Share on other sites

TinyPedal 1.1.8 (2022-04-17)
Relative

  • [New]Show driver's position standing in class.
  • [New]Show pit status indicator whether driver is currently in pit, with customizable pit status text.
  • [New]Customizable column info display order.
  • "bar_driver_name_width" setting now trims out range chars.
  • Removed unnecessary laptime formatting, added string length slicing

Core

  • [New]Add new "veh_class_info_list" algorithm to calculate position in class.
  • Moved place & class info to "veh_class_info_list".
  • Various code clean up.

Misc

  • Updated customization guide with new configurable setting.
  • Updated features list.

 

TinyPedal 1.1.9 (2022-04-18)
Relative

  • Fixed a player index mismatch issue that happens in multilayer session when a player leaves server,
  • which interrupts Relative data calculation and halt APP.

Core

  • Improved setting code, removed unnecessary setting groups.
  • Optimized widget code structure, removed redundant codes, easier to create new widget.
  • Simplified widget module import method, removed repetitive references.
  • Improved setting auto-sorting, moved "overlay" setting back to the top of the JSON file.
Link to comment
Share on other sites

  • 3 weeks later...

TinyPedal 1.1.11 (2022-05-03)
Pressure Widget

  • [New]Add option to display tyre load percentage ratio between left & right tyres of same axle (default on).

Core

  • Added APP running status check when starts TinyPedal,
  • and shows notify & closes APP to prevent multiple TinyPedal APP from running at same time.
  • Removed unnecessary method from deltatime module.

pyRfactor2SharedMemory library

  • Now constantly updating player index number in a separated thread at 10ms refresh rate,
  • which helps reduce large amount unnecessary repeated function calls.
  • Removed additional player index code that could freeze data reading in rare cases.
  • Removed duplicated calls to playersDriverNum() method.

Misc

  • Updated customization guide with new configurable setting for Pressure Widget.
  • Add new contributor to contributors.md.
Link to comment
Share on other sites

v1.2.0 update - Session Widget (clock, timer, lap number, driver place)

upload_2022-5-6_16-4-46.png.9fe7617b4305a1c81bba8900275de45c.png

TinyPedal 1.2.0 (2022-05-06)
----------------------------
* [New]Session Widget

  • - Show current system clock time, with customizable time format.
  • - Show session timer, accuracy is limited by 200ms refresh rate of rF2 API.
  • - Show driver's current lap number & max laps (if available), with customizable lap number description text.
  • - Displays warning color if driver is about to exceed max-lap in qualify (or indicates the last lap of a lap-type race).
  • Note: if warning color appears in qualify, it means you have already reached max allowed laps.
  • Do not attempt to across finish line, but ESC immediately to avoid DQ.
  • - Show driver's current place against all drivers in a session.

* Misc

  • - Updated customization guide with new configurable setting for Session Widget.
  • - Updated features.md with Session Widget info.

 

Link to comment
Share on other sites

  • 2 weeks later...

upload_2022-5-16_16-45-50.png.617ef5ef6186293046d078ab17bc0d13.png

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.
Link to comment
Share on other sites

  • 2 weeks later...
  • 2 weeks later...

upload_2022-6-1_12-32-54.png.1965493f2d795ae14c1c67bef3bc886c.png

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.

 

upload_2022-6-7_19-58-35.png.56f6c6244f347779d90c60ccea02bf57.png

TinyPedal 1.5.0 (2022-06-07)

[New]Radar Widget

  • Show car radar that displays relative position of player's vehicle against up 6 nearby vehicles.
  • Vehicle changes color if is laps ahead or behind player.
  • Fully customizable size & scale.
  • Default refresh rate at 50 fps.
  • Show center mark.

Core

  • Deltatime module is now named realtime_delta, and as delta_module in config.ini file.
  • Moved all "relative list" code to new realtime_relative module, added relative_module in config.ini file.
  • Both Relative & Radar widgets now read data from realtime_relative module,
  • and calculation is done in a separated thread at constant 5fps(the limit of API).

Misc

  • Updated customization guide with new configurable setting for Radar Widget.
  • Updated features.md with Radar Widget info.

upload_2022-6-7_19-58-50.thumb.png.9138abdbadd58d0dbbf69d91b9165dcc.png

 

 

 

Link to comment
Share on other sites

upload_2022-6-8_10-34-20.png.9af7f3f748f2af78b361a406461546c0.png

v1.5.1 update - Vehicle orientation on Radar Widget

Now Radar Widget can show opponents vehicle orientation. (no anti-aliasing support due to GUI library limitation)

TinyPedal 1.5.1 (2022-06-08)
Radar Widget

  • Now draw vehicle orientation relative to player vehicle.
Link to comment
Share on other sites

  • 3 weeks later...

v1.6.0 update - new Instrument Widget

upload_2022-6-24_22-26-36.png.aaa980c7a3da6e17fd716e8a7afc41a1.png

TinyPedal 1.6.0 (2022-06-24)
 

[New]Instrument Widget

  • Show Headlights state.
  • When Headlights on, icon turns white.
  • Show Ignition & Starter state.
  • When Ignition on, icon turns white.
  • When Ignition on while Engine off, icon background turns green (default color).
  • Show Auto-Clutch state.
  • When Auto-Clutch on, icon turns white.
  • When Clutch pressed, icon background turns cyan (default color).
  • Show Wheel Lock state.
  • When Brake pressed and Slip Ratio reaches threshold, icon background flashes red (default color).
  • Show Wheel Slip state.
  • When Slip Ratio reaches threshold, icon background flashes yellow (default color).
  • Include many customizable options.
  • New instrument icon by Xiang.

Cruise Widget

  • [New]Show current in-game clock time of the circuit.

Core

  • Fixed an issue where Deltatime module would fail to record deltabest laptime
  • for point to point tracks after certain amount driven distance.
  • Various optimization.
  • Updated build_py2exe.py script.

Misc

  • Updated customization guide with new configurable setting for Instrument & Cruise Widget.
  • Updated features.md with Instrument Widget info.
  • Updated README.md.

 

v1.6.2 update - Startlights display for Gear Widget

upload_2022-6-30_12-18-38.png.6f65aa5d3e21dcd4f391bfadf93c6af5.png

TinyPedal 1.6.2 (2022-06-30)
Gear Widget

  • [New]Add Startlights display with 20ms(50fps) accuracy, which works the same way as how the game is designed.
  • Race Countdown timer feature is no longer enabled by default, which now requires a special code to enable it.
  • See customization guide for details.
  • Fixed missing custom background settings.

Core

  • Increased Deltatime module refresh rate from 10ms to 1ms.

Misc

  • Updated customization guide with new configurable setting for Gear Widget.

 

Link to comment
Share on other sites

TinyPedal 1.6.3 (2022-07-03)
Core

  • Deltatime module now stores last laptime value to "last_laptime" key value in "timing" section of config.json.
  • Both Fuel & Timing Widget can read this saved last laptime value from Deltatime module & config.json.
  • Estimated laps & time for a given amount fuel can now be accurately calculated & displayed
  • based on existing saved last laptime without having to do any additional laps.
  • Fixed a NaN value error that can happen if game crashes.
  • Optimized data handling for Relative module, Radar Widget, Relative Widget.

Misc

  • Updated customization guide with new configurable setting for Timing Widget.
Link to comment
Share on other sites

  • 2 weeks later...

TinyPedal 1.6.4 (2022-07-08)
Core

  • Fixed a rare "list index out of range" error in Relative module when player has lost connection from a server,
  • which would stop relative date from updating.

 

TinyPedal 1.6.5 (2022-07-16)
Cruise Widget

  • [New]Add "track_clock_time_scale" setting in config.json for time scaled session.
  • Default value = 1, which matches "Time Scale: Normal" setting in-game.

Relative Widget

  • Empty row now has default background color.

Misc

  • Updated customization guide with new configurable setting for Cruise Widget.
Link to comment
Share on other sites

  • 1 month later...

v1.6.6 update - Bugfix & improved calculation
Instrument Widget

  • Improved wheel radius calculation.
  • Now refreshes wheel radius reading when current number of recorded samples has reached "minimum_samples" value,
  • which helps make slip indicator more responsive and accurate.

Cruise Widget

  • Removed some useless calculation.

Core

  • Fixed a typo that could cause "list index out of range" error in Relative module.

Misc

  • Minor changes to customization guide.

 

v1.6.7 update - Tyre compound display for Relative Widget

tp.png.0babd4af455ac1a6171e74d1991f17a6.png
Relative Widget

  • [New]Add tyre compound index (front/rear) column with customizable compound letter & color in config.json.
  • Note: due to this addition and changes to column order, it is advised to double check for column_index values
  • set in config.json to avoid column overlapping.
  • [New]Add "bar_time_gap_width" option in config.json for relative time gap, default value is 5 (char width).

Core

  • Improved "Time Gap" calculation in Relative module.

Misc

  • Updated customization guide with new configurable setting for Relative Widget.
  • Updated features list.

 

TinyPedal 1.6.8 (2022-09-03)
Core

  • Fixed a "list index out of range" issue in Relative module when client lost connection from server.
Link to comment
Share on other sites

  • 1 month later...

TinyPedal 1.6.10 (2022-09-30)
Core

  • Extended laptime validation period from 2s to 8s in case of game's new cut detection being triggered.
  • Improved Relative module structure.

pyRfactor2SharedMemory library

  • Added numeric validation for every sharedmemory data input to eliminate data reading errors during game crash, freeze or unexpected interruption.

 

1.thumb.jpg.f7127913243b0bdc5844d1200b8f21fb.jpg

TinyPedal 1.7.0 (2022-10-03)
 

This update mainly adds various improvements and a few new indicators that help endurance race.
Thanks to DumiBirdF for suggestions and advice.


[New]Fuel Module

  • Moved all fuel usage calculation into the new separated "Fuel Module"
  • which runs in a separated thread at a much higher 1000hz refresh rate.
  • Fuel Widget as well as other Widgets now have access to fuel usage info from this module.
  • Ignores pit-in & pit-out lap for more accurate fuel usage report for endurance race.

Gear Widget

  • [New]Display low fuel warning beside speed gauge. Default is set to show only for race.
  • [New]Display blue flag warning with customizable text beside speed gauge. Default is set to show only for race.
  • [New]Display sector-based yellow flag warning beside speed gauge. Default is set to show only for race.
  • [New]Added "font_weight_indicator" setting for customizing indicator font weight separately.
  • [New]Added "font_color_speed_limiter" & "bkg_color_speed_limiter" for speed limiter indicator.
  • [New]Added large amount customizable options for new indicators,
  • see Gear section in customization guide for details.

Misc

  • Updated customization guide with new configurable setting for Gear Widget.
  • Updated features list.

 

 

Link to comment
Share on other sites

  • 2 weeks later...

upload_2022-10-7_18-49-36.thumb.png.0ceb2ffead1aa318d31fca0c5043d928.png

TinyPedal 1.8.0

Relative Widget

  • [New]Relative Widget now displays up to 6 additional players (3 front & 3 behind, total 13),
  • which is customizable via new "additional_players_front" & "additional_players_behind" option in config.json.
  • Default is set to show 0 additional players. See customization guide for details.

Radar Widget

  • [New]Radar Widget now displays up to 18 additional vehicles (9 front & 9 behind, total 25),
  • which is customizable via new "additional_vehicles_front" & "additional_vehicles_behind" option in config.json.
  • Default is set to show 8 additional vehicles (4 front & 4 behind). See customization guide for details.

Core

  • Updated Relative Module to support additional players/vehicles display for Relative Widget & Radar Widget.

Misc

  • Updated customization guide with new configurable setting for Relative & Radar Widget.
Link to comment
Share on other sites

  • 4 weeks later...

TinyPedal 1.8.1 (2022-11-01)
Core

  • Improved auto-hide function & player status check.
  • Added additional player data verification for deltabest & fuel modules.

pyRfactor2SharedMemory library

  • [New]Added an argument to pass rf2 PID to SimInfo for reading data from dedicated server.

 

v1.9.0 update - Preset manager & deltabest fix

2000623508_Presetmanager.JPG.b219aad0e9b1242991d6f14f266f6b82.JPG

TinyPedal 1.9.0 (2022-11-07)
[New]Preset manager

  • Added new "Preset" list window when launching TinyPedal,
  • where user can load exist preset, or create new preset.
  • Preset files are sorted by last modified date.
  • All JSON preset files are now saved in TinyPedal\settings folder.
  • User may manually move all old JSON files into "settings" folder.
  • Note: Preset manager does not provide file delete function (to avoid accidental deletion).

Core

  • [New]Tray icon menu now shows current preset name.
  • [Critical]Fixed an issue that could cause deltabest module to stop updating.
  • Many improvements.

Misc

  • Updated py2exe building script to use new "freeze" (py2exe v0.12 and above).
  • Updated third-party software libraries.
  • Updated customization guide with info about the new preset manager.
Link to comment
Share on other sites

  • 2 weeks later...

v1.9.2 update - Preset reload, Estimated tyre lifespan, Improved player status check & auto-hide module

1.JPG.9b64d73084f9fa9dceb75a02c47934dd.JPG

TinyPedal 1.9.2 (2022-11-19)
Preset manager

  • [New]TinyPedal now supports reload & change preset while running.
  • [New]Added "Load Preset" to tray icon menu.
  • Preset manager window no longer opened at launch. TinyPedal will always load last used preset at launch.
  • Due to limitation, active preset name no longer shows on tray icon menu.

Wear Widget

  • [New]Added "show_lifespan" option to show estimated tyre lifespan in laps.
  • [New]Added "show_realtime_wear" option to show current lap tyre wear that constantly updated in realtime.
  • [New]Added additional "font_color" & "warning_threshold" and many more customization options.
  • Improved and more accurate tyre wear calculation.
  • Properly calculates tyre wear for pit in & out lap.
  • Reduced custom layouts to 2 variations, but added new customizable column order.

Core

  • Auto-hide function is now based on game's FFB output value for high accuracy and stability.
  • Added multiple local driver status check method to eliminate data interrupting
  • when other players have joined or disconnected from server.
  • Fixed incorrect laptime validation duration for deltabest module.
  • Best laptime data is now saved right after validation.
  • Significantly improved code structure.
  • All threads are now properly closed before exiting.

pyRfactor2SharedMemory library

  • Added additional code to properly close shared memory mapping before exiting.
  • Added number of vehicles difference check.
  • Increased max player index check to 128.
  • Misc
  • Updated customization guide with new configurable setting for Wear Widget.

 

TinyPedal 1.9.3 (2022-11-20)
Core

  • Auto-hide function is reverted back to previous method,
  • which depends on player's engine ignition status).
  • Removed all previous driver status check methods,
  • as new changes to pyRfactor2SharedMemory library has fixed the issue
  • that associated with players joining or disconnecting from server.
  • Now also shows data while "Toggle AI control" enabled.

pyRfactor2SharedMemory library

  • All Telemetry & Scoring info is now constantly updated in a separated thread.
  • Now uses deep copy on Telemetry & Scoring info
  • and verifies mVersionUpdate values to avoid data changes or corruption.
  • Now finds player's index number against a single Scoring info piece.
  • Previously this was not done on a single info piece,
  • which data could be changed or corrupted while checking.
  • Now uses player's mID from the verified Scoring info
  • and compares with the mID from Telemetry info to ensure
  • all assigned Telemetry & Scoring info data is correctly synced to local player.

 

TinyPedal 1.9.4 (2022-11-20)
pyRfactor2SharedMemory library

  • Fixed "players_mid" variable that could be referenced before assign.
Link to comment
Share on other sites

v1.9.5 - Fuel delta recording, calculation & estimated fuel consumption

upload_2022-11-24_22-17-20.png.c2863c3fed400f939514564269414435.png

TinyPedal 1.9.5 (2022-11-24)
Fuel Widget

  • [New]Show "estimated fuel consumption" that is constantly updated and calculated
  • against the new fuel delta consumption data from last recorded lap.
  • The new estimated value replaces the old "last lap fuel usage" value and more accurately reflects
  • how each fuel info changes with driver's input or engine mixture levels, etc.
  • [New]Fuel consumption & last laptime values are now stored inside new fuel delta consumption file,
  • which corresponds to each matching vehicle-track combo and auto-loads while driving.
  • User can quickly jump back in a previously driven combo with all fuel consumption data available right away.

Core

  • [New]Added fuel consumption recording & delta calculation functions to Fuel module.
  • [New]Fuel delta consumption file is now saved in "TinyPedal\deltabest" folder with *.fuel extension,
  • Note: For accuracy purpose, only the fuel delta consumption data from most recent complete lap
  • will be recorded and used for delta consumption calculation.
  • This includes full laps that have exceeded track limits, but excludes pitin & pitout laps.
  • Fixed an error that occurred after toggle auto-hide and reload preset.
  • Improved auto-hide function.
  • Improved deltabest recording methods.
  • Removed "fuel_consumption" value from fuel section of setting file.
  • Removed "last_laptime" value from timing section of setting file.

Misc

  • Updated documents.
  • pyRfactor2SharedMemory library
  • Further improved synced methods for reading local player info.
  • Separated none-synced methods from player-synced methods to be compatible
  • with apps or functions that uses none-synced methods.
  • Note: TinyPedal now uses player-synced methods for reading shared memory.

 


v1.10.0 update - Sectors Widget & Improved shared memory accessing

15.sectors.png.33758fda08f1afe4f34c5f7b3029b73e.png

TinyPedal 1.10.0 (2022-12-09)
[New]Sectors Widget (created by Nibo)

  • Show accumulated target sector time, with two available options:
  • Show theoretical best sector time from best sectors of current session.
  • Show sector time from personal best laptime of current session.
  • Show accumulated current sector time.
  • Show sector/laptime gap comparing to sector time from personal best laptime of current session.
  • Default is set to show for 5 seconds after done previous sector.
  • Can be set to always show in config file.
  • Show theoretical best sector time of each sector on 3 separated sector bars.
  • Show sector time gap against session best sector time on sector bars.
  • Auto-freeze previous sector display for 5 seconds after done previous sector.
  • Freeze duration can be customized in config file.
  • Auto save "best laptime", "best sector time","personal best sector time" of current session
  • in config file when player returns to garage screen, and (re)load when player on track.
  • Note: All the saved data is only valid for current session or car/track combo,
  • and will be reset if current session ends or car/track combo changes,
  • similar to how game handles those data.
  • Show optional current vehicle speed & session fastest speed.
  • Show optional local driver position standing & current lap number, similar to Session Widget.

Gear Widget

  • Fixed indicators would not hide under certain condition.

Core

  • [New]Added Sectors options in setting file.
  • Improved laptime format method for various widgets.

pyRfactor2SharedMemory library

  • Now periodically check & compare shared memory data version.
  • Auto restart memory mapping if data version stopped updating after a period of time.
  • This helps avoid data freeze issue during various situation,
  • and unexpected lost connection or game crash will no longer cause auto-hide malfunction.

Misc

  • Updated customization guide with new configurable setting for Sectors Widget.
  • Updated feature.md for Sectors Widget.
  • Updated contributors.md with new contributor (Nibo).
Link to comment
Share on other sites

  • 1 month later...
  • 5 weeks later...

1.11.0 (2023-02-16) Major Update

1.thumb.jpg.22f2b63b9041340b1b8c0f4b77905d0b.jpg

This update adds 3 new widgets, many new stuff and frequently requested features, significantly optimized GUI with 50-60% less CPU usage.


General

  • Added "column_index" option for most widgets.
  • Added "text_padding" option for most widgets,
  • which sets text edge padding value that multiplies & scales with font_size.
  • This option affects how compact widget looks.
  • Default is 0.2 for most widgets.
  • Added individual font & background color options for most widgets.
  • Each info display can be individually disabled for most widgets.

[New]Brake Widget

  • Separated Brake temperature info from Temperature Widget to the new Brake Widget.
  • [New]Show average brake temperature of current lap that calculated in realtime.
  • [New]Highlighting average brake temperature from previous lap after crossing start/finish line.
  • Show/hide degree sign for maximum compact looking.
  • Added "leading_zero" and more options in JSON.

2.png.0feae411d37f0315879789bc8d749c66.png

 

Engine Widget

  • [New]Added horizontal layout.
  • [New]Added "turbo_pressure_unit" option (bar, psi, kPa) in JSON, default is bar.
  • [New]Added Fahrenheit unit for temperature display via "temp_unit" in JSON.

[New]Flag Widget

  • Separated flag, pit status, start lights info from Gear Widget to the new Flag Widget.
  • Show pit timer, and total amount time spent in pit after exit pit.
  • Show low fuel indicator when fuel level is below certain amount value.
  • Show speed limiter indicator.
  • Show yellow flag indicator of current & next sectors.
  • Show blue flag indicator with timer.
  • Show race start lights indicator with light frame number for standing-type start.
  • Show race start countdown timer for standing-type start.
  • Two layouts option (vertical & horizontal).

3.png.1187efa0311e2bd3c70ac4196346079d.png

 

Force Widget

  • [New]Added horizontal layout.

Fuel Widget

  • [New]Added "low_fuel_lap_threshold" option in JSON.

Gear Widget

  • [New]Added "neutral_warning_speed_threshold" option in JSON,
  • which sets speed threshold value for color warning
  • when gear is in neutral and vehicle speed is higher than the threshold.
  • Speed unit in meters per second. Default value is 28, which is close to 100 kph.
  • This option is helpful for situation where player mis-shifted gear into neutral at high speed.
  • Added "show_speed_limiter" option in JSON, which can be turned off.

5.png.6446cae1d60e6559dc890a69c0772b92.png

 

  • Instrument Widget
  • [New]Each instrument icon can be individually hide in JSON.

Pedal Widget

  • [New]Added "show_brake_pressure" option in JSON that
  • shows brake pressure changes applied on all wheels,
  • which auto scales with max brake pressure and
  • indicates amount brake released by ABS on all wheels.
  • This option is enabled by default, which replaces
  • game's filtered brake input that cannot show ABS.

6.png.94a01e1bfeec455bf2e26b63120b625d.png

 

Pressure Widget

  • [New]Show percentage brake pressure of each wheel.
  • Tyre load ratio is now calculated against sum of all wheels load.
  • Reworked layouts (vertical & horizontal).
  • [New]Added "show_caption" option in JSON.

7.png.320a249ccc12464bbc95d5ec8da23a8f.png

 

Relative Widget

  • Removes brackets from combined driver name if name is empty.

Sectors Widget

  • Removed unnecessary "show_best_sector_time" option,
  • always shows each best sector time if available.

Steering Widget

  • [New]Added "scale_mark_degree" option in JSON,
  • which set gap between each scale mark in degree.

Stint Widget

  • Removed "fuel_unit" option, now uses fuel unit setting from Fuel Widget instead.

[New]Suspension Widget

  • Separated Ride height & Rake angle info from Wheel Widget to the new Suspension Widget.
  • [New]"ride_height_offset" option is now available for all wheels.
  • [New]Separated warning color options as "warning_color_bottoming" for Ride height
  • and "warning_color_negative_rake" for Rake angle.
  • [New]Added "show_caption" option in JSON.

8.png.f7e51808149a1370645fe09d169b9771.png

 

Temperature Widget

  • [New]Added "ICO_mode" option which shows full tyre temperature display mode (inner/center/outer).
  • [New]Added "show_innerlayer" option which shows tyre inner layer temperature.
  • [New]Added "show_tyre_compound" option which shows tyre compound index letter (front/rear).
  • [New]Show/hide degree sign for maximum compact looking.
  • [New]Added "leading_zero" and more options in JSON.
  • Removed Brake temperature info.

9.png.dbe4f9beaf94f5bca057e7be1d81a01f.png

 

Timing Widget

  • [New]Show current session best laptime from all vehicle classes,
  • with additional option to show laptime from same vehicle class only (default ON).
  • [New]Each info prefix text can be customized or hide in JSON.
  • Removed double lines horizontal layout.

10.png.cf65460fa03f8afa6e5ce72324133419.png

 

Wear Widget

  • Adjusted options naming in JSON.
  • [New]Added "show_caption" option in JSON.

Weather Widget

  • Moved "Dry/Wet" label to wetness bar.
  • [New]Show/hide percentage sign for maximum compact looking.

11.png.a8704cd824dc1d17e2112913be1a01f0.png

 

Core

  • Optimized GUI update methods for all widgets with over 50% less CPU usage.
  • Auto sorts all options in JSON file according to default setting template
  • for better readability and consistency.
  • Add Linux instructions to README.md (by Bernat).
  • Improved various calculation.
  • Fixed setting loading errors.
  • Fixed a hanging problem if no widgets enabled while exiting APP.

pyRfactor2SharedMemory library

  • Fallback to mID matching if mIsPlayer fails to retrieve player index.
  • Add additional auto restart condition check for sharedmemory mapping.

Misc

  • Updated customization guide with new configurable options for each widget.
  • Updated feature.md.

 

1.11.1 (2023-02-20)
Core

  • Add delayed setting saving method that limits to one save operation for a given period.
  • Now verifies setting file after saving, and retries if errors found (3 attempts).
Link to comment
Share on other sites

  • 2 months later...

v1.12.0 - Hybrid & P2P Widget

a.png.4ef93c480da0fdb86c7ea2b7c5ed7fed.png

Known limitation:
1. The current P2P mechanism is that if player has pressed P2P activation button during P2P cool-down duration(5s for BTCC), the cool-down duration will be extended.
However the current game API does not output player's P2P activation button state, and when P2P enters cool-down duration, the available data from API can not tell whether player has pressed P2P activation button again, thus "P2P ready" color indicator would not match the actual P2P status in game under this situation.

2. After battery completely drained (0%), P2P can still be activated in game (and onboard dash screen will continue to count P2P activation time). However, when activate P2P at 0% battery, the game API data(motor state value) would always return "inactive" state, thus it is not possible for the widget to continue count P2P activation time.

Note:
The current P2P widget activation condition check options are set for BTCC, which are
15s max duration per lap, 5s cool down, minimum 3rd gear with over 120kph and positive throttle for activation. Those condition options can be customized in JSON file.

Link to comment
Share on other sites

v2.0.0 Major update

1.thumb.png.e2da3b88bc8c51b778856a69ac85360c.png

 

[New]Battery Widget   2.png.d955e833b8408e87da185e4fb226149f.png

 

[New]Brake bias Widget   3.png.f0b37877bd0697c0b7d7bdbec4f166cb.png

 

[New]Brake pressure Widget   4.png.77abb3375ec5975d05a9e7240242e318.png

 

 

Brake temperature Widget   5.png.807c0562963c1f053348902b90dffe16.png

 

Deltabest Widget   6.png.8cf257038884f40383e10a530d6903f3.png

 

Flag Widget   7.png.b0b783e1281dc6a781535abafc0a9d7a.png

 

Fuel Widget   8.png.881074cc1e3215dd7db43cf68cbf6307.png

 

Gear Widget   9.png.1522c6ca9da5c8e13d1c13656f8c2ba2.png

 

[New]Lap time history Widget   10.png.3dbbafbcea10c2aa6c39119795deea5f.png

 

Pedal Widget   11.png.a37dc5723cee16c73de578c9fb5d0e76.png

 

Radar Widget   12.png.c1829dcba3c04cd37328edbcd197dede.png

 

[New]Standings Widget   13.png.242d36626c2723996b186bcc34b931a7.png

 

Steering Widget   14.png.e030fa0ab62d1b459c71975ecb5caad5.png

 

 

[New]Track map Widget   15.png.89968b527ea7f2381c76de54329d959b.png

 

New widget control tab & config dialog: 

 17.png.d9a641da3adcef20a61d3dcfe16a1b04.png

 

And new "color text entry box" let you preview color changes directly   18.thumb.png.ac505e18f4cf7a03d729c736a8e395cf.png   

 

New module control tab & config dialog: 

 20.png.53e40dc16b7e740dec0411e2d58a1893.png

 

New preset tab & file operation context menu:

21.png.20dd28edfdc3af2d9f1920f20b405add.png

 

New global display units config dialog:

22.png.b21bb2e35a4fecbfbc2ac76e30af7ec3.png

 

Congratulations, svictor. The studio-397 must write you a check for 10,000 euros.

 

Link to comment
Share on other sites

v2.1.0 - Friction Circle Widget & Force Module

FrictionCircleForceModule.png.abd314154e2f661de61e72fbaba4c807.png

 

New customizable options:

1.png.e1de34a8012e43c4744dac611dbd27d3.png

 

2.1.0 (2023-05-22)
[New]Friction Circle Widget

  • Show longitudinal & lateral g force as friction circle with 2 orientation layouts.
  • Show longitudinal & lateral g force readings.
  • Show max longitudinal & lateral g force readings.
  • Show reference circle from max average lateral g force reading.
  • Show g force trace plot with customizable sample size, and line or points style.
  • Show center mark and up to 5 customizable reference circles.

Radar Widget

  • Fixed wrong outline drawing when set "vehicle_outline_width" to 0.

[New]Force Module

  • Provide vehicle g force and downforce data calculation for Force & Friction Circle Widget,
  • Add customizable options for g force calculation.

Misc

  • Add "Remember position" position to main window Config menu,
  • which auto saves & loads last window position.
  • Minimize main window to taskbar at startup
  • if both "minimize_to_tray" & "show_at_startup" are false.
  • Fixed an issue with config value validator under
  • certain system language locale setting.
  • Fixed widget windows not show on top on linux (thanks to srlemke for help & testing).
Link to comment
Share on other sites

  • 5 months later...

24.speedometer.jpg.305a91c5ee3c03d5b753a8d87bcd2a35.jpg

v2.2.0 (2023-10-27)

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.

 

25.TrailingWidget.png.ef153b43e94c39ba3900d95ec48ebe59.png

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).
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Forum Statistics

    939
    Total Topics
    15.2k
    Total Posts

Living Legends

mad_dog, the fastest sim driver in the world

PC Games for free

UNREAL.jpg.06a44fa7bc9a0e74a2fd28f90ad76a27.jpg

Top 5 PC games

×
×
  • Create New...