Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2

Author Topic: Dwarf Therapist Splintermind Questions  (Read 5143 times)

13thEssence

  • Bay Watcher
    • View Profile
Dwarf Therapist Splintermind Questions
« on: January 30, 2013, 10:55:23 pm »

So there's not a dedicated Dwarf Therapist Splintermind-Attributes thread.  Maybe there's a reason for that.  But I have dedicated Dwarf Therapist Splintermind-Attributes questions.  We'll see if this gets adopted as a place for questions and requests until an official DT-splintermind release thread is started.

If you didn't know:
Dwarf Therapist allows you to manage your dwarves' jobs and lots more.
This fork is currently actively developed and updated, compatible with DF 34.11.  It also includes a variety of additional features like job-matching dwarves according to their attributes, preferences, skills and traits through Roles, filtering by preferences, additional views to compare dwarves for whatever you need.  Very awesome.
Download Dwarf Fortress Splintermind-Attributes here
« Last Edit: January 30, 2013, 11:00:46 pm by 13thEssence »
Logged

13thEssence

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #1 on: January 30, 2013, 10:57:03 pm »

My question today:
Is there any way to include custom roles in the roles tab?  Currently, the only way I know to view custom roles is through the Dwarf Details window under roles.  This window can only display info for one dwarf at a time, and does not necessarily display all roles even if it's a high % for the dwarf, so it cannot be used to compare dwarves.

I've learned how to .ini hack the gamadata.ini file to change or add roles, but I cannot find out how these entries are referenced to be included in the tabs in the application.  I also cannot find where custom roles are stored (which must be external to the DT folder since it carries over into multiple versions.)

The ability to include custom roles in the roles tab, or to completely customize what columns appear in each tab from within the application's options, would be ideal.  Until then:
1) Is there any other helpful way to display and use custom roles which I don't know about?
2) Is there a way to ini-hack custom roles into the roles tab, without messing with the application code?
Logged

Trev_lite

  • Bay Watcher
  • Likes the forum for its helpful members
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #2 on: January 31, 2013, 02:00:21 am »

i would like to report a bug

when i sort by a skill or role it gets stuck and i can't switch back to sort by name (i can switch to sorting by a different role or skill though)
can duplicate this bug on demand (allways happens)

also it sometimes crashes and once i was not able to change a dwarfs labors (yes he was not a child i had changed his labors successfully before)
but i could not duplicate this bug

the sorting bug makes it so that if i want to sort the dwarfs by how much they fit the mechanics role i will have to close and reopen the tab to get the sort by name back
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist Splintermind Questions
« Reply #3 on: January 31, 2013, 06:03:32 am »

i'll be starting a new thread with the upcoming release, as there's been more and more confusion about the branch and what's happening. i may also spend some time putting together a manual to explain the new features in detail. for now i can answer some of these questions:

@13thEssence: if you name a custom role the same as one of the default roles, it will override the default and instead show your custom role in the default roles view. if you don't want to do this, you can copy the view, or create a new view, and add any role columns you'd like. it's not a good idea to hack the game_data.ini as it will be replaced anytime an update is applied. custom roles and other user specific data is stored in the Dwarf Therapist.ini, whose location is operating system dependent.

@Trev_lite: what version are you using and what operating system? what options do you have set under the Options->Roles tab? the sorting is getting an overhaul in the next release and this may resolve the issue. i'll still see if i can reproduce it. 'sometimes crashes' isn't really enough for me to go on, more details would be helpful. when you say you can't change the labor, does this mean you couldn't commit the changes? you couldn't click on the cell? were you perhaps trying to toggle a labor on a skill column?

Trev_lite

  • Bay Watcher
  • Likes the forum for its helpful members
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #4 on: January 31, 2013, 08:16:58 pm »

@Trev_lite: what version are you using and what operating system? what options do you have set under the Options->Roles tab? the sorting is getting an overhaul in the next release and this may resolve the issue. i'll still see if i can reproduce it. 'sometimes crashes' isn't really enough for me to go on, more details would be helpful. when you say you can't change the labor, does this mean you couldn't commit the changes? you couldn't click on the cell? were you perhaps trying to toggle a labor on a skill column?

i'm using 19.3 on windows 7

the only bug i could replicate was the sort bug. it ALWAYS happens so is easy to replicate. just in the role tab select group by nothing then click a role to sort by that role then select sort by name then change tabs and come back and it is still sorting by that role not by name. something happens with sort by skill.

for the can't change labor bug (only happened once so far) is that when i click a cell nothing happened. i was trying to toggle a labor for a skill (in the skill/labor tab) it worked for other dwarfs. restarted the program and it was fixed.

another bug is that somehow a row and/or column's separator gets darker like its selected and doesn't go back to normal when i select a different row or column. this has no effect besides looking ugly

only settings different from the default is the expand groups on load and single click to change labors (so no double clicking) and displaying the role for a labor in a tooltip.

hope this helps
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #5 on: January 31, 2013, 10:00:55 pm »

My question today:
Is there any way to include custom roles in the roles tab?  Currently, the only way I know to view custom roles is through the Dwarf Details window under roles.  This window can only display info for one dwarf at a time, and does not necessarily display all roles even if it's a high % for the dwarf, so it cannot be used to compare dwarves.

I've learned how to .ini hack the gamadata.ini file to change or add roles, but I cannot find out how these entries are referenced to be included in the tabs in the application.  I also cannot find where custom roles are stored (which must be external to the DT folder since it carries over into multiple versions.)

The ability to include custom roles in the roles tab, or to completely customize what columns appear in each tab from within the application's options, would be ideal.  Until then:
1) Is there any other helpful way to display and use custom roles which I don't know about?
2) Is there a way to ini-hack custom roles into the roles tab, without messing with the application code?

Grid Views
add new grid view
  lets call it test
  right click in left window
  add new set
  right click right window
  add some stuff (to include custom roles)
  click ok

Click in the upper left corner of DT (directly below file), looks like a gray square with a green something
  add your grid view.
« Last Edit: January 31, 2013, 10:13:27 pm by thistleknot »
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist Splintermind Questions
« Reply #6 on: February 01, 2013, 07:28:10 am »

@Trev_lite: i was able to reproduce the sorting problem and it will be fixed in the next release. the labor cell problem seems like an odd one, i haven't been able to get it act up yet. with the separator, do you mean the colored guide line when you select a column/row (by default they're a blue color)?

i've been asked a few times how to add grid views, people seem to completely overlook the little button to add a new tab, so i'll try adding some text to it so it's slightly larger and more visible.

Demdemeh

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #7 on: February 01, 2013, 07:53:18 am »

I have noticed that the current version of DT Branch does not register citizens who have been transformed through some form of interaction within the game. Specifically, using the Fortbent mod, it detects all Trolls except those who have developed some form of class. The way his code attaches those classes is through transformational syndromes, so I don't know if that has something to do with it.
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist Splintermind Questions
« Reply #8 on: February 01, 2013, 08:49:18 am »

I have noticed that the current version of DT Branch does not register citizens who have been transformed through some form of interaction within the game. Specifically, using the Fortbent mod, it detects all Trolls except those who have developed some form of class. The way his code attaches those classes is through transformational syndromes, so I don't know if that has something to do with it.
i'm unfamiliar with that mod, would you mind uploading a save which exhibits this behavior to dffd or something so i can take a look?

Demdemeh

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #9 on: February 01, 2013, 09:38:37 am »

I will do so as soon as I get home tonight.
Logged

Demdemeh

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #10 on: February 01, 2013, 07:45:12 pm »

Logged

nuker1110

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #11 on: February 01, 2013, 09:27:16 pm »

Hi, thought I'd pop in to add that I've encountered a Win7 issue with the current version. Specifically, it won't run. Period. The program crashes while loading the UI, while still on a white screen. The log shows nothing amiss. Any clue what's going on?
Logged

thistleknot

  • Bay Watcher
  • Escaped Normalized Spreadsheet Berserker
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #12 on: February 01, 2013, 09:45:48 pm »

I had a similar problem, but it was when I was building a version.  Make sure your not using built binaries, but the true files...

if you want to use built binaries, ensure you are using the files from the etc folder in your latest build

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist Splintermind Questions
« Reply #13 on: February 02, 2013, 05:35:44 am »

http://dffd.wimbli.com/file.php?id=7366
There is my save.
the reason those few trolls aren't showing up is because their 'caste' if you can call it that is setup with a curse. currently DT hides cursed creatures which aren't vamps or werebeasts, but i'll see if i can fix it.

EDIT: well the original check i put in was for things like profane smoke husks, which consequently had the same race and civilization, and none of the hostile tags that normal creatures have. however running a few dfhack scripts, it doesn't seem to be able to differentiate between these either, so i may just have to chalk that up to a DF bug and remove the curse check.


Hi, thought I'd pop in to add that I've encountered a Win7 issue with the current version. Specifically, it won't run. Period. The program crashes while loading the UI, while still on a white screen. The log shows nothing amiss. Any clue what's going on?
what's the last line in the log file? are you compiling from source?
« Last Edit: February 02, 2013, 05:53:25 am by splinterz »
Logged

nuker1110

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist Splintermind Questions
« Reply #14 on: February 02, 2013, 10:41:46 pm »

Hi, thought I'd pop in to add that I've encountered a Win7 issue with the current version. Specifically, it won't run. Period. The program crashes while loading the UI, while still on a white screen. The log shows nothing amiss. Any clue what's going on?
what's the last line in the log file? are you compiling from source?


This is the last line:
Quote
2013-Feb-02 21:39:39.617 DEBUG   core   finished reading settings [src\dwarftherapist.cpp:201] (read_settings)
And I'm using the version on Mediafire for Windows.
Logged
Pages: [1] 2