However, in my manual tests on how the updating thing actually works I keep getting an error and I don't know why.
What I am doing is the following:
I have a clean test installation of Factorio (directly downloaded the ZIP from the website and extracted it).
I have also an update package that I downloaded from updater.factorio.com.
I am starting the update via the command line like this:
Code: Select all
D:\Factorio-Test\Factorio_0.14.19\bin\x64>factorio.exe --apply-update "D:\Factorio-Test\core-win64-0.14.19-0.14.20-update.zip"
The problem now is, that this does not work. The updater will start but after a while I just get an error.
Here is the complete console output:
Code: Select all
D:\Factorio-Test\Factorio_0.14.19\bin\x64> 0.000 2016-11-10 18:43:57; Factorio 0.14.19 (build 25291, win64, alpha)
0.000 Operating system: Windows 10 (version 1607)
0.000 Not rotating logs.
0.000 Program arguments: "factorio.exe" "--apply-update" "D:\Factorio-Test\core-win64-0.14.19-0.14.20-update.zip"
0.000 Read data path: D:/Factorio-Test/Factorio_0.14.19/data
0.000 Write data path: D:/Factorio-Test/Factorio_0.14.19
0.000 Binaries path: D:/Factorio-Test/Factorio_0.14.19/bin
0.010 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 32680MB]
0.010 Running in headless mode
0.012 Loading mod core 0.0.0 (data.lua)
0.016 Loading mod base 0.14.19 (data.lua)
0.086 Checksum for core: 1291735968
0.086 Checksum for mod base: 786624017
0.334 Info PlayerData.cpp:57: Local player-data.json unavailable
0.334 Info PlayerData.cpp:62: Cloud player-data.json unavailable
0.337 Custom inputs active: 0
0.348 Factorio initialised
1.009 Goodbye
Regards from the updater slave
0.000 2016-11-10 18:43:58; Factorio 0.14.19 (build 25291, win64, alpha)
0.000 Operating system: Windows 10 (version 1607)
0.000 Not rotating logs.
0.001 Info Updater-win32.cpp:130: Starting updater
0.001 Info Updater.cpp:388: Applying update D:\Factorio-Test\core-win64-0.14.19-0.14.20-update.zip
4.163 Info Updater-win32.cpp:141: Starting updated game
4.284 Goodbye
0.000 2016-11-10 18:44:02; Factorio 0.14.20 (build 25315, win64, alpha)
0.001 Operating system: Windows 10 (version 1607)
0.001 Program arguments: "D:\Factorio-Test\Factorio_0.14.19\bin\x64\factorio.exe" "--apply-update" "D:\Factorio-Test\core-win64-0.14.19-0.14.20-update.zip" "D:\Factorio-Test\Factorio_0.14.19\temp\instructions.json" "--autoupdate-finished" "--wait-to-close" "2208"
0.002 Read data path: D:/Factorio-Test/Factorio_0.14.19/data
0.002 Write data path: D:/Factorio-Test/Factorio_0.14.19
0.002 Binaries path: D:/Factorio-Test/Factorio_0.14.19/bin
0.012 System info: [CPU: Intel(R) Core(TM) i7-6700K CPU @ 4.00GHz, 8 cores, RAM: 32680MB]
0.012 Running in headless mode
0.015 Loading mod core 0.0.0 (data.lua)
0.018 Loading mod base 0.14.20 (data.lua)
0.089 Checksum for core: 1291735968
0.089 Checksum for mod base: 786624017
0.318 Info PlayerData.cpp:55: Local player-data.json available, timestamp 1478799838
0.319 Info PlayerData.cpp:62: Cloud player-data.json unavailable
0.322 Custom inputs active: 0
0.324 Factorio initialised
0.325 Error Util.cpp:57: copy_file(p1, p2, options): invalid arguments: operation not permitted
The game still appears to be updated if I restart it manually after that, but I can't have any error messages when automating this process.
I would be glad if anyone could point me into the rights direction.