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

Discussion in 'Other' started by svictor, Mar 14, 2022.

Tags:
  1. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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: Oct 19, 2024
  2. yashiman

    yashiman Registered

    Joined:
    Jan 16, 2012
    Messages:
    256
    Likes Received:
    930
    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.
     
  3. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    @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: Oct 19, 2024
    yashiman likes this.
  4. yashiman

    yashiman Registered

    Joined:
    Jan 16, 2012
    Messages:
    256
    Likes Received:
    930
    @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: Oct 19, 2024
  5. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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.
     
    yashiman likes this.
  6. kro388th

    kro388th Registered

    Joined:
    Jan 10, 2012
    Messages:
    711
    Likes Received:
    50
    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 ..
     
  7. emd86

    emd86 Registered

    Joined:
    Sep 28, 2024
    Messages:
    11
    Likes Received:
    0
    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
     
  8. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    @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
     
    ebeninca likes this.
  9. emd86

    emd86 Registered

    Joined:
    Sep 28, 2024
    Messages:
    11
    Likes Received:
    0
    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: Oct 23, 2024
  10. ebeninca

    ebeninca Registered

    Joined:
    Sep 7, 2016
    Messages:
    804
    Likes Received:
    568
    Last edited: Nov 5, 2024
    yashiman and Corti like this.
  11. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    Good idea, it could be possible, I'll add it to to-do list. I'm currently working on a few major new features, so other stuff may have to wait a bit.

    Cheers
     
  12. coasting&cruising

    coasting&cruising Registered

    Joined:
    Aug 16, 2021
    Messages:
    109
    Likes Received:
    48
    Hi @svictor, thank you for the great app.
    I have a suggestion: add an optional caption/display label to these widgets (to distinguish them): Ride height, Suspension position, tyre load.
     
    Hany Alsabti likes this.
  13. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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.

    [​IMG]

    [​IMG]

    [​IMG]

    [​IMG]

    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
     

    Attached Files:

  14. kro388th

    kro388th Registered

    Joined:
    Jan 10, 2012
    Messages:
    711
    Likes Received:
    50
    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!
     

    Attached Files:

  15. kro388th

    kro388th Registered

    Joined:
    Jan 10, 2012
    Messages:
    711
    Likes Received:
    50
    Never mind :oops:, I sorted it out .. I was in Spectate mode :eek::rolleyes:
     
  16. Alex96

    Alex96 Registered

    Joined:
    Dec 21, 2016
    Messages:
    99
    Likes Received:
    45
    It is incredible how much you have advanced in 1 month with this fantastic application. Thank you
     
    ebeninca likes this.
  17. PlanRZ

    PlanRZ Guest

    Joined:
    Aug 22, 2021
    Messages:
    824
    Likes Received:
    281
    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: Nov 17, 2024
    coasting&cruising likes this.
  18. sepi

    sepi Registered

    Joined:
    Jun 29, 2024
    Messages:
    19
    Likes Received:
    29
    @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.
     
    PlanRZ likes this.
  19. svictor

    svictor Registered

    Joined:
    Jan 20, 2019
    Messages:
    1,147
    Likes Received:
    7,431
    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:

    [​IMG]

    Cheers
     

    Attached Files:

    coasting&cruising and PlanRZ like this.
  20. PlanRZ

    PlanRZ Guest

    Joined:
    Aug 22, 2021
    Messages:
    824
    Likes Received:
    281
    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, ...
     

Share This Page