--start-server <savefile> works ok.
example
Code: Select all
factorio.exe --start-server-load-scenario scenario_name ...
It's not depending on contents of a scenario folder. Even it could be run with empty folder named "0test" under scenario folder when Factorio 1.0.
log
Code: Select all
0.002 2020-11-24 12:39:33; Factorio 1.1.0 (build 56997, win64, full)
0.002 Operating system: Windows 10 (version 2004)
0.003 Program arguments: ".\bin\x64\factorio.exe" "--port" "34300" "--start-server-load-scenario" "0test" "--map-gen-settings" ".\map-gen-settings.json" "--map-settings" ".\map-settings.json" "--server-settings" ".\server-settings.json"
0.003 Read data path: E:/Server/Factorio_1.1.0/data
0.003 Write data path: E:/Server/Factorio_1.1.0 [144063/202842MB]
0.003 Binaries path: E:/Server/Factorio_1.1.0/bin
0.012 System info: [CPU: ===CENSORED===
0.012 Running in headless mode
0.020 Loading mod core 0.0.0 (data.lua)
0.089 Loading mod base 1.1.0 (data.lua)
0.469 Loading mod base 1.1.0 (data-updates.lua)
0.653 Checksum for core: 1359792165
0.654 Checksum of base: 2334436397
0.858 Prototype list checksum: 1154245852
0.906 Info PlayerData.cpp:70: Local player-data.json available, timestamp 1606189161
0.906 Info PlayerData.cpp:77: Cloud player-data.json unavailable
0.910 Factorio initialised
0.913 Error CommandLineMultiplayer.cpp:346: Hosting multiplayer game failed: Key "negative_path_cache_delay_interval" not found in property tree at ROOT.path_finder
0.916 Info ServerMultiplayerManager.cpp:140: Quitting multiplayer connection.
0.916 Info ServerMultiplayerManager.cpp:783: updateTick(4294967295) changing state from(Ready) to(Closed)
0.958 Goodbye