Package Details: liberation-circuit 1.3-1

Git Clone URL: https://aur.archlinux.org/liberation-circuit.git (read-only)
Package Base: liberation-circuit
Description: A real-time strategy/programming game
Upstream URL: https://github.com/linleyh/liberation-circuit
Keywords: game
Licenses: GPL3
Submitter: buckket
Maintainer: buckket
Last Packager: buckket
Votes: 1
Popularity: 0.000002
First Submitted: 2016-08-10 14:06
Last Updated: 2017-04-25 13:48

Latest Comments

cyrant commented on 2018-10-08 10:50

@linley Packager can't apply your fix without support of environment variables (like $HOME). So: 1) it takes manual user intervention after package installation; 2) user must have root privilegies to write to the file; 3) only one user per system can save the game.

cyrant commented on 2018-10-08 10:32

@buckket There is a very easy workaround with my patch (~30LoC):

source+=("multi-user.patch::https://github.com/linleyh/liberation-circuit/commit/ec695d633945c55b8115f4708576a96249589c52.patch")
sha256sums+=('c2a3c7696f3f6d66ca34900a2f3e30ad59e9bece0e2432db172facdaa9a52546')
prepare() {
  # Patch: move savefile location to "$HOME/.local/share/linleyh/libcirc/msn.dat"
  git apply "${srcdir}/multi-user.patch"
}

linley commented on 2017-04-06 11:37

The latest version (1.2) has a run-time fix for this - you can specify an alternative path and file name for the msn.dat file by editing the init.txt file.

buckket commented on 2017-03-25 14:16

@StevenGeens:
Yes, this is an upstream problem and there’s no easy way to work around it when packaging the game, but as far as I can tell it seems like the dev is working on it: https://github.com/linleyh/liberation-circuit/issues/26

StevenGeens commented on 2017-03-24 22:39

After installing I ran into the following problem that I couldn't save my progress between missions.

Error message:
Failed to save mission status to msn.dat: couldn't open file.

Apparently it tries to write that file in:
/usr/share/games/liberation-circuit

(Running with sudo can solve this problem, but well... yeah.)