Skip to content

Instantly share code, notes, and snippets.

@nickludlam
Created March 11, 2026 21:44
Show Gist options
  • Select an option

  • Save nickludlam/d337a1a43e82b604818e8c1e0c7a5445 to your computer and use it in GitHub Desktop.

Select an option

Save nickludlam/d337a1a43e82b604818e8c1e0c7a5445 to your computer and use it in GitHub Desktop.
Start a dev client to connect to a local server for mod testing
@echo off
:: 1. Path to the game (NOT the server)
set "GAME_ROOT=E:\SteamLibrary\steamapps\common\Arma Reforger"
set "GAME_EXE=%GAME_ROOT%\ArmaReforgerSteam.exe"
set "GAME_DATA=%GAME_ROOT%\addons"
:: 1. Path to the game Executable
set "SERVER_DIR=E:\SteamLibrary\steamapps\common\Arma Reforger Server\arma_reforger"
set "SERVER_EXE=%SERVER_DIR%\ArmaReforgerServerDiag.exe"
:: 2. Path to the Game Data (The core game folder)
set "GAME_ROOT=E:\SteamLibrary\steamapps\common\Arma Reforger"
set "GAME_DATA=%GAME_ROOT%\addons"
:: 2.5
set "BASE_GPROJ=E:/SteamLibrary/steamapps/common/Arma Reforger/addons/data/ArmaReforger.gproj"
set "MOD_GPROJ=%WORKBENCH_ADDONS%\%MOD_NAME%\addon.gproj"
:: 3. Path to your WORKBENCH addons folder
set "WORKBENCH_ADDONS=C:\Users\Nick Ludlam\Documents\My Games\ArmaReforgerWorkbench\addons"
:: 4. The specific folder name of your mod
set "MOD_NAME=EXD Server Rules"
:: Launch the client and auto-connect
"%GAME_EXE%" ^
-addonsDir "%WORKBENCH_ADDONS%" ^
-addonsDir "%GAME_DATA%" ^
-addons "%MOD_NAME%" ^
-gproj "%MOD_GPROJ%" ^
-client -rpl-reconnect -rpl-timeout-disable -profile PeerPlugin1 ^
-window -forceupdate -nofocus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment