For curiosity, what was used to get the addresses in Linux?
Tools like IDA Pro, evan's debugger, gdb and a few others.
Is there a console command I can use to display the value of, or in general play with, the memory locations in offsets.log?
Nope. And you shouldn't do that because looking at invalid memory from the same process = crash
offsets.log is almost the same thing as memory.xml, and that is now largely obsolete (and likely won't be even there in the next release). Everything is now generated from xml files from here:
https://github.com/angavrilov/df-structuresTo use the xml files for looking at DF data, you should use angavrilov's super cool GUI.
First, grab the DFHack sources using git, along with the submodules:
git clone git://github.com/peterix/dfhack.git
cd dfhack
git submodule init
git submodule update
Then go into library/xml/ and:
git clone git://github.com/angavrilov/cl-linux-debug.git
wget https://github.com/downloads/angavrilov/cl-linux-debug/sbcl-runtime.bz2
bzip2 -d sbcl-runtime.bz2
Now run DF in a second terminal and use something like htop or top in a third terminal to determine DF's PID.
Run ./start.sh from library/xml/, feed the program the PID number you got.
Now you can look at DF data, in a very awesome way, powered by LISP, which is totally hardcore
If you run into problems, visit us in the IRC channel.
* peterix hopes he didn't miss anything
And do I need to redo my workflow settings each time I start DFhack or are the settings saved somehow? Thanks!
The settings and on/off state should be saved as part of your world (it creates fake historical figures to store its data). You may have to reset the settings manually when your fortress crumbles and you start a new one though.