Package Details: dfhack-twbt 0.47.05-10

Git Clone URL: https://aur.archlinux.org/dfhack-twbt.git (read-only, click to copy)
Package Base: dfhack-twbt
Description: memory hacking library for Dwarf Fortress and a set of tools that use it
Upstream URL: https://dfhack.readthedocs.io/en/stable/
Keywords: dwarffortress
Licenses: custom
Conflicts: dfhack, dfhack-bin, dfhack-git, dfhack-twbt-bin
Provides: dfhack
Submitter: dangersalad
Maintainer: dangersalad
Last Packager: dangersalad
Votes: 2
Popularity: 0.000234
First Submitted: 2020-03-13 00:22
Last Updated: 2021-03-22 17:51

Pinned Comments

dangersalad commented on 2020-03-13 00:29

This package uses a different directory layout than the default dwarffortress package.

The main run directory is in $XDG_DATA_HOME/dwarffortress which should not be edited. Saves are in $XDG_DATA_HOME/dwarffortress/data/saves (XDG_DATA_HOME defaults to $HOME/.local/share)

The files available for config are in $XDG_CONFIG_HOME/dwarffortress (XDG_CONFIG_HOME defaults to $HOME/.config).

Currently there are "extra" files in config, but I will work on cleaning that up.

This should allow you to keep separate saves for vanilla df and hacked df.

This will also copy an "opinionated" dfhack/df config which enables seasonal colors (included in the raws, you can edit them in the data directory if you want to change them) and multilevel rendering for twbt.

It also includes some settings for pops/invaders in d_init.txt, you can copy the default config from /opt/dwarffortress/data/init/d_init.txt as this original file is still intact.

The other twbt settings are set up in the customised init.txt which will point to the provided graphics. You can either edit this file to change them or simply overwrite the text.png and graphics.png files in $XDG_CONFIG_HOME/data/art.

Latest Comments

astewartau commented on 2021-03-29 23:36

Just commenting in case anybody else gets this problem because it took me a few hours to solve. If you get this error on launch:

Main index file missing/corrupted. The file "index" must be in the "data" folder. Make sure DF decompressed into its folders properly.

This can be caused if you installed an earlier version of DF and didn't clean up everything. The solution for me was to run:

sudo cp /opt/dwarffortress/data/index ~/.local/share/dwarffortress/data/index

The $XDG_DATA_HOME directory mentioned in dangersalad's pinned comment is an unused variable on my system.

Yamakaky commented on 2020-06-16 17:00

Would it be possible to add provide = dfhack ? It would make it compatible with armok-vision for example.

dangersalad commented on 2020-05-11 15:23

@Feanor1397 fixed it, that should be the last one

Feanor1397 commented on 2020-05-08 15:54

d_init.txt still can't pass validity check. other files are ok

dangersalad commented on 2020-05-07 19:58

@Feanor1397 Looks like there were windows line endings getting gobbled by git, fixed in the next version with the update to r1

Loy commented on 2020-04-14 09:01

Maybe obvious but savegames are into $XDG_DATA_HOME/dwarffortress/data/saves (default of XDG_DATA_HOME to $HOME/.local/share and XDG_CONFIG_HOME to $HOME/.config)

Feanor1397 commented on 2020-03-31 12:43

Files colors_spring.txt, colors_summer.txt, colors_autumn.txt, colors_winter.txt and d_init.txt failing validating with md5sums.

dangersalad commented on 2020-03-13 00:29

This package uses a different directory layout than the default dwarffortress package.

The main run directory is in $XDG_DATA_HOME/dwarffortress which should not be edited. Saves are in $XDG_DATA_HOME/dwarffortress/data/saves (XDG_DATA_HOME defaults to $HOME/.local/share)

The files available for config are in $XDG_CONFIG_HOME/dwarffortress (XDG_CONFIG_HOME defaults to $HOME/.config).

Currently there are "extra" files in config, but I will work on cleaning that up.

This should allow you to keep separate saves for vanilla df and hacked df.

This will also copy an "opinionated" dfhack/df config which enables seasonal colors (included in the raws, you can edit them in the data directory if you want to change them) and multilevel rendering for twbt.

It also includes some settings for pops/invaders in d_init.txt, you can copy the default config from /opt/dwarffortress/data/init/d_init.txt as this original file is still intact.

The other twbt settings are set up in the customised init.txt which will point to the provided graphics. You can either edit this file to change them or simply overwrite the text.png and graphics.png files in $XDG_CONFIG_HOME/data/art.