BeamProfiler

Discussion in 'Utilities and programming' started by daniel-w, Aug 2, 2023.

  1. daniel-w

    daniel-w
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 28, 2017
    Messages:
    284
    I've spent a few hours working on a realtime monitor for BeamNG, it's not much right now but I hope to expand it further in the future.

    Some of the things I wish to do:
    • Ability to record and go back to snapshots
    • Move the rendering code to Lua so it's easily customisable (easily add something in the game's Lua and then add it to the profiler as well).
    The code can do with a bit of cleanup, but I wanted to get it on Github quickly before it corrupts again (interface.cc got corrupted when windows crashed, had to use the last debug symbols and IDA to put it back together)

    https://github.com/vulcan-dev/beamprofiler
     

    Attached Files:

    • upload_2023-8-1_23-32-25.png
  2. daniel-w

    daniel-w
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 28, 2017
    Messages:
    284
    Released another update yesterday, fixed a bug where you could get a white screen and you can also change the IP & Port now, same in-game.
    Added an icon as well, even though it looks horrible

    upload_2023-8-2_23-28-8.png
     
  3. tdev

    tdev
    Expand Collapse
    Developer
    BeamNG Team

    Joined:
    Aug 3, 2012
    Messages:
    3,085
    Looks like a nice tool! :)
     
    • Like Like x 1
  4. daniel-w

    daniel-w
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 28, 2017
    Messages:
    284
    Thanks, I just like watching it on my other monitor whilst driving. It's very satisfying for some reason
     
  5. JlnPrssnr

    JlnPrssnr
    Expand Collapse

    Joined:
    Jun 15, 2016
    Messages:
    434
    Very interesting! Can you also plot steering input vs tire grip, to spot under/oversteer?
     
  6. daniel-w

    daniel-w
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 28, 2017
    Messages:
    284
    I wanted to do that as well, maybe I'll get around to it at some point
     
    • Like Like x 1
  7. daniel-w

    daniel-w
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 28, 2017
    Messages:
    284
    Just a little update for those who are curious (total of 0 people), I'm porting this project to Odin.
    I started to refactor it in C++, and it was going quite well. But Odin is a pretty nice language, and has some really neat little features :)

    Might be a bit slow because of work, but feel free to give me some suggestions (for the 0 people that care)
     
    • Like Like x 1
  8. daniel-w

    daniel-w
    Expand Collapse
    BeamNG Team

    Joined:
    Jan 28, 2017
    Messages:
    284
    upload_2024-5-3_20-42-54.png
    A bit of progress. Got it communicating to/from game and app, finally got the UI in. Still new to Odin, so learning it as I go.
    Time to do some good ol' threading
    --- Post updated ---
    Added the ability to change all unit types which is quite useful upload_2024-5-3_23-4-39.png
     
    • Like Like x 3
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice