I just ran the program from the Lazy Newb Pack, with a graphics set and Dwarf Therapist running simultaneously, and it worked fine; I didn't get any freezes. I did start a brand new world for this purpose though--maybe that makes a difference? I had my dwarves run around for a bit and didn't see any problems.
One minor suggestion to consider for the future: It's pretty easy to find a good place to put just one portrait, in a corner, but I don't really want 4 portraits at a time on my screen since that takes up too much space, and anyhow, I can't tell which portrait goes with which dwarf. So I think I'd prefer it if it displayed only the portrait of the exact dwarf selected, rather than the portraits of every dwarf within a tile or two of the cursor.
Yes, I guess the multi portraits mode is more of a feature demonstration, than it is practical
. Yet, I imagine some might still like it this way. In order to see who is who, you can hold the X above a specific dwarf, and it will highlight its respective dwarf.
You might know this, but I'll write it anyway - you CAN change the number of displayed dwarfs from the onLoad.init (example) file. Let me know if it worked out.
repeat -time 20 -timeUnits frames -command [ dwarfinfo -n 3 ] Change the number in red to 0 to have just one dwarf displayed at a time, when looking over him.
Since I saw that neobit said it worked *once* and freezes ever since, I also tried running the world for a bit, quitting, then reloading it, and that did still work. I'll admit I didn't play for long either time though.
I probably would need to try it out on a fresh run as well. There might be a limit in regards of amount of dwarfs for the dfhack to still maintain sending dwarf info over and over.
The save I used has 180 citizen (48 pets and others). That is rather big fortress.
Anyway I have delivered my game with the save to Rust_Knight so there might be some solution to this (or answers if I did something wrong ).
Normally there should be no limit on how many dwarfs can be viewed. I was a bit busy implementing a features I already started working on, but I will try to reproduce this problem as soon as I get the change. My recommendation is, until I come up with a fix, delete your YOUR_DWARF_FORTRESS_FOLDER\Dwarf_Vision_x64_win_release\portraits_Play_Sessions\WORLD_CAUSING_ERRORS
WORLD_CAUSING_ERRORS folder. This will cause portraits to be redrawn, so you will lose current "faces" of your dwarfs and gain new ones. But it might also fix the problem.
Let me know if it had any positive impact on the issue.
Definitely has my interest, the fluidity of moving it into the UI boxes with the mouse example is very impressive alongside the high artistic quality of it (not that im not affable to the idea if some animals could recieve generic portraits, so i can sort by goodest boy's from my donkies)
Do you think you could pull up a DFhack ui box especially for framing all of our portraits sorted by some criteria there? Double click a portrait to zoom to them and the game would seem almost triple A.
Hey FantasticDorf,
Such a morale tonic you served us today
Thanks for coming over and sharing this with us.
We actually did mention on Patreon that after a while we will release a procedural Cat portrait!
Indeed, some animals might actually appear amidst the main races drawing, if we can do them fast and elegantly enough.
Generic portrait holders also isn't bad at all. Already made a note on this.
So let me see if I understood you correctly:
Compose a list showing dwarfs and their portraits/names ordered by some conditions (least depressed <-> depressed; healthy <-> injured)?
And if you click on it, it focuses the screen on them.
If that's what you meant, yes it is possible to implement such a feature. The UI that you see displaying the portraits thou, isn't a DFhack UI, it's a QT Window from Dwarf Vision - this means these portrait windows do not have direct information to what dwarfs they are displaying. This will probably be much easier to do when I replace the current messaging system with tpc or protobuff.