Bay 12 Games Forum

Please login or register.

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

Author Topic: Kloker was Cavern Keeper was Manipulator. Detailed and automatic labor control.  (Read 69633 times)

strainer

  • Bay Watcher
  • Goatherd
    • View Profile

The Kloker is from a forgotten family of subterranean gnome-like creatures.

This Kloker is a much extended DFHack in-game labor manager with compact and colorful, extra information and features, including automatic labor suggestion and assignment. The full personalities of dwarves, pets, visitors and enemies can be quickly browsed, sorted and subsorted. Their best labors and abilities are highlighted in the labor grid, an extra tab can display physical stats, and another extra tab lists their problems such as injuries, curses and missing clothes. The tabs are navigated easily with tab and shift-tab keys, and tooltips explain changes in theme and other options when those keys are pressed (experimentally or accidentally ;)

Kloker has almost everything needed to review and manage a fort in-game, alongside Therapist's extensive abilities. It can be opened from the games unitlisting screens, or also directly from the game map to examine visible and nearby units. It easily returns to the map and can visit other game screens such as relations or full unit description without forgetting its focus and selections.

Main screen displaying professions tab :


(The 'Braw" column there is the "happiness" or "unstressed" score. The player can change this title to one of 20 different lyrical options.)

Extended and revised "Batch Actions" :


( After a batch change to labors, this screen also includes an option to undo the previous change. "multiformed" was lately changed to "non-uniformed" for clarity :| )

The latest version of Kloker for Linux is available currently in the Linux Dwarf Pack 47.05.r2

And a Windows version is brandished here > Windows 45.05-r2 Kloker at bay12 filedepot

( kloker.plug.dll can just be placed in directory [DFgameRoot]/hack/plugins/ and in the file [DFgameRoot]/dfhack.init add the line "Enable Kloker" to have it run in the game )

Some development versions for older DFHack versions are archived in the git repo. The latest source for 47.05 is also there for anyone able to compile, play themselves or distribute - very welcome. Kloker is the product of manipulator and dfhack and dwarf fortress, and should go back to DFhack if it can only be merged. Thankyou to everyone who has helped support, play and compile it here!

...

Previous write-ups...

Here is an expedition leader automatically selected by embark profile, her description reveals she is "extremely fierce" with other good qualities, and respects combat, hates sacrifice but nobody's perfect. Seems a good choice for a captain ;

The summary lines are carefully formatted to not jump around while browsing through the list. The characters age and focus level are shown, their most useful liked items, dreams, priorities and gods. Also the characters traits are summarized in greater detail than in their long game description, using refined adjectives that indicate the in game effect of each trait.

Here is Nil Wheeledsyrups long description for comparison :


Mind and Body Attributes View:
    A characters mind and body attributes have a big effect on how well it performs at different jobs, and different jobs exercise and improve relevant attributes. (Military training is also good at improving some attributes)

In this view the attributes relevant to each job are highlighted white, but the next screenshot is focused on a cat and its climbing ability. The screenshots following this pompous cat show white highlighted attributes...

A characters mind and body attributes have a strong effect on the jobs/activities it can do best, so cavern keeper calculates "aptitude scores" and colors the activation grid to indicate the best and worst performing jobs. For the character and job in focus, the aptitude score is also printed along with experience and skill rating. See later screenshots, this cat is a bad example. Sorry, Shoo !


Next a screenshot of the post embark cheat-mode indicated by the "Knapped points:" counter. Since dwarves are much easier to assess here than in the embark preparation screens, this feature allows skill points to be redistributed, but keeps track to make sure extra are not added.
In this screenshot units are also sorted by "medic" which ranks most highly generous and non-sadistic personalities. The top dwarf looks like a decent leader/manager type so...


Here it is on attributes tab again and redistributing the 'knapped points' to make Glovedikes a better leader.


This is the help screen showing the meaning of the attribute grids header.


There are some more tips in the help screen but it currently needs to zoom out to show everything.
« Last Edit: August 14, 2021, 05:34:30 pm by strainer »
Logged
Klok the Kloker !

jecowa

  • Bay Watcher
    • View Profile

Is this a plugin for DFHack? Can this plugin only be used when starting a new game? "Lagacy mode" means fortress mode I hope?
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile

Yes its a dfhack plugin for dwarf mode - its actually the current dfhack labor manager plugin improved and can be installed on top of it (manipulator). Im giving it a new name because its really improved a lot and i prefer a fantastic name. I also have to get it tested and in demand before dfhack can take it back, which is fair enough.

By "legacy" mode i just meant it starts with character summaries and with labor highlighting turned off - it looks very similar to "manipulator" then.

Its not just for starting a new game, although that cheatmode is designed just to be able to revise embark skills without feeling too cheaty. There is a "deeper" cheatmode that lets attributes be changed as well as skills, freely - but thats proper cheating.

There is also a 'notices' listing which lists dwarfs health issues, curses, and things which becomes useful later in the game. And the summaries include when dwarves become cave adapted, hardened, and other things. And the "fcs+0" in the summary readout shows how focused units are on a scale -9 to +9, should be useful later. I havent had time to play a proper game with the latest summaries yet... :)
Logged
Klok the Kloker !

Novaris

  • Bay Watcher
    • View Profile

Looks very interesting :)
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile

Being able to scroll quickly through so much info is fascinating, potentially overwhelming. The detail level can be turned down, but I prefer to see it all.

I was suprised this evening to notice that while dogs are running in and out of the temple they have been worshiping deities - different deities from their owners, but dwarf deities. ( The other, noticably distressed dogs in this screenshot are burrowed in the hospital btw...)



Here is a big screen showing off the sort features 'group highlighting' Here the arrival groups are shown, and name, focus, skill, personality and score sub-sorts can be applied within the groups. This make it easy to review arrival groups or squads or a custom selection.

« Last Edit: January 31, 2018, 11:50:12 am by strainer »
Logged
Klok the Kloker !

Stiqy

  • Bay Watcher
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #5 on: February 02, 2018, 07:28:35 pm »

I am not a programmer, so what is a .so file? Is there a place to just download the plugin already compiled to install?
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #6 on: February 02, 2018, 08:33:08 pm »

If you are on linux the .so file is the compiled plugin. Just save it on top of the manipulator.plug.so in that same newbie pack, then in will be accessible in the game.

Or if you want to try it on an earlier df linux version, I can make a compile for it if you let me know which (these plugins need made for the precise version)

fraid I cant make any windows compiles at the moment.
Logged
Klok the Kloker !

Stiqy

  • Bay Watcher
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #7 on: February 05, 2018, 11:36:15 am »

If you are on linux the .so file is the compiled plugin. Just save it on top of the manipulator.plug.so in that same newbie pack, then in will be accessible in the game.

Or if you want to try it on an earlier df linux version, I can make a compile for it if you let me know which (these plugins need made for the precise version)

fraid I cant make any windows compiles at the moment.

Ah, my bad... I was missing the detail that this was Linux only and was looking for a windows version. May have to fire up MINT again, this looks very helpful. Nice work.
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #8 on: February 07, 2018, 06:11:05 am »

Thanks - I should have windows compiles in a week or so.
Logged
Klok the Kloker !

bwbill

  • Bay Watcher
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #9 on: February 08, 2018, 08:51:02 pm »

I registered just to say I love this, and I'm eagerly awaiting the version for Linux 44.05-r01. Thank you!

Edit: looks like it's updated on github! Thanks again!
« Last Edit: February 08, 2018, 08:57:05 pm by bwbill »
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #10 on: February 09, 2018, 08:18:02 am »

That's great to hear thanks :) 
Let me know if you find any issues or things to tweak.
Logged
Klok the Kloker !

bwbill

  • Bay Watcher
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #11 on: February 10, 2018, 10:00:32 am »

I couldn't find the cheat mode in the new version, but that's probably for the better. :)

Would you be willing to provide an overview of recent changes? I've never done a version diff with github but I could grok a diff if it's too much to type a changelog during active development...
Logged

strainer

  • Bay Watcher
  • Goatherd
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #12 on: February 10, 2018, 07:16:31 pm »

I polished the cheat modes a bit in last commit, making them count skills the same way embark does (costs 3 points to boost skill from 2 to 3). To get to the lesser cheat mode press Shift-T a few times. Cheat turns off when keepers viewscreen exits, but it remembers 'banked' skill points for when it is next activated. For unlimited points and the ability to change mind and body attributes, sacrifice a dozen shift-t presses. After this mode is activated it stains part of the theme blood red for the rest of the game... thats all.

Source code wise:

My development commits have been 'overstuffed', they number about 45 with most of them on whitespace, formatting and debugging but they are logged here:

github.com/strainer/dfhack/commits/manipu_remix

The original 'manipulator.cpp' has 7800 commits since 2009. It was about 1000 lines of code and quite neat in October. Ive added about 2500 lines of code, overall not neat but some good efficient number crunching and stuff - lots of features. I should sometime refactor and neaten it up so it can go back on dfhacks historic repo. But now it seems to be working and stable, I like to imagine its fully debugged and (almost) feature complete.

edit:doh! That was the entire history of dfhack.
« Last Edit: March 06, 2018, 09:39:23 am by strainer »
Logged
Klok the Kloker !

strainer

  • Bay Watcher
  • Goatherd
    • View Profile
Re: Cavern Keeper - In game labor manager with detailed character information.
« Reply #13 on: February 26, 2018, 12:07:14 am »

I made a windows compile finally for DF44.05.r02

It can be found here.
« Last Edit: July 21, 2019, 04:31:33 pm by strainer »
Logged
Klok the Kloker !

Boltgun

  • Bay Watcher
  • [UTTERANCES]
    • View Profile

Nice, I use the labor manager all the time and I'll definitely try it out.
Logged
Pages: [1] 2 3 ... 13