about summary refs log tree commit diff
path: root/pkgs/games/gog/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-05 23:01:56 +0200
committeraszlig <aszlig@nix.build>2018-07-05 23:01:56 +0200
commit11bd13327b59ea2d81132f1881b65dcbe776f464 (patch)
treefa5d084ee6c0e1fdd74cea8b1092ded864454c87 /pkgs/games/gog/default.nix
parentf46b8b594e6fbe73b621b963d515014eb9d85134 (diff)
gomes/gog: Add Settlers 2 Gold edition using RTTR
This packages "Return to the Roots" along with the game data fetched
from GOG. So basically it's RTTR with a "RTTR_GAMEDIR" set to the files
extracted from the GOG version.

In reality it's a bit more involved as we need to patch a few things and
also make sure that the sounds are built via Nix rather to be generated
at runtime.

The RTTR standard procedure would be to just install RTTR and you put
your game data somewhere in /usr/share (or any other place you've
configured) and on first startup it's generating the SOUND.LST file.

We want all the games in Vuizvui to be completely dispensible so that
the persistent files are *only* in $XDG_DATA_HOME/settlers2, so I've
made sure that everything is baked in at *build* time instead.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/gog/default.nix')
-rw-r--r--pkgs/games/gog/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/games/gog/default.nix b/pkgs/games/gog/default.nix
index 38ebf489..eaf7e28a 100644
--- a/pkgs/games/gog/default.nix
+++ b/pkgs/games/gog/default.nix
@@ -16,6 +16,7 @@ let
     overload = callPackage ./overload.nix {};
     party-hard = callPackage ./party-hard.nix {};
     satellite-reign = callPackage ./satellite-reign.nix {};
+    settlers2 = callPackage ./settlers2.nix {};
     stardew-valley = callPackage ./stardew-valley.nix {};
     stardew-valley-beta = lib.lowPrio (callPackage ./stardew-valley.nix {
       beta = true;