Package Details: factorio-headless 1.1.107-1

Git Clone URL: https://aur.archlinux.org/factorio-headless.git (read-only, click to copy)
Package Base: factorio-headless
Description: A 2D game about building and maintaining factories - Server version (stable branch)
Upstream URL: http://www.factorio.com/
Keywords: game
Licenses: custom: commercial
Conflicts: factorio, factorio-demo, factorio-experimental, factorio-headless-experimental
Submitter: duthils
Maintainer: mxmeinhold
Last Packager: mxmeinhold
Votes: 18
Popularity: 0.117242
First Submitted: 2015-12-08 23:26 (UTC)
Last Updated: 2024-04-18 22:20 (UTC)

Pinned Comments

mickael9 commented on 2017-07-28 00:21 (UTC)

With the upgrade to 0.15, I changed the default save file location and how it is set in /etc/conf.d/factorio (to match with the factorio-headless-experimental package) Before: SAVE_FILE=/var/lib/factorio/.factorio/saves/factorio-service-save.zip After: SAVE_NAME=factorio-service-save This will put the save file in /var/lib/factorio/factorio-service-save.zip The old factorio-service-save.zip file will be automatically copied to the new location upon upgrading (unless it already exists for some reason...). If you haven't changed /etc/conf.d/factorio, you shouldn't need to do anything. If you have modified /etc/conf.d/factorio, you'll have to set the SAVE_NAME correctly (the install script should give you a sensible value based on your previous SAVE_FILE value). In all cases, the old 0.14 default save will stay in .factorio/saves/factorio-service-save.zip Please also note that the factorio service will automatically be stopped when doing the upgrade to make sure it's copying an up-to-date save file.

Latest Comments

1 2 3 Next › Last »

KiralyCraft commented on 2023-04-13 10:38 (UTC)

I've made some changes to the PKGBUILD such that the version is fixed automatically, and it becomes a "rolling" version, instead of having to update it manually:

6,7c6,7
< pkgname=factorio-headless
< pkgver=1.1.76
---
> pkgname=factorio-stable-headless
> pkgver=1.1.80
13a14
> makedepends=('jq' 'curl')
21d21
< 
26c26
<         factorio_headless_x64_${pkgver}.tar.xz::http://www.factorio.com/get-download/${pkgver}/headless/linux64
---
>         http://www.factorio.com/get-download/stable/headless/linux64
33c33,37
<             '24bd61cc3aafe2041eb12b91e4f49d784ff6e36083e365d1e6320a34b636bda7')
---
>             SKIP)
> 
> pkgver() {
>   curl -s https://factorio.com/api/latest-releases | jq -r ".stable.headless"
> }

mxmeinhold commented on 2022-11-22 06:38 (UTC)

This package tracks the stable release. Factorio has consistently been releasing experimental ahead of stable for significant periods of time since 1.0. Please don't flag this out of date if it's not actually out of date. Current stable is 1.1.70.

rperce commented on 2021-10-13 15:46 (UTC)

1.1.42 just released; this PKGBUILD diff successfully updated the package for me:

7c7
< pkgver=1.1.41
---
> pkgver=1.1.42
33c33
<             '824cd413ed056e4a28dbce76f743961d42e5aef87b385e27a9c57f1e924a9a5e')
---
>             '42909906a258dcd538148258dcb0ee9e03ca063851d3d8ca03d17126993b41d0')

mxmeinhold commented on 2021-09-23 02:30 (UTC)

I mistook 1.1.40 as stable and only noticed my mistake after I'd pushed changes. I've bumped pkgrel and brought this package back to 1.1.39 (which is still the stable).

mxmeinhold commented on 2020-12-05 16:30 (UTC)

@xiretza Sorry about that, should be fixed now.

xiretza commented on 2020-12-05 10:31 (UTC)

The upgrade to 1.0.0 changed LICENSE, but the sha256sums weren't updated accordingly, causing the build to fail.

edjopato commented on 2018-04-09 14:02 (UTC) (edited on 2018-04-09 14:02 (UTC) by edjopato)

I would like to see --start-server-load-latest instead of --start-server '${SAVE_NAME}.zip': The service is automatically restarting on crash so with the load latest command it would automatically load the latest save. The current savegame should be placed then in the saves folder?

If the service is started the first time, it would generate the save and then load it. And also I assume there is only one save and autosaves there, not multiple games since its a headless server made for one purpose?

Correct me if I'm wrong :)

Also it would be nice to see the server-banlist.json and server-whitelist.json also in /etc/factorio where all of the settings files are located. (And initialize the banlist with an empty json array?)

netmonger commented on 2018-04-04 19:19 (UTC)

Looks good now, thank you for the quick fix. An update fixed my file permissions too.

mickael9 commented on 2018-04-04 11:57 (UTC)

@netmonger Thanks for the report, this should be fixed now. You might want to set the file mode back to 600 if it contains credentials

netmonger commented on 2018-04-04 11:10 (UTC)

After upgrading from 0.15 to 0.16 I am getting the following error:

Apr 03 20:29:52 factorio[13646]: 0.000 Error Util.cpp:49: Error when opening /etc/factorio/server-settings.json for reading: Permission denied

I got the server to finally launch after changing the perms from 600 to 644 for server-settings.json. However, I am not sure if that is the correct solution since the file can contain sensitive data.