about summary refs log tree commit diff
path: root/pkgs/games/gog/thimbleweed-park.nix
Commit message (Collapse)AuthorAgeFilesLines
* fetchGog: Default downloadName to "en3installer0"aszlig2020-06-231-2/+0
| | | | | | | | | | | | | Most of the games are using "en3installer0" as the downloadName, so it makes sense to use this as the default, since first of all do not support languages other than English except for a few games (eg. Albion) and second, there is no game with several installer packages to chose from (at least not on top of my head). Even if there would be, it would still be the exception rather than the rule, so let's optimise for the common scenario. Signed-off-by: aszlig <aszlig@nix.build>
* games/gog: Switch everything to gogUnpackHookaszlig2018-07-311-8/+5
| | | | | | | | | | | | | | | | | | For Albion, Settlers 2 and World of Xeen we need to explicitly add gogUnpackHook, because for those the derivation containing the game data is not created via our buildGame wrapper. Everything else is just done by removing unpackCmd and unzip from the package arguments. One exception is Thimbleweed Park, which relied on custom path for unzip in order to get the desktop icon, but with our now hook, we get that icon now in xdg-icon.png with a flat directory structure. I've tested this by building all the games from GOG that we have packaged here. However, I didn't test whether every single one actually runs. Signed-off-by: aszlig <aszlig@nix.build>
* thimbleweed-park: Add desktop itemaszlig2018-07-151-5/+19
| | | | | | | | | | The Ransome Unbeeped DLC doesn't have a data/noarch/support directory which we need for the icon so we need to change the unpack root to data/noarch. This shouldn't make the unpacking phase that much longer because the only additional files that get unpacked are small scripts and docs. Signed-off-by: aszlig <aszlig@nix.build>
* games/gog: Add Thimbleweed Parkaszlig2018-06-281-0/+55
This also supports the "Ransome Unbeeped" addon which should get rid of all the beeps from Ransome's voice tracks. I added this by default in the package, because in order to enable it you still either need to enable it every time you start the game or set "forceRansomeUnbeeped: 1" in "$XDG_DATA_HOME/Terrible Toybox/Thimbleweed Park/Prefs.json" to make it permanent. The packaging is pretty straightforward except a small preloader which changes the working directory to the shared data directory so the "ggpack" files can be found. From inspecting the binary this should also be doable by setting the THIMBLEENGINE_GAMEROOT environment variable, but I haven't tried yet. Signed-off-by: aszlig <aszlig@nix.build>