Advertisement
Guest User

A3WTanoa_hmgt_start

a guest
Jun 15th, 2016
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 1.33 KB | None | 0 0
  1. @echo off
  2. echo Starting Arma 3 Server...
  3. title Arma 3 Server Start Script
  4.  
  5. REM CONFIG OPTIONS
  6. set server_executable=S:\Arma3\A3WTanoa\arma3server.exe
  7.  
  8. REM Set the processor affinity
  9. REM core :  value  :  hex
  10. REM   0  :    1    :   1
  11. REM   1  :    2    :   2
  12. REM   2  :    4    :   4
  13. REM   3  :    8    :   F
  14. REM   4  :    16   :  1F
  15. REM   5  :    32   :  3F
  16. REM   6  :    64   :  7F
  17. REM   7  :    128  :  FF
  18. REM
  19. REM Add up the values for the cores you want to use
  20. REM If you want to use all cores : FFFF (8 cores)
  21. REM And use that hexadecimal value for the affinity.
  22. REM I reccommend using windows calculator in programmer mode.
  23. set processor_affinity=33
  24. set process_priority=HIGH
  25. set port=2302
  26. set server_config_path=S:\Arma3\config\A3WTanoa\server_config.cfg
  27. set basic_config_path=S:\Arma3\config\A3WTanoa\basic_config.cfg
  28. set server_profile_folder=S:\Arma3\config\A3WTanoa\profiles\
  29. set server_bepath=S:\Arma3\config\A3WTanoa\profiles\BattlEye
  30.  
  31. set mods=
  32. set server_mods=@marma
  33. set additional_params=-enableHT -filePatching
  34.  
  35.  
  36. :start
  37. REM START THE SERVER
  38. 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