diff options
author | aszlig <aszlig@nix.build> | 2018-06-25 22:52:24 +0200 |
---|---|---|
committer | aszlig <aszlig@nix.build> | 2018-06-28 03:42:03 +0200 |
commit | 4d55db84945f05cf9bff86354946dc70bb1af794 (patch) | |
tree | 8fcea094dda8e96cee3c1df6c18be6332c4de700 | |
parent | e04e151f0802d5d04b3370c6783b540cdaaf5044 (diff) |
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 <aszlig@nix.build>
-rw-r--r-- | pkgs/games/gog/default.nix | 1 | ||||
-rw-r--r-- | pkgs/games/gog/dungeons3.nix | 18 |
2 files changed, 19 insertions, 0 deletions
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/*' || :"; +} |