Windows Headless Server Autoupdater (I made it, I'm not asking for it)
Posted: Fri Apr 24, 2020 12:11 am
Wanted to share what I made for myself. There isn't a plug&play solution. A little setup legwork is required, so don't expect the ideal solution...this is the only solution I know of though, and I did hours of troubleshooting already.
It uses narc0tiq's python-based updater I found, and I made a batch file with lots of checks and balances to have it run autonomously when you've setup a task in Windows.
If you have python, you're already most of the way there.
Don't let the enormous readme intimidate you. I'm verbose and prefer to share all information so that others are informed. I'm no expert though.
Hopefully one other Windows user finds it handy, even though it's not as quick as unzip and run. It'll be great for taking care of my server I run to game with my nephews. I can not play for a week, miss updates, and it won't matter anymore.
https://drive.google.com/drive/folders/ ... LbBX1Is6cc
EDIT 2020-05-21
Latest has an adjustment since, as of 0.18.23 (I think), it seems to take more than 10 seconds for Factorio to close after updating (it used to be about 5 seconds). So, now, it'll just wait until it closes so that the server is restarted properly.
It uses narc0tiq's python-based updater I found, and I made a batch file with lots of checks and balances to have it run autonomously when you've setup a task in Windows.
If you have python, you're already most of the way there.
Don't let the enormous readme intimidate you. I'm verbose and prefer to share all information so that others are informed. I'm no expert though.
Hopefully one other Windows user finds it handy, even though it's not as quick as unzip and run. It'll be great for taking care of my server I run to game with my nephews. I can not play for a week, miss updates, and it won't matter anymore.
https://drive.google.com/drive/folders/ ... LbBX1Is6cc
EDIT 2020-05-21
Latest has an adjustment since, as of 0.18.23 (I think), it seems to take more than 10 seconds for Factorio to close after updating (it used to be about 5 seconds). So, now, it'll just wait until it closes so that the server is restarted properly.