Page 1 of 1

Allow headless to be downloaded through steamcmd

Posted: Wed Jul 24, 2019 4:49 pm
by AreYouScared
I feel that for ease of updating headless versions of factorio especially on Linux the headless version should be pushed to steam to allow it to be downloaded through steamcmd. With the hosting panel a few of us use, pterodactyl, it currently scraps the headless page to get the latest, downloads it's and just unzips it on top of the current files, This can lead to issues, especially with migrations, and excess files. By using steamcmd it would automatically delete the extra files that are not needed in future updates.

Re: Allow headless to be downloaded through steamcmd

Posted: Thu Oct 10, 2019 1:52 am
by AreYouScared
Just going to bump this :)

Re: Allow headless to be downloaded through steamcmd

Posted: Sat Jun 18, 2022 7:40 am
by lord-boo
Still in 2022 no steamcmd version for linux? Hosting a bunch of gameservers for my streams and i would really like to hit that update_factorio_server.sh script which is waiting for an app id ;)

Re: Allow headless to be downloaded through steamcmd

Posted: Tue Jun 21, 2022 5:47 am
by ssilk
Maybe there is some background information needed, or because I’m a bit curious: I still don’t understand what’s the difference between downloading a zip from factorio.com and downloading a zip from steam.

Re: Allow headless to be downloaded through steamcmd

Posted: Tue Jun 21, 2022 7:47 am
by lyvgbfh
ssilk wrote:
Tue Jun 21, 2022 5:47 am
Maybe there is some background information needed, or because I’m a bit curious: I still don’t understand what’s the difference between downloading a zip from factorio.com and downloading a zip from steam.
Automatic, differential updates, without writing a solution yourself

Re: Allow headless to be downloaded through steamcmd

Posted: Wed Jun 22, 2022 12:27 am
by quyxkh
But the "writing a solution yourself" option is

Code: Select all

    git --work-tree=path/to/unzipped/download add .
    git commit-m $(git show :data/base/info.json | jq -r .version)
    git reset --hard
in the install dir after doing `git init; git add .; git commit -m asabove` once there.

Re: Allow headless to be downloaded through steamcmd

Posted: Wed Jun 22, 2022 1:54 am
by lyvgbfh
quyxkh wrote:
Wed Jun 22, 2022 12:27 am
But the "writing a solution yourself" option is

Code: Select all

    git --work-tree=path/to/unzipped/download add .
    git commit-m $(git show :data/base/info.json | jq -r .version)
    git reset --hard
in the install dir after doing `git init; git add .; git commit -m asabove` once there.
Doesn't pull from the server in a differential fashion, though.

Re: Allow headless to be downloaded through steamcmd

Posted: Wed Jun 22, 2022 8:55 am
by lord-boo
ssilk wrote:
Tue Jun 21, 2022 5:47 am
Maybe there is some background information needed, or because I’m a bit curious: I still don’t understand what’s the difference between downloading a zip from factorio.com and downloading a zip from steam.
I have a .sh file for every server i host via steamcmd like this...
./steamcmd.sh +force_install_dir satisfactory_server +login anonymous +app_update 1690800 -beta experimental validate +quit

It's really easy to use, its updating to stable or to experimental whatever i need, i don't need to find the path for the new version like a folder with /1.0.1.4/ and i don't need to do any stuff that was posted here which i have never heard of because i am no linux crack, i am just a user in this scenario :)

Re: Allow headless to be downloaded through steamcmd

Posted: Thu Jun 23, 2022 3:26 am
by ssilk
Understand now a bit better. The point here is eventually, that
i am just a user in this scenario :)
Is an argument that can be used against you. :) no offense.