Skip to content

Setting up OBS

Nicholas Bottone edited this page May 5, 2023 · 4 revisions
  1. Open OBS. Under Tools > Scripts, click the plus icon to add a Lua script. Browse and select "SimSync.lua".

  2. Configure the script settings depending on how many servers you plan on using for your competition. Browse to select the directories that the game uses to output score data.

  • Use /SET OUTPUT_SCORE_FILES=<directory> as a spectator to set game output score files.Set your xRC Sim game instance to output data files to either the "Data1" or "Data2" subdirectories inside the same directory as the root of this repository.
  1. Create and rearrange GDI+ text sources in your OBS scenes to display live game information. The text sources must match the exact naming conventions of the script.
  • Text Source Naming Conventions for Sim Data 1:
    • "Match Timer", "Red Score", "Blue Score", "Red Penalty Points", "Blue Penalty Points", "Red Auto Points", "Blue Auto Points", "Red Teleop Points", "Blue Teleop Points", "Red Endgame Points", "Blue Endgame Points", "Red Game Pieces", "Blue Game Pieces", "Red-OPR", "Blue-OPR", "Red RP", "Blue RP", "Red Result", "Blue Result", "Red Links", "Blue Links", "OPR"
  • For Sim Data 2-4, simply append a space and the number to the name of the text source.
    • For example for Sim Data 2, a text source should be named "Match Timer 2".
  1. Create and rearrange GDI+ text sources for tournament data to be displayed (such as match number). For each statistic you are interested in, create a new text source, enable the "Read from file" option in its properties, and browse to link it with the associated TXT file in the folder "TourneyData".
Clone this wiki locally