I hope this is the correct place to ask about coding things with DFHack.
I'm trying to create a windows console app (VS2012) that uses DFHack to get information. Crazy idea, right?
I'm pretty much hitting a wall at square one. I tried the approach in the non-plugin version of stonesense (DFHack::ContextManager), but the memory locations in that Memory.xml are; I assume, no longer valid.
Outside of that single example; I have no idea how to use DFHack in my little console app. I've dinked around some more, and looked through some source code... but am lacking new things to try. ... Pretty much totally lost right now.
Can anyone point me to working non-plugin DFHack utilizing code/projects; I suspect that should get me going, at least show me some options. I've been reviewing some projects but apparently they either are obsolete (stonesense), not using DFHack (Dwarf Therapist), or plugins (stonesense).
I don't really know what I should ask right now; I think the function I was going to call was 'getNumberOfCreatures'... So I'm trying to create a console app that displays the number of creatures... or something. Any value; just something outta DFHack.
Any suggestions/pointers/projects will be very appreciated. Thanks.