ABSOLUTELY UNRELATED TO THE NEW DF VERSION:
Big question: Can the program linked to read out the gamelog, similar to soundsense ? What I thought of is this: Make the hacks a part of a mod. For example: Make a research lab that can, for a high amount of resources, run a prospect for example. This way it is not cheating, but dwarven science. Through incredible science (like the bookkkeeper who knows every stock, even for the future) you can predict what resources you have on the map.
Of course that would require a custom edition of dfhack, where the "normal" option to start a script is disabled.
In detail:
Make a custom building
Make a custom reaction that has a low chance to produce an item call: prospect papers. This needs a lot of reagents.
The gamelog will now write: Dwarf X has created a "prospect paper"
The gamelog is read by dfhack (similar to how soundsense works for the right sound effects)
Dfhack automatically runs: prospect
Done.
All this could be explained by science or religion. "View of Armok" = unreveal for 30 seconds. "Blessing of Speed" = fastdwarf for 30 seconds. "Dirty elven magic" = grow... and so on.
Would this be possible ? And if it is way too much work for you guys, could you please point me in the right direction for modding dfhack myself ? I have no programming experience, but I managed to re-write the LazyNewbPack to suit my needs, and is now my Settings-program for my mod. Deon (from Genesis) uses this idea now as well, for his Modloader.