celestegame: init at 1.4.0.0{,+everest.5184} #371078
Draft
+1,609
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Celeste, a 2D platformer game about climing a mountain.
One needs to obtain the source by purchasing and downloading from itch.io, which is a zip file that contains the installation dir structure at top level. Alternatively, you can use
overrideSrc
to override it, in case the source you got is different from that from itch.io in terms of hash but can just work fine anyway (e.g. ripped from CD, removing DRM from the Steam version, pirated copy, etc).Install with Everest (the mod loader) by overriding
everest
, which is expected to be a derivation. You can usecelestegame.passthru.everest
orcelestegame.passthru.everest-bin
. The bin package is there because I failed to package from source at first. It will be deleted if there is no good reason to keep it. Currently the source of the bin package is from the Azure pipeline build of my PR to the upstream, which is only kept for 10 days.Installing mods requires putting them (zip files) in the
Mods
dir in the game installation dir, which is read-only. To work around this, one needs to override thewritableDir
argument to provide a writable path. All things in the game installation dir that needs writability are symlinked to the path provided bywritableDir
.One can manage mods using Olympus by adding the game installation path as a game installation in Olympus. If Olympus is installed by using the one packaged in #309327, it can launch manage mods just fine with this installation. However, because the install path is in nix store and subject to frequent change, one has to often update the path in Olympus. For convenience, one can override the
gameDir
argument to make it automatically symlinked to the new installation when the new one launches.Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.