1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Automobilista 2 Auto Director for Broadcasts

Discussion in 'Automobilista 2 - General Discussion' started by RnageyRover, Jun 24, 2023.

  1. Robert Gerke

    Robert Gerke Active Member AMS2 Club Member

    Joined:
    Mar 9, 2016
    Messages:
    108
    Likes Received:
    81
    Verry nice! I hope there will come more TV Cams from Reiza. :)
     
    • Agree Agree x 2
  2. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    63
    Likes Received:
    70
    Hi All,
    Linked is AMS2 Auto Director running in Python.
    Automobilista 2 Auto Director
    Also Link to Github: GitHub - RangeyRover/Automobilista-2-Auto-Director: An auto director for AMS2 in python using UDP or Shared memory
    There are limited keyboard commands available, Up, down, enter for drivers, u to change across to cameras, left right, enter for camera type. Thats it.
    Auto Director runs in Python monitoring AMS2 in UDP & Shared memory mode.
    In UDP mode it can give data in Spectator, Broadcast and Replay.
    In Shared memory it can give data in Replay and Director (untested)

    Auto Director has some basic rules.
    • Smallest gap is the most dominant
    • It also looks for Rate of change between cars

    To Install:
    • Run AMS2AutoDirector.exe
    To Operate:
    • Start AMS2
    • Run AMS2AutoDirector.exe
    • Be in Replay, Spectator or Broadcast mode
    • Select UDP or Shared memory.
    • Select UDP port if selected.
    • Enter Camera Dwell time.
    • Enter Race Position Bonus.
    • Start the race
    • Click driver 1 and leave the game in focus
    • Press Space
    • AMS2AutoDirector.exe will press the buttons for you.
    If you want overlays for your broadcast, run simhub in UDP mode and rebroadcast the packets
     
    Last edited: Aug 18, 2024
    • Like Like x 1
  3. Kaprych

    Kaprych New Member AMS2 Club Member

    Joined:
    Aug 14, 2023
    Messages:
    25
    Likes Received:
    16
    Could you explain how to "rebroadcast the packets"?
     
  4. Theoloop

    Theoloop Active Member AMS2 Club Member

    Joined:
    Oct 4, 2021
    Messages:
    221
    Likes Received:
    136
    Broadcast with the most recent version.
     
    • Like Like x 2
  5. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    63
    Likes Received:
    70
    Hi mate thats a simhub deal
    upload_2024-9-20_13-7-52.png
     
    • Like Like x 1
  6. Kaprych

    Kaprych New Member AMS2 Club Member

    Joined:
    Aug 14, 2023
    Messages:
    25
    Likes Received:
    16
    Ip address must be same as my PC or it can stay 127.0.0.1?
    Because I understand that for example - if I want to have telemetry from SimHub for dashboard, this stays 5606, but for ARD I have to change UDP to 5607 within AutoRaceDirector, is that correct?
    Also, overlays that people are showing, how can I create them so Auto Race Director will be clicking them instead of the ones that are in AMS2? Or is it impossible and I have to create overlay for OBS that would be on top of in-game overlays?

    Thanks!
     
  7. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    3
    Likes Received:
    3
    Just tried this with v1.6 and I'm happy to report it works fine :).
     
    • Like Like x 2
  8. Derty

    Derty New Member AMS2 Club Member

    Joined:
    Jun 20, 2023
    Messages:
    3
    Likes Received:
    0
    This is a fantastic application. I have a feature request. Could you add an option to make it ignore any AI cars? Or make it possible to weight them less than actual player cars?

    Thanks
     
    Last edited: Dec 12, 2024
  9. Robert Gerke

    Robert Gerke Active Member AMS2 Club Member

    Joined:
    Mar 9, 2016
    Messages:
    108
    Likes Received:
    81
    Why no one use this tool to stream nice League Races from LFM, like a TV Stream? :(
     
    Last edited: Dec 16, 2024 at 7:29 PM

Share This Page