about summary refs log tree commit diff
path: root/pkgs/games/itch/default.nix
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2018-07-01 05:32:49 +0200
committeraszlig <aszlig@nix.build>2018-07-01 05:44:35 +0200
commit72abbc69b13dcf40bac429147dc18a8b8c8bae7b (patch)
treeca0a5b4a1f1eb10a2af4e4207d1e81fb0e095032 /pkgs/games/itch/default.nix
parentf96adee8203a4001c6d9f4e2522e3ba4b4cba6ff (diff)
games/itch: Add Towerfall Ascension
Packaging is a bit similar to what we had to do back then with Opus
Magnum (see commit 523dcef1f77251a4cfeb3428a0b13c0ec1d9c342) where some
game data files were tried to open in read-write mode.

I'm using the same patcher (which is using Mono.Cecil) that I have used
for Opus Magnum back then but I've cleaned it up a bit.

In the long term I'd try to make the patcher a bit more generic so that
it can be used for other Mono-based games, because opening game data
files in read-only mode seems to be fairly common among a few other
games I haven't fully packaged yet.

The game also tries to execute "xdg-open error_log.txt" in the event a
uncaught exception occurs, which then fails because no xdg-open is
available. So instead, I made a small dummy wrapper which just runs
"head" on the error.log instead.

Another thing which unfortunately is currently not working is the
editor, because it tries to create a directory ("Workshop") within the
game's content directory, which - again - doesn't work within the
read-only Nix store.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/games/itch/default.nix')
-rw-r--r--pkgs/games/itch/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/games/itch/default.nix b/pkgs/games/itch/default.nix
index 34ffc6ed..cae4b99f 100644
--- a/pkgs/games/itch/default.nix
+++ b/pkgs/games/itch/default.nix
@@ -12,6 +12,7 @@ let
     };
 
     invisigun-heroes = callPackage ./invisigun-heroes.nix {};
+    towerfall-ascension = callPackage ./towerfall-ascension.nix {};
   };
 in {
   options.itch.apiKey = lib.mkOption {