Skip to content

Instantly share code, notes, and snippets.

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

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

Select an option

Save nickludlam/d037196a0137b7a485a4d7531922130f to your computer and use it in GitHub Desktop.
Start a dev server on Windows for local mod testing
@echo off
:: 1. Path to the game Executable
set "SERVER_DIR=E:\SteamLibrary\steamapps\common\Arma Reforger Server\"
set "SERVER_EXE=%SERVER_DIR%\ArmaReforgerServer.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"
:: 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=EXDServerRules"
:: 5. Path to your server config
set "CONFIG_PATH=E:\ReforgerDev\basic_server_config.json"
:: --- EXECUTION ---
:: Move to the server directory first (Critical for Reforger pathing)
pushd "%SERVER_DIR%"
:: This seems to work, but clients timeout trying to connect
"%SERVER_EXE%" ^
-server "worlds/MP/CTI_Campaign_Arland.ent" ^
-MissionHeader "Missions/23_Campaign_Arland.conf" ^
-worldSystemsConfig "Configs/Systems/ConflictSystems.conf" ^
-addonsDir "%WORKBENCH_ADDONS%" ^
-addons "%MOD_NAME%" ^
-gproj "%WORKBENCH_ADDONS%\%MOD_NAME%\addon.gproj" ^
-noConfigValidate ^
-noBackend ^
-maxFPS 30
:: POP back to your original folder (E:\ReforgerDev)
popd
echo.
echo Server has shut down. Returning to original directory...
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment