Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 31 32 [33] 34 35 ... 87

Author Topic: Dwarf Therapist v42.1.7 | DF 50.14  (Read 423430 times)

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Dwarf Therapist v40.0.1 | DF 44.10
« Reply #480 on: June 28, 2018, 01:01:50 am »

It'd be neat to check for need when assigning jobs as well (in particular, thinking about need to wander for herbalists/fisherdwarves/hunters).

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.0.1 | DF 44.10
« Reply #481 on: June 29, 2018, 03:56:00 am »

Experimental memory layouts for 0.44.11:
Updated again. Only the creature extracts offset was changed this time. I think it only affects the "creatures (extracts)" role preference (used in dissector roles).
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #482 on: June 29, 2018, 09:34:47 am »

New version released: 40.1.0

Support for 0.44.11 and other minor changes and bug fixes.

Changelog:
  • added memory layouts for DF 0.44.11
  • added messenger profession (no icon)
  • split dwarf tool-tip in two columns
  • added options for skills in dwarf tool-tip
  • fixed typo in "very unhappy" description
  • fixed updater updating files in read-only directories
  • fixed default role preference warnings
  • fixed writing string to DF memory on Linux (possible rare crashes)

Windows builds are also available on DFFD (win32, win64).
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #483 on: June 30, 2018, 03:52:39 am »

Quick poll: Need columns can be sorted by need level or focus, which one should be the default?

The need level is how fast the focus goes down (a dwarf with a higher need level will be distracted faster).
Logged

Fleeting Frames

  • Bay Watcher
  • Spooky cart at distance
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #484 on: June 30, 2018, 06:47:00 am »

I'm thinking focus, because players will more often want to check for and take care of red in needs rather than more needy needs.

High-maintenance dwarves would generally except a more permanent solution once.

Maul_Junior

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #485 on: June 30, 2018, 12:19:35 pm »

*plays Flight of The Valkyries as DT downloads*
Logged
Quote from: Meph
I didn't actually say this.

Quote from: smurfingtonthethird
there is nothing funnier than watching a goblin army get assaulted by hundreds of war chickens.

Any new discovery, sufficiently weaponize, is indistinguishable from !!FUN!!

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #486 on: July 08, 2018, 03:21:36 am »

Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #487 on: July 09, 2018, 03:28:17 am »

Any chance for WinXP build for next windows release? Current versions need Win7+.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #488 on: July 09, 2018, 11:02:17 am »

It should already work. What error do you get exactly?

Edit: I've just tested with my virtual machine, it crashes when connecting to DF, but run fine otherwise, is that your issue?
Edit: It does not crash when I disable the auto updates. Never mind, now it works with auto updates on.
« Last Edit: July 09, 2018, 11:35:10 am by Clément »
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #489 on: July 09, 2018, 12:25:55 pm »

It should already work. What error do you get exactly?

Edit: I've just tested with my virtual machine, it crashes when connecting to DF, but run fine otherwise, is that your issue?
Edit: It does not crash when I disable the auto updates. Never mind, now it works with auto updates on.

It's the same issue as here http://www.bay12forums.com/smf/index.php?topic=168411.msg7754518#msg7754518
I'm still using the version which you gave a link there (this pre-v.40 build), because newer don't work, lacking the needed function in kernel.

I'm talking about the x64 bit version, just to be clear.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #490 on: July 09, 2018, 12:54:18 pm »

Both 32 and 64 bits versions are now compiled with Qt 5.6 and the xp compatibility option. I don't have windows xp 64 bits to test it though.
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #491 on: July 10, 2018, 03:34:38 am »

The 32-bit version is made correctly. It's the 64-bit version which is Win7+ only, even though it uses Qt5.6.
I suppose whatever compatibility options are used in the compiler (MSVC2015?) they are bugged for x64 platform.

If this is VS 2015, then the solution would be adding the required library (Psapi.lib) to the dependencies in Linker options of the project.

And either define this in the code:
#define PSAPI_VERSION 1
or use the compiler line option ("/DPSAPI_VERSION=1").

This would change nothing for Win7+ platforms, they will work the same. Apparently, this or something similar is used by your compatibility options for XP, but only when compiling for 32-bit.

Anyway, I'm willing to try it myself. Only I would have to create a virtual machine with Win7 and install MSVC2015 first.
If you are using virtual machine, and installed MSVC2015 could you tell me what size it takes (I mean the file/partition of the whole virtual machine)? Because I'd need to install another hard drive to make room for it. Alternatively, how much space takes MSVC2015 if you installed it natively? 
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #492 on: July 10, 2018, 04:26:33 am »

It worked with Vista64 when I checked. And I think the PSAPI version is same as Xp. And if the old worked, I don't see what I am doing different now.

My MSVC2015 dir is 3.7GB, you will have to install Qt too, Qt 5.6.3 for msvc2015_64 is 974MB, but there will be other tools and doc beside so it will take more (my whole Qt dir is 28.5GB but I have a lot of Qt versions installed).

The commands I use are (you need to set or replace CMAKE_PATH and QT_PATH, VS140COMNTOOLS should be set by MSVC2015 installer):
Code: [Select]
call "%VS140COMNTOOLS%VsDevCmd.bat"
mkdir build
cd build
"%CMAKE_PATH%\bin\cmake.exe" .. "-DCMAKE_PREFIX_PATH=%QT_PATH%" -T v140_xp -G "Visual Studio 14 2015 Win64"
msbuild DwarfTherapist.sln /p:Configuration=Release
Then manually copying the required files (I really need to add an install target for other platforms) and running
Code: [Select]
"%QT_PATH%\bin\windeployqt.exe" "%DEST%\DwarfTherapist.exe"
This is simplified, if you want to check the actual script I use, I copied it here.
Logged

Saiko Kila

  • Bay Watcher
  • Dwarven alchemist
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #493 on: July 10, 2018, 11:41:23 am »

It worked with Vista64 when I checked. And I think the PSAPI version is same as Xp. And if the old worked, I don't see what I am doing different now.

You mean the build linked to on the first page, version 40.1.0, or any 40.x?
Well, I looked at dependencies (I use Total Commander for this), and the version which works for me has PSAPI.DLL dependency, while the last few versions from GitHub do not (so they shouldn't work on pre-Win7 platform). All other 15 dependencies are the same for any version, but not PSAPI.

The 64-bit v39.3.1 version from GitHub doesn't work for me, but the one you linked in a reply to me 2 months ago (also v39.3.1) does.

My MSVC2015 dir is 3.7GB, you will have to install Qt too, Qt 5.6.3 for msvc2015_64 is 974MB, but there will be other tools and doc beside so it will take more (my whole Qt dir is 28.5GB but I have a lot of Qt versions installed).

The commands I use are (you need to set or replace CMAKE_PATH and QT_PATH, VS140COMNTOOLS should be set by MSVC2015 installer):
Code: [Select]
call "%VS140COMNTOOLS%VsDevCmd.bat"
mkdir build
cd build
"%CMAKE_PATH%\bin\cmake.exe" .. "-DCMAKE_PREFIX_PATH=%QT_PATH%" -T v140_xp -G "Visual Studio 14 2015 Win64"
msbuild DwarfTherapist.sln /p:Configuration=Release
Then manually copying the required files (I really need to add an install target for other platforms) and running
Code: [Select]
"%QT_PATH%\bin\windeployqt.exe" "%DEST%\DwarfTherapist.exe"
This is simplified, if you want to check the actual script I use, I copied it here.

Thank you for these tips, I'm going to try it tomorrow. Also I thought that the installation of VS would be one order of magnitude bigger, it's not that bad.
Logged

Clément

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist v40.1.0 | DF 44.11
« Reply #494 on: July 10, 2018, 01:50:10 pm »

I tested with vista64 and I got the error. Rebuilding after deleting the build directory fixed the issue. Some old configuration must have been left there. My fault for not rebuilding from scratch for the releases.
Logged
Pages: 1 ... 31 32 [33] 34 35 ... 87