For a couple of dfhack scripts/plugins (i.e autolabor, workflow) there is some data stored separately for each save file. Where is it stored? Is it possible to copy it from one save to another?
For example I have some dwarf labor rules set up in autolabor in game A. I did set it up once and then every time I load that save it's there. Is it possible to copy it to my next games without manually typing everything in dfhack console?
Thanks in advance!
Cheers,
Matt
Those two store their data as fake historical figures, which means it gets written to world.sav when DF saves (or unit#.sav, or something else). There's not a really easy way to extract that, although those plugins could implement their own export functionality.
One thing you can do is save the commands you use to a file, say "autolabor-setup.txt", then use DFHack's "script" command to execute all of the commands in that file (specifying the filename, e.g. "script autolabor-setup.txt"). Some plugins actually have a way to export the commands you would need to use for this technique, although I don't remember exactly which ones (the zone plugin might).
Ahh, I think I figured it out. I was following old instructions and cloning quietust's develop branch. Yeah, when I build from the regular develop branch it looks like dfhack. I do get some error/warning messages at startup:
Loading bindings from data/init/interface.txt
Resetting textures
Plugin weather: missing symbol: plugin_name
Can't load plugin misery
Plugin drybuckets: missing symbol: plugin_name
Plugin remotefortressreader: missing symbol: plugin_name
Plugin feature: missing symbol: plugin_name
Plugin initflags: missing symbol: plugin_name
DFHack is ready. Have a nice day!
DFHack version 0.42.06-alpha0 (development build 0.42.05-alpha1-40-g8eb39cc)
But it starts up, gives the usual prerelease warnings, workflow seems to be working. Enhanced stock screen looks good. I've definitely got dfhack running this time.
I'm going to guess that those plugins in red are left over from the older version of DFHack. You can safely remove those. (If you're on Linux, remotefortressreader was renamed to RemoteFortressReader, so I expect you have both in the folder and can get rid of the lowercase one.)
Something is wrong. All 0.42.06 symbols are known. missing symbol error shoul not be a thing
"symbol" in this case is a symbol defined in a plugin (or shared object, returned by dlopen()/dlsym()), not a DF global.