From 72abbc69b13dcf40bac429147dc18a8b8c8bae7b Mon Sep 17 00:00:00 2001 From: aszlig Date: Sun, 1 Jul 2018 05:32:49 +0200 Subject: 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 --- pkgs/games/itch/default.nix | 1 + 1 file changed, 1 insertion(+) (limited to 'pkgs/games/itch/default.nix') 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 { -- cgit 1.4.1