Arma Reforger

Arma Reforger

Not enough ratings
Arma Reforger install and config with steamcmd in windows
By [S.o.E]Ayente
-install steamcmd
-install arma reforger with steamcmd
-setup file and launch server
   
Award
Favorite
Favorited
Unfavorite
required
firewall rules:
UDP 2001 Game port
UDP 50000..65000 Steam communication ports
UDP 17777 Steam Query protocol used to provide Steam with server status (amount of players, scenario name, etc

steamcmd:
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip
install steamcmd and Arma Regorger server
install steamcmd
https://steamcdn-a.akamaihd.net/client/installer/steamcmd.zip

extract steamcmd.exe in D:\serveurs\Steam

launch steamcmd.exe

create file ArmaReforgerinstallorupdateserver.cmd

:: ArmaReforger install/update.cmd :: Code: @echo off :: DEFINE the following variables where applicable to your install SETLOCAL ENABLEDELAYEDEXPANSION SET STEAMLOGIN=Anonymous SET Reforger=D:\serveurs\ArmAReforger\ SET STEAMPATH=D:\serveurs\Steam SET APP=1874900 :: _________________________________________________________ echo. echo Update or install Arma Reforger echo Pv: %Reforger% echo Branch: %APP% echo. echo push "ENTER" for launch... pause %STEAMPATH%\steamcmd.exe +force_install_dir %Reforger% +login %STEAMLOGIN% +app_update "%APP%" validate +quit echo . echo Server Arma Reforger is Good echo push "ENTER" for exit... pause

setup server
: --------------------------------------------------
: Official scenarios (3 entries)
: --------------------------------------------------
{90F086877C27B6F6}Missions/99_Tutorial.conf (Tutorial)
{ECC61978EDCC2B5A}Missions/23_Campaign.conf (Conflict)
{59AD59368755F41A}Missions/21_GM_Eden.conf (Game Master - Everon)

location folder D:\server\armareforger
create folder ServerConfig

create exemple.json in this folder or other directory

exemple.json
{ "dedicatedServerId": "", "region": "EU-FR", "gameHostBindAddress": "ip adressipv4", "gameHostBindPort": 2001, "gameHostRegisterBindAddress": "ipadress ipv4", "gameHostRegisterPort": 2001, "game": { "name": "name server", "password": "password for join server", "scenarioId": "{ECC61978EDCC2B5A}Missions/23_Campaign.conf", "playerCountLimit": 32, "autoJoinable": false, "visible": true, "gameProperties": { "serverMaxViewDistance": 2500, "serverMinGrassDistance": 50, "networkViewDistance": 1000, "disableThirdPerson": true, "fastValidation": true, "battlEye": true, "missionHeader": { "m_iPlayerCount": 40, "m_eEditableGameFlags": 6, "m_eDefaultGameFlags": 6, "other": "values" } }, "mods": [ ] } }

create file for start server

startarmareforger.cmd

@echo off & setlocal enabledelayedexpansion echo. echo **************************************************************** echo STARTING SERVER Arma Reforger campaign************* echo **************************************************************** echo **************************************************************** echo ****************** START!!!!!!!!!!!!!!!******************* echo **************************************************************** echo **************************************************************** echo STARTING SERVER AND CLOSING THIS PROGRAM echo **************************************************************** cd D:\server\armaReforger start ArmaReforgerServer.exe -noSplash -logLevel normal -maxFPS 120 -config "D:/serveurs/armaReforger/ServerConfig/exemple.json" -profile ArmaReforgerServer exit


mod configuration optionnal
add mod in .json config file

mod id is in file .gproj

add mod in exemple.json
{ "dedicatedServerId": "", "region": "EU-FR", "gameHostBindAddress": "ip adressipv4", "gameHostBindPort": 2001, "gameHostRegisterBindAddress": "ipadress ipv4", "gameHostRegisterPort": 2001, "game": { "name": "name server", "password": "password for join server", "scenarioId": "{ECC61978EDCC2B5A}Missions/23_Campaign.conf", "playerCountLimit": 32, "autoJoinable": false, "visible": true, "gameProperties": { "serverMaxViewDistance": 2500, "serverMinGrassDistance": 50, "networkViewDistance": 1000, "disableThirdPerson": true, "fastValidation": true, "battlEye": true, "missionHeader": { "m_iPlayerCount": 40, "m_eEditableGameFlags": 6, "m_eDefaultGameFlags": 6, "other": "values" } }, "mods": [ { "modId": "mod id in file .gproj ", "name": "name of mod", "version": version of mod" } ] } }

add mod in start command

add folder "-addonsDir" for specific folder

exemple:
add in .cmd file for start server

"start ArmaReforgerServer.exe -addonsDir D:\DownloadedMods -noSplash -logLevel normal -maxFPS 120 -config "D:/serveurs/armaReforger/ServerConfig/exemple.json" -profile ArmaReforgerServer"

or

By default, the game looks into:

Documents/My Games/ArmaReforger/profile/addons

or

<executableDir>/addons

"-addons idmod"

exemple mod id is 5896589

-addons 5896589

exemple start line in .cmd
"start ArmaReforgerServer.exe -addons 5896589 -noSplash -logLevel normal -maxFPS 120 -config "D:/serveurs/armaReforger/ServerConfig/exemple.json" -profile ArmaReforgerServer"