Package Details: factorio 1.1.59-1

Git Clone URL: https://aur.archlinux.org/factorio.git (read-only, click to copy)
Package Base: factorio
Description: A 2D game about building and maintaining factories (stable branch).
Upstream URL: http://www.factorio.com/
Keywords: game
Licenses: custom: commercial
Conflicts: factorio-demo, factorio-experimental, factorio-headless
Submitter: duthils
Maintainer: tlercher
Last Packager: tlercher
Votes: 45
Popularity: 3.59
First Submitted: 2015-08-20 22:50 (UTC)
Last Updated: 2022-05-11 15:53 (UTC)

Latest Comments

tlercher commented on 2020-03-05 09:31 (UTC)

@E3LDDfrK: Pretty standard, most Arch installations should have it set. I will incorporate it with the next version update (with a fallback to '~/Downloads')

(PKGBUILDs usually check for the 'XDG_DOWNLOAD_DIR' Variable)

E3LDDfrK commented on 2020-03-03 00:35 (UTC)

How standard is https://wiki.archlinux.org/index.php/XDG_user_directories ? The PKGBUILD could perhaps check that instead of defaulting to ~/Downloads.

jetfrog28 commented on 2018-06-18 20:20 (UTC)

For those who bought Factorio on gog.com, you can use the serial number you get to register on the official website and download a proper tarball.

Moviuro commented on 2017-12-14 18:53 (UTC)

Hi,

I was thinking that maybe the whole download code could be exiled to a separate project: it adds the following benefits:

  • could be portable (to other distros, or even systems if written in POSIX sh)
  • can be used by all factorio* PKGBUILDs
  • would make the PKGBUILD of factorio* much lighter
  • safety: we get one package for downloads, and not a convoluted PKGBUILD that might change for reasons other than build procedure or version update

What do you think? I'd even do it in January if necessary.

Cheers

duthils commented on 2017-06-19 02:10 (UTC)

@mickael9: done. Thanks for the advice!

mickael9 commented on 2017-05-26 15:36 (UTC)

@duthils: can you add -r flag to the read calls in the PKGBUILD ? (mostly the one for the password, so that users can have passwords with backslashes) No need to bump pkgrel for this since it doesn't affect the built package. https://aur.archlinux.org/cgit/aur.git/commit/?h=factorio-experimental&id=1009a4e54f93b9fe8100e7fe2383478eef73b843

duthils commented on 2016-08-27 01:58 (UTC)

@mickael9: Awesome, that's a good idea! I merged your download script and I changed it a bit to make it clearer. Thanks again!

mickael9 commented on 2016-08-26 19:03 (UTC)

@duthils Sorry, I'm only seeing your reply now (or I already did and forgot about it :P) I modified my script so that it downloads the package if you don't provide anything (ie just press enter). See the factorio-experimental PKGBUILD: https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=factorio-experimental

duthils commented on 2016-06-29 21:20 (UTC)

That's very nice, thanks a lot! My only problem with this is that I think one question during installation is already one too many, so I'd like to avoid asking two questions in a row. What do you think about replacing the download question by entering "login" or "download" or "fetch" or whatever word when prompted for the file path?

mickael9 commented on 2016-06-29 20:44 (UTC)

I've made an improved version of this PKGBUILD that can login and download the game directly from the factorio website, feel free to use it if you like. https://gist.github.com/mickael9/448314d47bc72827a74335d58ac94ce0

duthils commented on 2016-05-14 01:17 (UTC)

Done :)

Arvedui commented on 2016-05-13 13:24 (UTC)

could you add $SRCDEST to the _pkgpaths_tries array?

duthils commented on 2016-04-14 00:32 (UTC)

Please note that this package is updated only for stable releases. For experimental releases, see https://aur.archlinux.org/packages/factorio-experimental.

dnf commented on 2016-03-08 19:35 (UTC)

Hi there, just informing that version 12.25 has nasty bug in campaign scenario, when your save games are corrupted. For details, see forum thread in factorio forums [1], where developers also says that in 12.26 this is fixed. [1] https://forums.factorio.com/viewtopic.php?f=11&t=20865

aligator commented on 2016-02-15 17:37 (UTC)

Sorry, it was my fault. I forgot to re-login... :-(

duthils commented on 2016-02-14 18:57 (UTC) (edited on 2016-02-14 18:57 (UTC) by duthils)

Yes, giving write access to only /usr/share/factorio, no subfolders, is enough for the scenario pack to create its own directory. I just tested it, and it works great. Are you a member of the games group? You can know that with: groups It should list "games" as one of the groups. If not: gpasswd -a $USER games Then logout/login.

aligator commented on 2016-02-14 18:06 (UTC) (edited on 2016-02-14 18:12 (UTC) by aligator)

the change you did changed only the permissions for /usr/share/factorio but not the subfolders: $ls -l /usr/share/factorio insgesamt 316 drwxrwxr-x 4 root games 4096 14. Feb 19:01 . drwxr-xr-x 350 root root 12288 14. Feb 19:03 .. drwxr-xr-x 9 root root 4096 14. Feb 19:01 base -rw-r--r-- 1 root root 295429 14. Feb 19:01 changelog.txt drwxr-xr-x 9 root root 4096 14. Feb 19:01 core and chgrp -R games /usr/share/factorio chmod -R g+w /usr/share/factorio is not enought. It still cannot create new files and folders: 15.518 Error Util.cpp:49: boost::filesystem::create_directory: Permission denied: "/usr/share/factorio/scenario-pack"

duthils commented on 2016-02-14 15:18 (UTC)

Ah. I do have access to the scenarios pack :) I updated the package to give write permission to the games group where needed. Thanks, I would not have realized that without your comment! I'm going to try them out right now :)

duthils commented on 2016-02-14 14:51 (UTC) (edited on 2016-02-14 14:52 (UTC) by duthils)

I don't have access to the scenario pack, so I can't test this. What you can do is: chgrp -R games /usr/share/factorio chmod -R g+w /usr/share/factorio This will give write access to the games group. If you're not a member of this group, you can: gpasswd -a $USER games Then logout/login and you should be alright. However, I won't include this in the package right now, because I'd like to restrict the permissions to the strict minimum. The procedure above will give write permission on the whole /usr/share/factorio directory, which should work, but feels too permissive. Do you have more precise information about what permissions you need to install the scenario pack? Can you run factorio from a console and see what errors you get when installing the scenario pack?

aligator commented on 2016-02-12 19:12 (UTC)

hi Any idea how tho support the installation of the scenario-pack? I get prompted about installing it, when starting factorio. But it cannot install it because of no root. And it wouldn't be good with pacman... And I can't get the scenario-pack-0.0.0-0.12.18-update.zip file, because after downloadin it removes it directly.