Git Product home page Git Product logo

nixpkgs-cdda-mods's Introduction

Nixpkgs overlay for Cataclysm: DDA mods, soundpacks, and tilesets

Cataclysm: Dark Days Ahead can be played with numerous mods, soundpacks, and tilesets. Currently, most of them are not yet provided in the official nixpkgs.

This nixpkgs overlay is an attempt to improve the situation; it provides extra mods, soundpacks, and tilesets not available in nixpkgs. It also provides derivations for the recent experimental builds, making it easier to try the bleeding edge of Cataclysm: DDA.

Installation

See the manual to install nixpkgs overlays in general. You can install this overlay under your ~/.config/nixpkgs for example:

cd $SOMEWHERE
git clone https://github.com/mnacamura/nixpkgs-cdda-mods.git
cd ~/.config/nixpkgs/overlays
ln -s $SOMEWHERE/nixpkgs-cdda-mods

After that, mods, soundpacks, and tilesets defined in the overlay will be visible in cataclysmDDA.pkgs.

If you'd like to use the overlay without polluting your environment, you can do something like this:

let
  nixpkgs-cdda-mods = builtins.fetchTarball {
    url = "https://github.com/mnacamura/nixpkgs-cdda-mods/archive/master.tar.gz";
  };
in

with import <nixpkgs> {
  overlays = [ (import nixpkgs-cdda-mods) ];
};

...

Usage

You can install Cataclysm: DDA with mods as explained in the manual. Example:

let
  inherit (cataclysmDDA) attachPkgs git pkgs;

  # `attachPkgs` is required after you applied `override` or `overrideAttrs`
  # to your C:DDA derivation. It fixes some incorrect attributes remaining
  # after overrides.
  myCDDA = attachPkgs pkgs (((git.tiles.override {
    version = "2020-11-03";
    rev = "97896c2bc98aac1d47f94ff92d0f43670365ef5a";
    sha256 = "1qv30g8ahdgrbbp1kalwnn51mfb66a41dqmm0xifgw6r0pf246fk";
  })).overrideAttrs (_: {
    enableParallelBuilding = false;
  }));
in
myCDDA.withMods (mods: with mods; [
  tileset.UndeadPeople
  soundpack.Otopack
])

Experimental builds

The latest experimental build (as of the most recent update in this repo) is available at

# Tiles build
cataclysmDDA.jenkins.latest.tiles

# Curses build
cataclysmDDA.jenkins.latest.curses

Older experimental builds are also available, up to 60 builds from the latest to older. Example:

cataclysmDDA.jenkins.b11150.tiles

Note that these builds have no pre-built binaries. You need to compile them by yourself on your machine.

Cataclysm: Bright Nights

Cataclysm: Bright Nights, a fork of Cataclysm: DDA, is available at

# Latest tiles build
cataclysmBN.release.latest.tiles

# Latest curses build
cataclysmBN.release.latest.curses

# Older releases are also supported. For example, release 891:
cataclysmBN.release.b891.tiles

Development status

As of now, the following mods, soundpacks, and tilesets are available. If you know any mod, soundpack, or tileset that should be in this overlay, feel free to make an issue or pull request.

Mods

  • Artyoms' Gun Emporium
  • Artyoms' Gun Emporium - Reloaded
  • EXTENDED_BUILDINGS
  • ZSFIXED_C:DDA Extra Professions & Gears
  • Jury-Rigged Robots
  • Compatible Nimian Manufacture Guns
  • Removes Nether Creatures
  • Cataclysm++
  • Cataclysm++ [0.D Stable]
  • BL9
  • Mining Mod
  • Packaging
  • Parks and Rec Building Pack
  • Mutation Changes
  • No Recreationals
  • Whaleys Small Town Building Pack
  • PKs Rebalancing [build > 8098]
  • Oa's Additional Buildings mod
  • Fuji's More Buildings
  • More City Locations
  • No Makeshift Firearms
  • Wintertime Classes
  • Storage Battery Conversions
  • Craft Ammo Magazines & Belt Links
  • Craft Ammo Mags - ERG
  • Dark Days Ahead: Lua
  • Cars to Wrecks
  • Ninja MOD
  • Draco's Dog Mod
  • Big River Building Pack
  • Seedy Spots Building Pack
  • Whaleys Big Ol' Building Pack
  • More Builings & Locations!
  • Bootleg Walkers
  • Beta National Guard Camp, Aggregate's edit
  • No Freeze
  • Gun Cotton
  • Secronom
  • Vampiric Stuff
  • Hydroponics
  • Nechronica Redux
  • No Zombies
  • More Survivor Stuff
  • XEAS
  • Easy CBM Mods
  • Useful Helicopters

Soundpacks

  • Chesthole soundpack
  • Chesthole Creative-Commons-compliant soundpack (ChestHoleCC)
  • Chesthole Old-Timey Less Is More soundpack (ChestOldTimey)
  • RRFSounds
  • 2ch soundpack
  • CDDA soundpack
  • @'s soundpack
  • CO.AG MusicPack Redux
  • Otopack

Tilesets

  • UndeadPeople tileset
  • Mod tilesets shipped with UndeadPeople tileset

License

This software is distributed under the terms of the MIT license.

nixpkgs-cdda-mods's People

Contributors

mnacamura avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

nixpkgs-cdda-mods's Issues

I can't figure out how to use this

I added the overlay but I can't figure it out. I'm using it with home-manager.

  home.packages = [
    cataclysm-dda.withMods (mods: with mods; [
      tileset.UndeadPeople
      soundpack.atmark
    ])
  ];
error: attribute 'withMods' missing, at /home/bbigras/nix-cfg/desktop/home.nix:35:5
(use '--show-trace' to show detailed location information)

no 'Automatic overlay update' anymore?

Last commit is Dec 2, 2020, and I got this recently:

error: builder for '/nix/store/zfw1ypbym869bhf4vk002w89khs6ndrp-source.drv' failed with exit code 1;
       last 7 log lines:
       >
       > trying https://github.com/SomeDeadGuy/UndeadPeopleTileset/archive/b95711c5ec1d9f1d2e7501b18e6bf4306bbe35ff.tar.gz
       >   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
       >                                  Dload  Upload   Total   Spent    Left  Speed
       >   0     9    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
       > curl: (22) The requested URL returned error: 404
       > error: cannot download source from any mirror
       For full logs, run 'nix log /nix/store/zfw1ypbym869bhf4vk002w89khs6ndrp-source.drv'.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.