From 4d55db84945f05cf9bff86354946dc70bb1af794 Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 25 Jun 2018 22:52:24 +0200 Subject: games/gog: Add Dungeons 3 Unfortunately this game doesn't work on my machine, as I don't have support for OpenGL 4.3. However, the game at least gets to the loading screen, so it should work in theory. Signed-off-by: aszlig --- pkgs/games/gog/default.nix | 1 + pkgs/games/gog/dungeons3.nix | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 pkgs/games/gog/dungeons3.nix (limited to 'pkgs/games') diff --git a/pkgs/games/gog/default.nix b/pkgs/games/gog/default.nix index fe6f3157..73152880 100644 --- a/pkgs/games/gog/default.nix +++ b/pkgs/games/gog/default.nix @@ -12,6 +12,7 @@ let }; albion = callPackage_i686 ./albion { inherit (pkgs) buildSandbox; }; + dungeons3 = callPackage ./dungeons3.nix {}; overload = callPackage ./overload.nix {}; party-hard = callPackage ./party-hard.nix {}; stardew-valley = callPackage ./stardew-valley.nix {}; diff --git a/pkgs/games/gog/dungeons3.nix b/pkgs/games/gog/dungeons3.nix new file mode 100644 index 00000000..7d4c5a3d --- /dev/null +++ b/pkgs/games/gog/dungeons3.nix @@ -0,0 +1,18 @@ +{ buildUnity, fetchGog, unzip, mono }: + +buildUnity { + name = "dungeons3"; + fullName = "Dungeons3"; + saveDir = "Realmforge Studios GmbH/Dungeons 3"; + version = "1.4.4"; + + src = fetchGog { + productId = 1346232158; + downloadName = "en3installer0"; + sha256 = "1m4dvb91nfwxbgb76n8saznaaif053vb5wkdllb7imdbqqwlfsmy"; + }; + + buildInputs = [ mono ]; + + unpackCmd = "${unzip}/bin/unzip -qq \"$curSrc\" 'data/noarch/game/*' || :"; +} -- cgit 1.4.1