Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @echo off
- echo Starting Arma 3 Server...
- title Arma 3 Server Start Script
- REM CONFIG OPTIONS
- set server_executable=S:\Arma3\A3WTanoa\arma3server.exe
- REM Set the processor affinity
- REM core : value : hex
- REM 0 : 1 : 1
- REM 1 : 2 : 2
- REM 2 : 4 : 4
- REM 3 : 8 : F
- REM 4 : 16 : 1F
- REM 5 : 32 : 3F
- REM 6 : 64 : 7F
- REM 7 : 128 : FF
- REM
- REM Add up the values for the cores you want to use
- REM If you want to use all cores : FFFF (8 cores)
- REM And use that hexadecimal value for the affinity.
- REM I reccommend using windows calculator in programmer mode.
- set processor_affinity=33
- set process_priority=HIGH
- set port=2302
- set server_config_path=S:\Arma3\config\A3WTanoa\server_config.cfg
- set basic_config_path=S:\Arma3\config\A3WTanoa\basic_config.cfg
- set server_profile_folder=S:\Arma3\config\A3WTanoa\profiles\
- set server_bepath=S:\Arma3\config\A3WTanoa\profiles\BattlEye
- set mods=
- set server_mods=@marma
- set additional_params=-enableHT -filePatching
- :start
- REM START THE SERVER
- start "" /%process_priority% /affinity %processor_affinity% %server_executable% -port=%port% -config=%server_config_path% -cfg=%basic_config_path% -mod=%mods% -servermod=%server_mods% -profiles=%server_profile_folder% %additional_params% -bepath=%server_bepath%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement