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

ok, were you running server also on your PC?
@DanRZ mentioned in this post that there may be conflict if running server and client at same time:
https://forum.studio-397.com/index....n-the-in-game-server-list.75925/#post-1146856

Another thing you can check is to clean Web UI cache, by deleting following 2 folders (in bold):
rFactor 2\Bin\Cache
rFactor 2\UserData\player\LocalStorage

As I suspect maybe there is something corrupted with Web UI stuff. After deleting, you could also try verify game integrity.

If still doesn't work, try backup userdata folder, and start a fresh one and see if it helps.

Also check if there is any firewall program that limits RF2's connection in some way.

If all those doesn't work, maybe you could check if it works on another PC (if you have one), or report this to bug forum.


One thing can be sure now is that, it is not an issue with tinypedal, but something not working in Rest API.
 
Last edited:
My server is not a client pc, but the server is connected to LAN.
I tried Cache and LocalStorage now, but can not change them.
Next I will try to verify game integrity and more.
 
My server is not a client pc, but the server is connected to LAN.
I tried Cache and LocalStorage now, but can not change them.
Next I will try to verify game integrity and more.
@yashiman I think I know why it doesn't work in Rest API now.

As I just tested, before starting game, I modified "MULTI RaceTimeScale" value in player.json to 7, then after launch game and joining official server, the SESSSET_race_timescale value from Rest API shows x7, despite the session is x1 scale.

This means that SESSSET_race_timescale value from Rest API is never synced with server side time-scale. So SESSSET_race_timescale value is probably useless and cannot sync with server time-scale in RF2.

It is not anything wrong with your RF2, you don't have to do any more testing.

For now you can manually change "MULTI RaceTimeScale" value in player.json to 1 to at least make it normal scale as default.

Thanks again for the help.

ps: I guess now we just have to accept that it is a game limitation that time-scale cannot be synced with server, unless developer would add something to API to allow sync server track clock time.
 
Last edited:
@svictor
I tried to delete the Userdata folder just now, but it was not needed. Oh can't stop! (joke) lol

Good finding it cause.I do not know the Rest API detail, but maybe I can solve by your suggestion.

Thanks a lot.:)

P.S.
I can change time scale ;)
 
Last edited:
No problem mate. One thing I wonder is that if SESSSET_race_timescale works in LMU, but so far I don't have the chance to test it . Interestingly there has not been any report about wrong track clock time, so I would only guess it maybe works. If any one finds track clock synchronization does (or doesn't) work in LMU, feel free to report back.
 
It does. When TinyPedal "spectate mode" enabled, you will need to find and click someone (on Spectate tab list) who is currently on track and driving (which is considered "active state" on), which then it will show all overlay just like you were driving. If the guy you spectate is in garage/UI screen (which is considered "active state" off), then overlay will not show or update data, same as how it works on local player.

If there is no one on track and driving, and you still wish to see overlay & data updating, you could do that by enabled "Enable Active State Override" option in "Shared memory API" Config dialog. This option will force "active state" on and display overlay & update data, even if game is not running.

However important to note that, when "Enable Active State Override" option enabled, some of the data may not be saved or updated correctly because those operations are done at the moment that "active state" is switched on and off.

For example, normally when user "ESC" back to garage, it will trigger "active state" off, which then triggers auto-hide, and saves all newly recorded temporary user data such as fuel delta, odometer distance, etc. And when user goes back on track, "active state" will be switched on, and trigger various important status check, such as "track/car combo" name and current session ID that is required to find and load matching data (delta, track map, etc).

If "active state" is always on, then those operations will never be triggered, and various data may not show correctly (though you can still manually trigger some of the operations by "Reload" preset). So it is always best to spectate someone who is driving instead of using "Enable Active State Override".

And must remember to disable "Enable Active State Override" option later on, otherwise the overlay won't work properly when you are driving.

We are trying to get the track map to show in OBS while broadcasting as spectator. Following what you said everything works however I cant figure out how to get it to show in OBS? I read this in the HELP FAC:

Q: How to capture overlay in OBS stream?
For windows platform, currently it is only possible to capture overlay by using Display Capture to capture entire screen in OBS.

Ok but when doing this I get a cascading view of the OBS work page & not the game screen .. lol (i don't know what I'm doing lol) any help on how to only show the track map in OBS on top of the stream/game capture?
Thanks ..
 
Hey there! Congrats for the app! It's excellent!
I have been using it with LMU and I have two issues..
I don't get any readings in the break wear widget, and the standings widget (only that) doesn't show at all.. when i turn it on it shows for a fraction of a second and it totally disappears..
Is there anything I can do? I'm not used to rf2 platform (switched to LMU directly from ACC) so it's the first time i'm using your app.
Many thanks again
 
@kro388th
Cascading is normal when using "display capture" mode, because "display capture" mode captures everything on your screen, including OBS window itself.

You just need to minimize OBS window after you have started streaming, and alt-tab to RF2 game (RF2 must be in borderless or windowed mode) to show RF2 on top of all other applications.


@emd86
1. Check whether "rFactor2SharedMemoryMapPlugin64" plug-in is installed and enabled in LMU.

2. Check whether all data modules are enabled in "Module" tab in main config window. For reference, "brake wear widget" requires RestAPI module and only works in LMU. "standings widget" requires "relative module" & "vehicles module". In general, there is no reason to disable any data modules.

Also note, brakes wear extremely slow, you will probably never see any (or zero) brake wear in an hour of driving.

If have further issue, please consider attach screenshots, that way it will be easier to identify issue.

Cheers
 
@emd86
1. Check whether "rFactor2SharedMemoryMapPlugin64" plug-in is installed and enabled in LMU.

2. Check whether all data modules are enabled in "Module" tab in main config window. For reference, "brake wear widget" requires RestAPI module and only works in LMU. "standings widget" requires "relative module" & "vehicles module". In general, there is no reason to disable any data modules.

Also note, brakes wear extremely slow, you will probably never see any (or zero) brake wear in an hour of driving.

If have further issue, please consider attach screenshots, that way it will be easier to identify issue.

Cheers

Ah yes, all the data modules are disabled (i didn't knew what they do :p)
I'll check it again and i'll tell you.

**edit: enabled all the modules and everything works great. Many thanks
 
Last edited:
2.20.0 release - New Pace Notes system, Track Notes Editor, Track Map Viewer
https://github.com/s-victor/TinyPedal/releases/tag/v2.20.0

This update adds one of the long-requested feature from community, the new TinyPedal Track & Pace Notes system is now available for both RF2 & LMU.

And in order to help players with track & pace notes creation, the brand new Track Notes Editor & Track Map Viewer were also extensively developed with various data to ease the creation process.

Further more, with the kind support and technical assistance from two legendary GPL modders Lee Bowden and Jim Pearson, the "GPL pace notes" system is now integrated in the new Track Notes Editor, which also allows player to create new pace notes for the 26 year old sim.

And with their kind permission, the original GPL Targa Florio and Isle of Man Mountain Course pace notes made by Lee and Jim are both ported to RF2. Pace notes file and details will be updated in Targa Florio & Isle of Man threads shortly.

index.php


index.php


index.php


index.php


Two example track notes files made for LMU's Sebring & Fuji can be found in attachment, which includes all corner & section names. Just place those files in TinyPedal\tracknotes folder and load up corresponding tracks in LMU, and corner names will be displayed in the new Track notes Widget.

See Changelog and User Guide for further usage info. Have fun making notes~

New entries in User Guide:
https://github.com/s-victor/TinyPedal/wiki/User-Guide#pace-notes
https://github.com/s-victor/TinyPedal/wiki/User-Guide#track-notes
https://github.com/s-victor/TinyPedal/wiki/User-Guide#compatibility
https://github.com/s-victor/TinyPedal/wiki/User-Guide#user-path

https://github.com/s-victor/TinyPedal/wiki/User-Guide#pace-notes-playback
https://github.com/s-victor/TinyPedal/wiki/User-Guide#track-map-viewer
https://github.com/s-victor/TinyPedal/wiki/User-Guide#track-notes-editor

https://github.com/s-victor/TinyPedal/wiki/User-Guide#cruise
https://github.com/s-victor/TinyPedal/wiki/User-Guide#pace-notes-1
https://github.com/s-victor/TinyPedal/wiki/User-Guide#track-notes-1
 

Attachments

Hi, I have the latest version now but I can't get my track map to update/load the current track. It simply shows the default oval .. I have done 3 sessions with over 10 laps each trying to get it to show .. all clean laps even going extremely slow as to not to have any offs. but it still won't show load the track map svg? The track is rF2 Fuji Speedway Katsuo v0.7. With the last build, it was working with the last track Interlagos only after 3 or 4 laps completed.. Thx for any help!
 

Attachments

Hi, I have the latest version now but I can't get my track map to update/load the current track. It simply shows the default oval .. I have done 3 sessions with over 10 laps each trying to get it to show .. all clean laps even going extremely slow as to not to have any offs. but it still won't show load the track map svg? The track is rF2 Fuji Speedway Katsuo v0.7. With the last build, it was working with the last track Interlagos only after 3 or 4 laps completed.. Thx for any help!
Never mind :oops:, I sorted it out .. I was in Spectate mode :eek::rolleyes:
 
What a great update again. Great work.
I just tested the track notes and it is really useful.

I think there is some improvement to make on Pits entry/exit to remove any proximity Notes
or i would suggest to show specific notes to Pits maybe on Entry and Exit with some "special" note linked to specific event.

The last Note stays permanently until next note.
There is no disappearing mecanism through delay or distance from point ?

Can you explain a little more how sound works in Pace Notes menu ?

Thanks again for that.
 
Last edited:
@svictor Hey buddy, this is fantastic. Now with Pace Notes and Pace Notes playback we can go flatout the beautiful targa florio and Isle Of Man. Your work is incredible. This tool is for a Sim-Oscar.
 
Thank you all for the kind supports and comments. All previous suggestions have been noted, I'll see what I can do.

@DanRZ
Good ideas, I will try add optional message time-out duration & fade out in next update.

About pit lane, it is possible. In earlier testing, I added some code to disable message message entirely while in pit lane, but it was not optimal so I removed it. There is not much can be done at track notes side though. It probably has to be an external option (such as predefined pit lane text) in Track Notes Widget to override message while you are in pit lane, which is going to be very similar to the one you see from Flag Widget. I can certainly add this option in next update.

Here is how TinyPedal notes system currently works:

index.php


Cheers
 

Attachments

Thanks for the graph.
We can "shadow" pits by using blanks notes on certain tracks.

Can you show an example of "sound file" from "pace note" ?

The text is the name ? Turn 1 > Turn_1.mp3 ?
Or all the data in one line in the tppn file ? Text, distance, comment, ...
 
Back
Top