Package Details: cataclysm-dda-git 0.D.2019.03.29-1

Git Clone URL: https://aur.archlinux.org/cataclysm-dda-git.git (read-only)
Package Base: cataclysm-dda-git
Description: A post-apocalyptic roguelike.
Upstream URL: https://cataclysmdda.org/
Licenses: CCPL:by-sa
Conflicts: cataclysm-dda, cataclysm-dda-ncurses, cataclysm-dda-tiles
Submitter: Ferk
Maintainer: keenerd
Last Packager: keenerd
Votes: 35
Popularity: 0.015851
First Submitted: 2013-11-23 17:41
Last Updated: 2019-03-30 03:38

Latest Comments

1 2 3 4 5 6 Next › Last »

pescepalla commented on 2019-03-28 17:08

O.D is out. Please update or orphan.

ohotdog commented on 2019-02-23 15:06

To anyone having locale, localization, language, etc. issues,

I saw other users were having issues getting cataclysm to display the language(s) they selected or those defined by their system's locale. I was also having issues with this when trying to use the cataclsym-dda package from the official repository, which brought me here. I was surprised that I had the same issues still. So I looked around the source files and saw that a ".mo" file was never being compiled for my target language (or any language for that matter). After a lot of frustration I found a (non-ideal) workaround.

After compiling, you'll find a script in cataclysm-dda-git/src/Cataclysm-DDA-master/lang/ called compile_mo.sh. Run that for a sec, terminate it, and a new directory cataclysm-dda-git/src/Cataclysm-DDA-master/lang/mo will have been created.

I think by default compile_mo.sh generates mo files for all of the languages cataclysm currently supports, so either find the language(s) you need or take everything in that folder and make symlinks, copy+paste, whatever, them to /usr/share/locale and you should be good to go.

I'm sure there's a way you could get it into the pkg directory and have pacman handle it, but it's late and I just want to play games in kneehongo.

eturner commented on 2018-10-05 05:55

I was told by the lead developer on github that they do actually intend to maintain compatibility with old save files between updates, and that you can file bug reports regarding issues with updating. In keeping the old saves, manual intervention has been required just once in my experience. When one of the included mods was integrated into the core game it gave me a passable error message upon load until it was removed from mods.json. But no real issues so far.

Faalagorn commented on 2018-08-05 20:03

I currently use a modified PKGBUILD of this, as I don't mind downloading 1.5GB and want to see the actual git revision version string in game menu and package name (thanks for leaving the hints in PKGBUILD!), but I also use a few other tweaks there, so let me mention them in case you want to implement them.

This package currently don't build the man files included in the sources. They were added past 0.C release, that's why the PKGBUILD in repository doesn't have them. They are located in doc/cataclysm-tiles.6 and doc/cataclysm.6.

You also currently use USE_HOME_DIR=1 instead USE_XDG_DIR=1 as the package in repo, but keep in mind that it's planning to switch to it by the 0.D release judging by this comment: # USE_XDG_DIR for next release so it's up to you if you want to change to it now or later. this package already uses it.

You also list some of the potentially useful make flags below #LUA_BINARY="/usr/bin/lua5.1" (remnant from the past since the game doesn't require old lua explicitly for a while, that's also there in the repo's PKGBUILD, but could be handy if one want to use usr/bin/luajit for potential speed improvement). USE_XDG_DIR=1 is what I already explained, LOCALIZE=0 is also required for Unicode support, DYNAMIC_LINKING=1 I indeed don't know what does in practice, but there's also CLANG=1 to use Clang instead of GCC – this package uses it, LTO=1 to use link-time optimization and possibly others. Finally there's LANGUAGES=all to build all languages – this package uses it, but it obviously results in even bigger size of package. All the flags are explained in COMPILING.md and Makefile. The game can also be build with CMake, but personally I just build with default flags, so can't vouch for their usefulness/performance impact, except CLANG=1 seems to result in bigger size and LTO=1 on top of it seems to break stuff for me. It's also nice to keep it in line with whatever package in repo has it.

Finally, it would be nice to update the url (again) as https://cataclysmdda.org/ is used instead, but the same plagues PKGBUILD in repo, so I may suggest to update it there first.

copygirl commented on 2018-06-02 07:27

PKGBUILD contains 2 conflicts entries, one of which contains a comma, causing installation to fail for me.

pr3pony commented on 2017-06-10 08:12

https://github.com/CleverRaven/Cataclysm-DDA/issues/21165

current version cant build on gcc 7
try gcc 6 or clang instead

TheCatWizard commented on 2017-06-05 23:52

Currently getting:

astyle regressions found.
Formatted src/projectile.cpp
make: *** [Makefile:930: astyle-check] Error 1
==> ERROR: A failure occurred in build().
Aborting...
:: failed to build cataclysm-dda-git package(s)

When Building

RobsNoFrills commented on 2016-12-16 16:39

Had to change
source=('https://github.com/CleverRaven/Cataclysm-DDA/archive/master.zip')
to
source=('https://codeload.github.com/CleverRaven/Cataclysm-DDA/zip/master.zip')
in the pkgbuild

cyrilccros commented on 2016-05-23 07:27

Fails to build:

src/filesystem.cpp: In function ‘bool assure_dir_exist(const string&)’:
src/filesystem.cpp:61:45: error: ignoring attributes on template argument ‘int (*)(DIR*) {aka int (*)(__dirstream*)}’ [-Werror=ignored-attributes]
std::unique_ptr<DIR, decltype(&closedir)> dir {opendir(path.c_str()), closedir};

I tried passing the CXXFLAG -Wno-error=ignored-attributes, but this did not work:

src/cata_tiles.cpp: In member function ‘void cata_tiles::draw(int, int, const tripoint&, int, int)’:
src/cata_tiles.cpp:972:54: internal compiler error: in add_expr, at tree.c:7870
&cata_tiles::draw_critter_at } ) {
^

keenerd commented on 2016-03-12 20:54

Looks like they fixed the Lua51 weirdness.