Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 219 220 [221] 222

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

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3300 on: November 26, 2017, 11:28:22 am »

The win64 layout is missing "string_cap_offset=0x0018" in the "[offsets]" section.
Logged

Alpaq

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3301 on: November 26, 2017, 01:29:28 pm »

Tentative untested Therapist INI files for Dwarf Fortress version 0.44.02:

Windows 32-bit:
Spoiler (click to show/hide)

Windows 64-bit:
Spoiler (click to show/hide)

If you decide to try using these, please provide feedback!

Thanks! It works for me (at least at first glance). I'll provide feedback later if necessary.
I don't want to be too inquisitive, but how did you reach these new addresses?

Edit:
Seems that it doesn't read dwarfs names.
Here?
Code: [Select]
[dwarf_offsets]
first_name=0x0000
nick_name=0x0020
last_name=0x0040
« Last Edit: November 26, 2017, 01:42:28 pm by Alpaq »
Logged

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3302 on: November 26, 2017, 01:39:22 pm »

Thanks! It works for me (at least at first glance). I'll provide feedback later if necessary.
I don't want to be too inquisitive, but how did you reach these new addresses?
I think he ran "devel/export-dt-ini" in DFHack.

The win64 layout is missing "string_cap_offset=0x0018" in the "[offsets]" section.
Both of them are missing that, which is because it's not in https://github.com/DFHack/scripts/blob/master/devel/export-dt-ini.lua

Edit: here's one for 64-bit OS X 0.44.02, also completely untested:
Spoiler (click to show/hide)
« Last Edit: November 26, 2017, 01:44:07 pm by lethosor »
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.

KtosoX

  • Bay Watcher
  • Playing DF since 18.04.2010
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3303 on: November 26, 2017, 01:43:51 pm »

32-bit memory layout works for the SDL version, not for the legacy version.
Dwarf Therapist seems to crash 100% of the time while testing on a 64 bit DF, both SDL and legacy, regardless of memory layout.

Logged
Build a grid of floor grates above the entire city. Draft a squadron of masons and bomb the crap out of the city with falling constructed walls.
The Geneva Convention would like to have a word with you.
Quote from: Aleksanderus
I have clicked "d" in a forge and look what it did!

lethosor

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3304 on: November 26, 2017, 01:45:20 pm »

32-bit memory layout works for the SDL version, not for the legacy version.
Dwarf Therapist seems to crash 100% of the time while testing on a 64 bit DF, both SDL and legacy, regardless of memory layout.
Right, Windows layouts are always for the SDL version unless specified otherwise (they can't work for both).

Are you testing 64-bit 0.44.02 or something else?
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.

sephiroth

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3305 on: November 26, 2017, 02:06:08 pm »

I can't believe I'm asking this, I'm such a scrub, but what specific ini file do I update with the untested 64x bit code?
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3306 on: November 26, 2017, 02:20:34 pm »

The win64 layout is missing "string_cap_offset=0x0018" in the "[offsets]" section.
Both of them are missing that, which is because it's not in https://github.com/DFHack/scripts/blob/master/devel/export-dt-ini.lua

Yes, I saw. It is not important for win32 since the default value (0x14) is the good one. I wonder if I should fix the DFHack script or just remove the requirement for it. I could hard-code this offset, since it is related to std::string ABI, if the values change it will surely break the code at the same time anyway.

I can't believe I'm asking this, I'm such a scrub, but what specific ini file do I update with the untested 64x bit code?

None. You create a new one in share/memory_layouts/windows (or osx or linux). The name is not important as long as it is a ini file.
Logged

Seleucian

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3307 on: November 26, 2017, 02:26:22 pm »

I can't believe I'm asking this, I'm such a scrub, but what specific ini file do I update with the untested 64x bit code?

create a new .ini file in the following location:
...\Dwarf Therapist\share\memory_layouts\windows

paste the data into it, optionally rename the file. (for example v0.44.02_x64graphics.ini)

Testing results:
loads dwarfs up fine on Windows 0.44.02 x64 but as mentioned earlier it does not show dwarf names.
assigning labors works
assigning nicknames does not work.

« Last Edit: November 26, 2017, 04:00:12 pm by Seleucian »
Logged

UristMcDwarf

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3308 on: November 26, 2017, 03:49:22 pm »

crashes when I try to read dwarves.
do I have to set an option so that therapist will use the new .ini i created?
Logged

Seleucian

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3309 on: November 26, 2017, 04:02:22 pm »

crashes when I try to read dwarves.
do I have to set an option so that therapist will use the new .ini i created?

No, at least not on Windows. Just create the .ini file in the right folder and copy the right text(x32 or x64) into the file. That should be it.
Logged

KtosoX

  • Bay Watcher
  • Playing DF since 18.04.2010
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3310 on: November 26, 2017, 04:09:54 pm »

32-bit memory layout works for the SDL version, not for the legacy version.
Dwarf Therapist seems to crash 100% of the time while testing on a 64 bit DF, both SDL and legacy, regardless of memory layout.
Right, Windows layouts are always for the SDL version unless specified otherwise (they can't work for both).

Are you testing 64-bit 0.44.02 or something else?
For some reason, DT refuses to work with any 64-bit version of DF.
I don't get the initial pop up regarding unrecognised DF version, regardless of the state of my .ini files. It does nothing and then crashes once I press the read dwarves button.
crashes when I try to read dwarves.
do I have to set an option so that therapist will use the new .ini i created?
The following 3 steps gave me a positive outcome, tested for 3 hours, no crash:
1. Download the 32-bit SDL version of DF
2. Go to the memory_layout/windows folder in your Dwarf Therapist directory
3. Create a new .ini file and paste the contents of the following spoiler into it:

...

Windows 32-bit:
Spoiler (click to show/hide)

...

If you decide to try using these, please provide feedback!
« Last Edit: November 26, 2017, 04:12:38 pm by KtosoX »
Logged
Build a grid of floor grates above the entire city. Draft a squadron of masons and bomb the crap out of the city with falling constructed walls.
The Geneva Convention would like to have a word with you.
Quote from: Aleksanderus
I have clicked "d" in a forge and look what it did!

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3311 on: November 26, 2017, 04:21:42 pm »

To every one with missing names on windows 64, use this fixed version.
Logged

Seleucian

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3312 on: November 26, 2017, 04:27:25 pm »

To every one with missing names on windows 64, use this fixed version.

Thanks that fixed it for me. I do get a network inaccessible popup when starting DT but everything seems to be working fine.
screenshot:
Spoiler (click to show/hide)
« Last Edit: November 26, 2017, 04:32:40 pm by Seleucian »
Logged

UristMcDwarf

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3313 on: November 26, 2017, 04:38:55 pm »

oh. i'm using starter pack df so that probably has something to do with it.
i'll just use the regular job assignment stuff for now.
Logged

Alpaq

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist (Maintained Branch) v.37.0 | DF 42.06
« Reply #3314 on: November 26, 2017, 05:07:57 pm »

To every one with missing names on windows 64, use this fixed version.
Or just add this missing line in [offsets] section:
string_cap_offset=0x0018
Logged
Pages: 1 ... 219 220 [221] 222