Skip to main content

CS2 Auto Replay Generator

The ARG module generates replays that can be displayed between rounds or at the end of a game. Please keep in mind that you need OBS or vMix for proper ARG configuration.

ARG with vMix

Requirements:

  • Latest version of vMix
  • 2 PCs in the same network
  • Access to 2 CS:GO's GOTVs - one live gotv (0 delay) and one delayed (7s delay)
  • Java installed on both PCs
warning

Make sure the clock on both devices shows exactly the same time, down to the second!

ARG with vMix (Automated)

On PC#1:

  1. Install vMix

  2. Start ARG. Select vMix, then select Yes, and follow the prompts

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

  1. Add your non delayed game source (your main view, probably as an NDI, after step 1 from PC#2).

CS2 ARG

  1. Copy Replayer ID to PC#2

On PC#2:

  1. Share non-delayed game footage with vMix Desktop Capture to PC#1

  2. Install LHM 4.6.0 or later

  3. Go to ARG tab and fill in ARG Replayer Code from PC#1 and connect

CS2 ARG

Now, on PC#1 game should be switching POVs to players doing the most important plays during the round.

ARG with vMix (Manual)

Requirements:

  • Latest version of vMix
  • 2 PCs in the same network
  • Access to 2 CS:GO's GOTVs - one live gotv (0 delay) and one delayed (7s delay)

On PC#1:

  1. Install Auto Replay Generator (latest) https://www.lhm.gg/download?target=arg
  2. Install vMix https://www.vmix.com/
  3. Start CS2 through the button in ARG, or launch it with parameters “-tools -netconport 2121”
  4. Connect to delayed CSTV

CS2 ARG

  1. In vMix, add CS2 as input, and set it to Output 2 (it will require restarting vMix)

CS2 ARG

CS2 ARG

  1. After vMix restart, add Instant Replay input and set Camera 1 to Output 2

CS2 ARG

  1. Copy ARG code to PC#2

CS2 ARG

  1. Add NDI input from PC#2 (after step 1 from PC#2)

CS2 ARG

On PC#2:

  1. Download vMix Desktop Capture, install and run it https://www.vmix.com/software/download.aspx
  2. Make sure your Lexogrine HUD Manager version is 4.6.0 or later https://github.com/lexogrine/hud-manager/releases
  3. Add all GSI and config files from the Settings tab

CS2 ARG

  1. Go to Auto Replay Generator tab and fill in ARG code from PC#1 and click connect

CS2 ARG

  1. Connect to CS2's live CSTV

CS2 ARG

Additional configuration for PC#2 (not required):

You can set before and after kill safeband time (in miliseconds). This will force ARG to show at least this amount of time around the kill. With the default values of 1500ms for both options, that means that ARG will switch to player no later than 1.5s before the kill, and will switch to the next no faster then 1.5s after the kill.

If you have ARG on dedicated PC, not on the one you are running game on, you can specify ip of the machine it’s running on in %appdata%/auto-replay-generator/config.json

ARG with OBS

warning

NDI Screen Sharing seems to work best on PCs, and to be a bit unstable on laptops, so using those is discouraged.

Automated Setup

On PC#1:

  1. Install NDI 5 Tools

  2. Install OBS, but have it closed for now

  3. Start ARG. Select OBS, then select Yes two times, and follow the prompts. If you will get "All plugins installed correctly" select Next and follow the prompts.

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

  1. After finishing the setup, please restart OBS and reconnect through ARG menu.

  2. Add your non delayed game source (your main view, probably as an NDI, from PC#2).

CS2 ARG

  1. Copy Replayer ID to PC#2 and

On PC#2:

  1. Install NDI 5 Tools

  2. Share non-delayed game footage with NDI Screen Capture to PC#1

CS2 ARG

CS2 ARG

CS2 ARG

  1. Install LHM 4.6.0 or later

  2. Go to ARG tab and fill in ARG Replayer Code from PC#1 and connect

Now, on PC#1 game should be switching POVs to players doing the most important plays during the round.

Manual Setup

On PC#1:

  1. Install NDI 5 Tools (https://ndi.video/tools/ndi-core-suite/)

  2. Install OBS

  3. Install those plugins:

Install those plugins by downloading the zip (not installer) and extracting them to the OBS installation path

To install this plugin, go to https://github.com/obs-ndi/obs-ndi/releases and select the latest applicable version, download exe installer, and run it.

  1. In OBS create new scene named "ARG_REPLAY_SCENE". It will be dedicated scene only for replay content.

CS2 ARG

  1. Inside ARG_REPLACE_SCENE create Media Source input named "ARG_INPUT_SCENE". Add "Directory watch media" filter to it.
  • Set "Directory" to "C:\Users\YOUR USERNAME\AppData\Roaming\auto-replay-generator\video"

  • Sort by "Modified newest"

  • Extension to "mkv"

CS2 ARG

CS2 ARG

CS2 ARG

CS2 ARG

  1. Add to other scene your delayed game source.

  2. Add "Source Record" filter to it. Set:

  • Record Mode to none

  • Path to "C:/Users/YOUR USERNAME/AppData/Roaming/auto-replay-generator/source"

  • Filename Formatting to "input"

  • Rec Format to "mkv"

  • Enable "Replay Buffer"

  • Duration to "120s"

CS2 ARG

  1. Important! Verify your encoder is correctly set and IS NOT set to Software!

  2. Go to Settings > Hotkeys, and find section named "Name of the delayed game input source - Source Record". Set it's hotkey to Ctrl Alt Z

CS2 ARG

  1. Go to Tools > WebSocket Server Settings. Enable WebSocket Server, set port to 4455, and set server password to something you can remember.

CS2 ARG

CS2 ARG

  1. Add your non delayed game source (your main view, probably as an NDI, from PC#2).

CS2 ARG

CS2 ARG

CS2 ARG

  1. Open ARG. Select OBS and "No" to question if you want automated setup.

  2. In the text input box type OBS password you selected before and click "Connect" button. Connection status should be changed to Online

CS2 ARG

  1. Copy Replayer ID to PC#2 and

On PC#2

  1. Install NDI 5 Tools

  2. Share non-delayed game footage with NDI to PC#1

CS2 ARG

  1. Install LHM 4.6.0 or later

  2. Go to ARG tab and fill in ARG Replayer Code from PC#1 and connect

Now, on PC#1 game should be switching POVs to players doing the most important plays during the round.