about summary refs log tree commit diff
path: root/pkgs/games/humblebundle/grim-fandango.nix
Commit message (Collapse)AuthorAgeFilesLines
* treewide: stdenv.lib -> pkgs.libProfpatsch2021-02-051-2/+2
| | | | Upstream is deprecating `stdenv.lib`, so let’s do the same.
* pkgs/games: Replace usages of mesa with libGLaszlig2018-04-211-2/+2
| | | | | | | | | | | | | This has been changed in NixOS/nixpkgs@6bf1421f13d667c2997b67728cf777c6, so let's change it here as well. Quote from the mentioned commit: Implement libGL as a symlink package which uses libraries from libglvnd and headers from Mesa (since ones from libglvnd are outdated). Signed-off-by: aszlig <aszlig@nix.build>
* games: Add DOTT and Grim Fandangoaszlig2017-07-281-0/+177
Both are the remastered versions available via Humble Bundle and both also needed a bit of patching via an LD preloader in order to work as intended. Day of the Tentacle conforms to XDG but it assumes that the data directory is in the same directory of the executable, so we fake /proc/self/exe to point to the "$out/share/dott/DUMMY". The "DUMMY" here is because the implementation does a dirname() on the directory. Grim Fandango on the other hand needs a bit more patching, so we first of all override the _first_ chdir() the game does to point to the data directory but we also override fopen64() and opendir() to use the XDG_DATA_HOME-based save directory whenever one of these calls point to "./Saves/..." because the data directory resides inside the store and thus is (of course) read-only. I had the expressions for these two games laying around for quite a while, so while merging another game from a PR I thought it would be a good opportinity to merge them as well. Signed-off-by: aszlig <aszlig@redmoonstudios.org>