about summary refs log tree commit diff
path: root/pkgs/games/humblebundle
Commit message (Collapse)AuthorAgeFilesLines
* pkgs/games: Add Starbound 1.0.5 from HumbleBundleaszlig2016-08-152-0/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | So far we only had the Steam version of Starbound, but since July 22nd 2016 version 1.0 got released and since then had a few bugfixes already. The Nix implementation here is based on the Steam version but has quite some improvements: Instead of wrapping the Starbound client and server with a shell script which sets up the bootconfig, we now use patchelf to override specific symbols from external libraries and thus can live without supplying a -bootconfig arg. By replacing the sbinit.config in the .rdata section of the binaries with a magic value (13 times the bell character) we can later match the magic value during open() and provide a default bootconfig using a temporary file. Note that it has to be a temporary file instead of fork() and writing to a pipe() because Starbound is using lseek() during parsing of JSON. With all this in place we now have everything Starbound related in $XDG_DATA_HOME/starbound, which is the main reason for doing the preloading in the first place. Starbound without patching expects a file called sbinit.config in the same directory as the executable and even if we'd supply a bootconfig via the -bootconfig arg, we can only have static paths in there, because Starbound doesn't do environment variable expansion within paths in the bootconfig. Another difference to the Steam packaging is that we now produce multiple outputs, the default one plus lib for the preload library and the assets in its own store path. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* pkgs/games/humblebundle: Add Brigadoraszlig2016-06-042-0/+104
| | | | | | | | | | | | Just tested it a bit but haven't really played it (and probably won't have time to during the next weeks). This is the version that got released on 2016-06-02 and it needs a small preload wrapper because it tries to load assets and other stuff relative to the current directory. The preloader makes sure that the correct store path is read instead. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* games/fetch-humble-bundle: Fix path to curlaszlig2016-06-041-1/+1
| | | | | | | Since the merge of the closure-size branch, the curl binary now is in a dedicated output ".bin". Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Merge aszlig/nixgames into vuizvuiaszlig2016-02-0815-0/+665
This is a subtree merge of the full nixgames repository including history. Right now it isn't linked to vuizvui at all but we're going to do that very soon. The reason why I'm merging both repositories together is that it's easier for me to manage updates and also facilitate contributions by people from the OpenLab. Another reason to merge it is that we can write more generic functions for building both, the games and the rest. Right now the licensing is still the Apache License version 2.0, but we're going to change it to the vuizvui license as well.