Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 167 168 [169] 170 171 ... 222

Author Topic: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06  (Read 981895 times)

EBannion

  • Bay Watcher
  • Visit my Blog, www.elleshaped.com
    • View Profile
    • ElleShaped
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2520 on: February 20, 2016, 11:47:52 pm »

Does anyone know why one of my dwarves' names is highlighted in red? She's my head doctor, but otherwise seems to have nothing special about her. I can't seem to find any documentation about highlighting and things, haha.

That highlight means she has an appointed position.
Logged
Torturing Dwarves to death since 2007

Grax

  • Bay Watcher
  • The Only.
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2521 on: February 21, 2016, 01:52:19 am »

So trying to follow this, it's possible to get DF Therapist to work on Windows, for .42.06?
It's already working. ;-)
Logged
Finis sanctificat media.

protester

  • Escaped Lunatic
  • Chalkies be trippin'
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2522 on: February 21, 2016, 03:20:50 am »

So trying to follow this, it's possible to get DF Therapist to work on Windows, for .42.06?
It's already working. ;-)
Negative, cap'n... i've got a "cant talk, checksum error" thing
Logged
Adventurer in training

Blue_Dwarf

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2523 on: February 21, 2016, 03:25:51 am »

This download fixes it for 42.06, are you using it?

Using Virtualbox is fine, if your hardware is good enough. gcc, lisp tool and even visual studio will not notice that they are in virtualised environment.

A lot of things changed in structures. Hopefully figured out all critical changes. It will not blowup immediatly, but cant guarantee it will not corrupt save later. Make backups. Report if it happened.
Save it as Dwarf-Therapist-WIN-36.0.0/share/memory_layouts/windows/v0.42.06_graphics.ini:
Spoiler: v0.42.06 windows (click to show/hide)

In my case path was /usr/local/share/dwarftherapist/memory_layouts/linux/v042.06.ini
Spoiler: v0.42.06 linux (click to show/hide)
Logged
Crafting Statistics 42.06Farming Statistics

Blue Dwarf has been happy lately. He did some !!science!! recently. He admired a fine forum post lately. He was enraged by a forum troll recently. He was upset by the delayed release of the new version of Dwarf Fortress lately. He took joy in planning a noble's death recently.

protester

  • Escaped Lunatic
  • Chalkies be trippin'
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2524 on: February 21, 2016, 05:31:53 am »

Thanks man, its working, and i'm diving back into the brutality once again
Logged
Adventurer in training

Kallyn

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2525 on: February 21, 2016, 07:03:21 am »

So...

When I open Therapist it cant connect to DF. I've tried the instructions on https://github.com/andrewd18/df-lnp-installer/wiki/Dwarf-Therapist-Cannot-Connect-to-Dwarf-Fortress, but when i run the sudo setcap cap_sys_ptrace=ep DwarfTherapist, on the Dwarf Therapist Folder, i get the msg:

Failed to set capabilities on file `DwarfTherapist' (Invalid argument)
The value of the capability argument is not permitted for a file. Or the file is not a regular (non-symlink) file


I'm running Linux Mint 17.3 Cinnamon Does anyone know what could be the problem?

Thanks in advance
Logged

lorb

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2526 on: February 21, 2016, 07:11:46 am »

did you try to start DT with sudo?
Code: [Select]
sudo DwarfTherapist
Logged
Please be gracious in judging my english. (I am not a native speaker/writer.)
"This tile is supported by that wall."

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2527 on: February 21, 2016, 07:21:13 am »

You should be running that command on the executable, not the folder.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Kallyn

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2528 on: February 21, 2016, 07:41:20 am »

Thanks lorb, it worked with sudo  :D

Lethosor, i meant that i opened the terminal on the DT folder, and then ran the command line as specified in the troubleshooter i linked.

Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2529 on: February 21, 2016, 08:55:01 am »

Oh, I think you should be using eip instead of ep (although I'm going from memory here, so that might be incorrect). That should eliminate the need for sudo, assuming it works.
Logged
DFHack - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

Aklidien

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2530 on: February 21, 2016, 09:20:14 am »

This download fixes it for 42.06, are you using it?

Using Virtualbox is fine, if your hardware is good enough. gcc, lisp tool and even visual studio will not notice that they are in virtualised environment.

A lot of things changed in structures. Hopefully figured out all critical changes. It will not blowup immediatly, but cant guarantee it will not corrupt save later. Make backups. Report if it happened.
Save it as Dwarf-Therapist-WIN-36.0.0/share/memory_layouts/windows/v0.42.06_graphics.ini:
Spoiler: v0.42.06 windows (click to show/hide)

In my case path was /usr/local/share/dwarftherapist/memory_layouts/linux/v042.06.ini
Spoiler: v0.42.06 linux (click to show/hide)

Thank you so much for this, sv-esk and Blue_Dwarf! As a very new player, I was having quite a bit of anxiety without DT (especially when >50 dwarves). The Windows memory layout works like a charm, and it's up and running again.

I just have a few questions to get my bearings regarding DT:
    I read earlier in the thread that DT is reliant on DFHack updating their memory layouts. If that is the case, how were you able to pull this code together before the DFHack devs?
    Does this code need more thorough testing before Splinterz is willing to post it as the v37.0 download? If so, is there a structured process that people go through to help Splinterz test?
    PeridexisErrant posted earlier that https://dfhack.readthedocs.org/en/latest/library/xml/how-to-update.html is how the utility devs update their memory layouts / programs for each new Dwarf Fortress release. Is the whole process best left to them, or is there any portion of it that non-devs can help out with?
Logged

sv-esk

  • Bay Watcher
  • sorry for my bad english
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2531 on: February 21, 2016, 11:11:42 am »

I just have a few questions to get my bearings regarding DT:
   • I read earlier in the thread that DT is reliant on DFHack updating their memory layouts. If that is the case, how were you able to pull this code together before the DFHack devs?
   • Does this code need more thorough testing before Splinterz is willing to post it as the v37.0 download? If so, is there a structured process that people go through to help Splinterz test?
   • PeridexisErrant posted earlier that https://dfhack.readthedocs.org/en/latest/library/xml/how-to-update.html is how the utility devs update their memory layouts / programs for each new Dwarf Fortress release. Is the whole process best left to them, or is there any portion of it that non-devs can help out with?
1)I followed how-to-update.html.
I got mismatch error from match-ctors.pl - some structures changed their size. I manually matched and add the new names to ctors.txt
Then used the lisp tool to verify the layout of the compound globals on linux and windows(wine) and updated xmls.
I am not sure about new 16(12) empty bytes between waypoints and burrows in ui. It might be an stl-vector. But I haven't found situation when it is not empty.
Also not sure that 2 new fields in the wolrd and new unk_0 field in ui_build_selector are even fields.
And I have no idea about vtables. But DT not uses all those anyway.
Here is my result. I compiled DFHack with it. It seems to work almost fine so far. I run df-ai controlled fort for 10 years. It marks residents for slaughter in butcher's workshop - it seems it uses wrong method to determine whenewer unit is appropriate for butchering its old df-ai issue.. And also got one corruption (dwarf profession textures got mixed, inadequate system memory usage and then crash), but can't reproduce. Probably fixed reason already.
While many DFHack plugins might behave incorrect in some situations and will cause save corruption eventually, everything critical for DT layouts seems to be figured out.
So I run devel/export-dt-ini, then fixed layouts manually ([hist_entity_offsets].histfigs and few other fields), tested and shared them. It was 4 days ago and nobody reported problems yet
How  before the DFHack devs? Well, they probably busy.

2)Splinterz said he will do some testing.
3)
Sadly the necessary skill level for most of the work updating is quite high. Only Quietust and Angavrilov can do the hard stuff.
« Last Edit: February 23, 2016, 10:28:49 am by sv-esk »
Logged

Button

  • Bay Watcher
  • Plants Specialist
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2532 on: February 21, 2016, 12:11:32 pm »

Btw sv-esk, unless you've updated the 42.06 ini in the last few days, I noticed that my miners aren't changing to uniform-incomplete when they don't have picks.

Thanks so much for your hard work :)
Logged
I used to work on Modest Mod and Plant Fixes.

Always assume I'm not seriously back

sv-esk

  • Bay Watcher
  • sorry for my bad english
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.36.0 | DF 42.05
« Reply #2533 on: February 21, 2016, 07:53:42 pm »

Btw sv-esk, unless you've updated the 42.06 ini in the last few days, I noticed that my miners aren't changing to uniform-incomplete when they don't have picks.

Thanks so much for your hard work :)
You are welcome. Did you checked it in 42.05? Its a DT bug. It assigns uniforms before reading labors. fix.
Also I noticed, DT didnt know that it is possible to hunt with bow.
« Last Edit: February 21, 2016, 08:05:23 pm by sv-esk »
Logged

splinterz

  • Bay Watcher
    • View Profile
    • Dwarf Therapist Branch
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #2534 on: February 22, 2016, 11:20:03 am »

I've updated the repo and the dffd links with a new version to support 42.06 with the layouts from sv-esk as well as the uniform fix and new jobs.
  • DF 42.06 memory layouts for windows and linux (sv-esk)
  • added new jobs for crafting (sv-esk)
  • added a global option to abbreviate experience and stress numbers
  • added a rust description on the skill column information/tooltips
  • fixed uniforms not displaying correctly for miners, woodcutters and hunters (sv-esk)
  • fixed experience formatting
Pages: 1 ... 167 168 [169] 170 171 ... 222