From f96adee8203a4001c6d9f4e2522e3ba4b4cba6ff Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 1 Jul 2018 01:45:10 +0200 Subject: games/gog: Add Satelite Reign Another Unit3d game, so packaging is pretty straightforward but the save games and settings are in $XDG_DATA_HOME/SatelliteReign instead of the standard Unity3d directory ($XDG_CONFIG_HOME/unity3d). The standard Unity3d directory however is still used, but it only contains the player log file. Signed-off-by: aszlig --- pkgs/games/gog/satellite-reign.nix | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 pkgs/games/gog/satellite-reign.nix (limited to 'pkgs/games/gog/satellite-reign.nix') diff --git a/pkgs/games/gog/satellite-reign.nix b/pkgs/games/gog/satellite-reign.nix new file mode 100644 index 00000000..ec8c6db3 --- /dev/null +++ b/pkgs/games/gog/satellite-reign.nix @@ -0,0 +1,18 @@ +{ buildUnity, fetchGog, unzip }: + +buildUnity { + name = "satellite-reign"; + fullName = "SatelliteReignLinux"; + saveDir = "5 Lives Studios/SatelliteReign"; + version = "1.13.06"; + + src = fetchGog { + productId = 1428054996; + downloadName = "en3installer9"; + sha256 = "0wpkpqrcli2772g6l9yab38vbjh1by4cbpa397fqvhny247qdz5k"; + }; + + unpackCmd = "${unzip}/bin/unzip -qq \"$curSrc\" 'data/noarch/game/*' || :"; + + sandbox.paths.required = [ "$XDG_DATA_HOME/SatelliteReign" ]; +} -- cgit 1.4.1