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:
    112
    Likes Received:
    85
    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:
    67
    Likes Received:
    75
    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:
    26
    Likes Received:
    16
    Could you explain how to "rebroadcast the packets"?
     
  4. Theoloop

    Theoloop Active Member AMS2 Club Member

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

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    67
    Likes Received:
    75
    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:
    26
    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:
    6
    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:
    4
    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:
    112
    Likes Received:
    85
    Why no one use this tool to stream nice League Races from LFM, like a TV Stream? :(
     
    Last edited: Dec 16, 2024
  10. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    67
    Likes Received:
    75
    unfortunately it doesn't lend itself to the best looking stream. Because the controls have to remain on the screen.
    The AMS2/Pcars 2 style of needing director and broadcaster pairs for a good looking stream make this impossible while the UI for replay and directing is in its current form
     
  11. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    67
    Likes Received:
    75
    Most people using it are using it after the race on the replay file.
     
  12. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    6
    Likes Received:
    3
    What do you mean by "the controls have to remain on the screen"? I'm using it with the controls on a different screen than the game is on and it seems to work fine.
     
  13. Derty

    Derty New Member AMS2 Club Member

    Joined:
    Jun 20, 2023
    Messages:
    4
    Likes Received:
    0
    he means the in-game list of drivers on the left side of the screen and the replay/live controls at the top of the screen. If you try to close those in-game it will stop working.
     
  14. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    6
    Likes Received:
    3
    Would you have to time to explain what standings overlay and driver overlay you are using and how you got them connected to the game? Also, does it work in replay or live only?
     
  15. Ferrari312

    Ferrari312 New Member

    Joined:
    Jan 5, 2024
    Messages:
    6
    Likes Received:
    3
    Oh got it, thanks.
     
  16. RnageyRover

    RnageyRover Member AMS2 Club Member

    Joined:
    Aug 8, 2022
    Messages:
    67
    Likes Received:
    75
    Hi All,
    Linked is AMS2 Auto Director V1.2 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.It tracks the smallest gap and the rate of change, selecting those most likely to be racing to be in view.
    It now has customisable:
    • Race Position Bonus Factor
    • Pit Mode Penalty
    • Speed Penalty
    • Leader Cars Ahead Multiplier
    • Close Racing Max Gap

    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 to port 5607 and tell Auto director at startup that's what you have done.
     
    • Like Like x 4
    • Winner Winner x 1

Share This Page