Closed freghar closed 3 years ago
I have this in my config section of the script:
$modRepo = "main" $armaPath = "D:\steamgames\steamapps\common\Arma 3" $mainRepoPath = "F:\arma3-cnto-mods" $campaignRepoPath = "F:\arma3-cnto-mods-campaign" $devRepoPath = "F:\arma3-cnto-mods-dev" $numHC = 0 $useLatestCBA = "yes"
looking at RPT, it does mention the startup cmdline as
"D:\steamgames\steamapps\common\Arma 3\arma3server.exe" -port 2302 -noSplash -noLand -enableHT -hugePages -profiles=C:\Users\winuser\Desktop\arma-startup-scripts\configDir\profiles -filePatching -name=server -config=C:\Users\winuser\Desktop\arma-startup-scripts\configDir\server.cfg -cfg=C:\Users\winuser\Desktop\arma-startup-scripts\configDir\basic.cfg -mod="F:\arma3-cnto-mods\@3cb_factions,F:\arma3-cnto-mods\@3den_enhanced,F:\arma3-cnto-mods\@ace,F:\arma3-cnto-mods\@acex,F:\arma3-cnto-mods\@acre2,F:\arma3-cnto-mods\@aliabad,F:\arma3-cnto-mods\@anizay,F:\arma3-cnto-mods\@avon_fm12,F:\arma3-cnto-mods\@bwmod,F:\arma3-cnto-mods\@cba_a3,F:\arma3-cnto-mods\@cnto_additions,F:\arma3-cnto-mods\@cnto_assets,F:\arma3-cnto-mods\@cup_interiors,F:\arma3-cnto-mods\@cup_terrains_core,F:\arma3-cnto-mods\@cup_terrains_maps,F:\arma3-cnto-mods\@dui_squad_radar,F:\arma3-cnto-mods\@enhanced_movement,F:\arma3-cnto-mods\@enhanced_movement_rw,F:\arma3-cnto-mods\@fa18_super_hornet_beta,F:\arma3-cnto-mods\@fallujah,F:\arma3-cnto-mo
Looking at the table of actually loaded mods, there don't appear to be any:
15:39:59 name | modDir | default | official | origin | hash | hashShort | fullPath 15:39:59 ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- 15:39:59 @zombies_and_demons | @zombies_and_demons | false | false | NOT FOUND | | | 15:39:59 Arma 3 Art of War | aow | true | true | GAME DIR | df1a5e278548f08981972f16ba74869009ebea7e | e3d0ffe4 | D:\steamgames\steamapps\common\Arma 3\aow 15:39:59 Arma 3 Contact (Platform) | enoch | true | true | GAME DIR | bef7a9f753c6517aec763bb2d56da4a3f5d7e4ba | 9a3234c4 | D:\steamgames\steamapps\common\Arma 3\enoch 15:39:59 Arma 3 Tanks | tank | true | true | GAME DIR | eea1b47dd5d8efafa0f2ae15246a01b3af16ea12 | 5b0310f3 | D:\steamgames\steamapps\common\Arma 3\tank 15:39:59 Arma 3 Tac-Ops | tacops | true | true | GAME DIR | e3b31137bae61dc76a2d8fa44ecac4fd002ce54e | 8c502da8 | D:\steamgames\steamapps\common\Arma 3\tacops 15:39:59 Arma 3 Laws of War | orange | true | true | GAME DIR | 3380d88aa22efbb7f548e066da5fe7fa6c9a0264 | 701a048 | D:\steamgames\steamapps\common\Arma 3\orange 15:39:59 Arma 3 Malden | argo | true | true | GAME DIR | 92c06a94fc41aa72ab8c96bcbc90404b0179a584 | 28e9e690 | D:\steamgames\steamapps\common\Arma 3\argo 15:39:59 Arma 3 Jets | jets | true | true | GAME DIR | b172af4f973f835c6665c8b9129fe1720bf4a4fb | 2c2e433a | D:\steamgames\steamapps\common\Arma 3\jets 15:39:59 Arma 3 Apex | expansion | true | true | GAME DIR | c3033a9d168fb65852fd65eab0b5ffb524d34b54 | 79c7ca9e | D:\steamgames\steamapps\common\Arma 3\expansion 15:39:59 Arma 3 Marksmen | mark | true | true | GAME DIR | 9bd1c5f90dc51bcf38d3067c2a8fbb2662fbaded | 8e04fa6e | D:\steamgames\steamapps\common\Arma 3\mark 15:39:59 Arma 3 Helicopters | heli | true | true | GAME DIR | 6dfb5e0bd86b9f737ec24af6623b84b7b9d8b1d1 | 846c76aa | D:\steamgames\steamapps\common\Arma 3\heli 15:39:59 Arma 3 Karts | kart | true | true | GAME DIR | c30029d51b325b45aadd54e79d128917b306eeba | 878ce048 | D:\steamgames\steamapps\common\Arma 3\kart 15:39:59 Arma 3 Zeus | curator | true | true | GAME DIR | 71db0509bbe3f15303b5f5512c1dc22661e81d08 | e425ddf6 | D:\steamgames\steamapps\common\Arma 3\curator 15:39:59 Arma 3 | A3 | true | true | NOT FOUND | | | 15:39:59 ==========================================================================================================================================================================================================
Trying it with my old .bat script, it does seem to work.
.bat
The issue might be quoting only part of the argument (-mod="...) instead of the whole argument ("-mod=...") as my .bat does:
-mod="...
"-mod=..."
arma3server_x64.exe -port=2302 "-config=dedicated-config\server.cfg" "-cfg=dedicated-config\basic.cfg" "-profiles=dedicated-local-tmp" -name=server -noSplash -noLand -enableHT -hugePages "-mod=F:\arma3-cnto-mods\@3cb_factions;F:\arma3-cnto-mods\@3den_enhanced;F:\arma3-cnto-mods\@ace;F:\arma3-cnto-mods\@acex;F:\arma3-cnto-mods\@acre2;F:\arma3-cnto-mods\@aliabad;F:\arma3-cnto-mods\@anizay;F:\arma3-cnto-mods\@avon_fm12;F:\arma3-cnto-mods\@bwmod;F:\arma3-cnto-mods\@cba_a3;F:\arma3-cnto-mods\@cnto_additions;F:\arma3-cnto-mods\@cnto_assets;F:\arma3-cnto-mods\@cup_interiors;F:\arma3-cnto-mods\@cup_terrains_core;F:\arma3-cnto-mods\@cup_terrains_maps;F:\arma3-cnto-mods\@dui_squad_radar;F:\arma3-cnto-mods\@enhanced_movement;F:\arma3-cnto-mods\@enhanced_movement_rw;F:\arma3-cnto-mods\@fa18_super_hornet_2020;F:\arma3-cnto-mods\@fallujah;F:\arma3-cnto-mods\@fdf_podagorsk;F:\arma3-cnto-mods\@ffcamopack;F:\arma3-cnto-mods\@freghar_a3aa;F:\arma3-cnto-mods\@gcam;F:\arma3-cnto-mods\@grad_trenches;F:\arma3-cn
The issue was that mods in -mod= need to be separated by semicolons, not commas. Fixed in commit fa8dc9d
-mod=
I have this in my config section of the script:
looking at RPT, it does mention the startup cmdline as
Looking at the table of actually loaded mods, there don't appear to be any:
Trying it with my old
.bat
script, it does seem to work.The issue might be quoting only part of the argument (
-mod="...
) instead of the whole argument ("-mod=..."
) as my.bat
does: