Startup Parameters – Arma Reforger
Lou Montana (talk | contribs) (Fix logFPS → logStats) |
Poslovitch (talk | contribs) (→logStats: also logStats in the examples) |
||
Line 90: | Line 90: | ||
{{hl|-logStats}} allows to log performance statistics every (optionally) defined interval . | {{hl|-logStats}} allows to log performance statistics every (optionally) defined interval . | ||
;Example | ;Example | ||
: {{hl|ArmaReforgerServer.exe - | : {{hl|ArmaReforgerServer.exe -logStats}} - logs every seconds | ||
: {{hl|ArmaReforgerServer.exe - | : {{hl|ArmaReforgerServer.exe -logStats 10000}} - only logs every 10s | ||
;Result | ;Result | ||
: <code>FPS: 2514.2, frame time (avg: 0.4 ms, min: 0.3 ms, max: 8.8 ms), Mem: 2864890 kB, Player: 0, AI: 0, Veh: 0 (0), Proj (S: 0, M: 0, G: 0 | 0), RplItemsS: 1</code> | : <code>FPS: 2514.2, frame time (avg: 0.4 ms, min: 0.3 ms, max: 8.8 ms), Mem: 2864890 kB, Player: 0, AI: 0, Veh: 0 (0), Proj (S: 0, M: 0, G: 0 | 0), RplItemsS: 1</code> |
Revision as of 13:53, 19 May 2022
General
addons
-addons takes a list of mod IDs (specified in their gproj files, without brackets) to be loaded on game start, separated by a comma ,.
Mods are searched in profile
- Example
- ArmaReforger.exe -addons 88037E46AD234C72,88037E46AD234C73
addonsDir
-addonsDir specifies additional directories in which the game must look for mods to load, separated by a comma ,.
- Example
- ArmaReforger.exe -addonsDir D:
\DownloadedMods,Addons
noSplash
-noSplash skips splash screens on game load.
- Example
- ArmaReforger.exe -noSplash
Hosting
a2sIpAddress
-a2sIpAddress
- Example
- ArmaReforgerServer.exe -a2sIpAddress 192.168.1.10
a2sPort
-a2sPort
- Example
- ArmaReforgerServer.exe -a2sPort 7777
bindIP
-bindIP can be used to override both gameHostBindAddress and gameHostRegisterBindAddress values present in server config.
- Example
- ArmaReforgerServer.exe -bindIP 192.168.1.42
bindPort
-bindPort can be used to override both gameHostBindPort and gameHostRegisterBindPort values present in server config.
- Example
- ArmaReforgerServer.exe -bindPort 2302
config
-config is used by servers to point to a JSON server configuration.
- Example
- ArmaReforgerServer.exe -config myConfigFile.json
listScenarios
-listScenarios prints to game logs the scenario .conf file paths.
- Example
- ArmaReforgerServer.exe -listScenarios
- Result
- e.g
: -------------------------------------------------- : 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) : -------------------------------------------------- : Workshop scenarios (8 entries) : -------------------------------------------------- : {6EA2E454519E5869}Missions/CAH_Military_Base.conf : {7C491B1FCC0FF0E1}Missions/CAH_LeMoule.conf : {F1A1BEA67132113E}Missions/CAH_Castle.conf : {589945FB9FA7B97D}Missions/CAH_Concrete_Plant.conf : {2B4183DF23E88249}Missions/CAH_Morton.conf : {3F2E005F43DBD2F8}Missions/CAH_Briars_Coast.conf : {9405201CBD22A30C}Missions/CAH_Factory.conf : {1CD06B409C6FAE56}Missions/CAH_Forest.conf : --------------------------------------------------
logStats
-logStats allows to log performance statistics every (optionally) defined interval .
- Example
- ArmaReforgerServer.exe -logStats - logs every seconds
- ArmaReforgerServer.exe -logStats 10000 - only logs every 10s
- Result
FPS: 2514.2, frame time (avg: 0.4 ms, min: 0.3 ms, max: 8.8 ms), Mem: 2864890 kB, Player: 0, AI: 0, Veh: 0 (0), Proj (S: 0, M: 0, G: 0 | 0), RplItemsS: 1
maxFPS
-maxFPS sets max FPS limit - useful for a server, or to force a client's max FPS.
- Example
- ArmaReforgerServer.exe -maxFPS 30
Debug
logLevel
-logLevel allows for different log levels. Possible values range from normal (where everything is logged) to fatal (where only extreme issues are logged):
- normal
- warning
- error
- fatal
Example: ArmaReforger.exe -logLevel warning