Allow headless to be downloaded through steamcmd

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

Post Reply
AreYouScared
Long Handed Inserter
Long Handed Inserter
Posts: 87
Joined: Thu Mar 23, 2017 3:32 am
Contact:

Allow headless to be downloaded through steamcmd

Post 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.
Image

AreYouScared
Long Handed Inserter
Long Handed Inserter
Posts: 87
Joined: Thu Mar 23, 2017 3:32 am
Contact:

Re: Allow headless to be downloaded through steamcmd

Post by AreYouScared »

Just going to bump this :)
Image

lord-boo
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Jun 18, 2022 7:38 am
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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 ;)

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

lyvgbfh
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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

quyxkh
Smart Inserter
Smart Inserter
Posts: 1027
Joined: Sun May 08, 2016 9:01 am
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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.

lyvgbfh
Fast Inserter
Fast Inserter
Posts: 165
Joined: Fri Jul 10, 2020 6:48 pm
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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.

lord-boo
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Jun 18, 2022 7:38 am
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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 :)

User avatar
ssilk
Global Moderator
Global Moderator
Posts: 12888
Joined: Tue Apr 16, 2013 10:35 pm
Contact:

Re: Allow headless to be downloaded through steamcmd

Post 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.
Cool suggestion: Eatable MOUSE-pointers.
Have you used the Advanced Search today?
Need help, question? FAQ - Wiki - Forum help
I still like small signatures...

Post Reply

Return to “Ideas and Suggestions”