Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 3 4 [5] 6 7

Author Topic: Dwarf Therapist - DFHack - 0.1.2 *Updated*  (Read 29433 times)

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #60 on: March 25, 2010, 02:11:52 pm »

I have the exact same problem with the same OS. Tried 4018 40d18HEAD and 40d19. When I start dwarf therapist, df crashes with segmentation fault.

See:
Just wanted to mention for those of you trying the linux version for d18-d19, the creature vector offset was incorrect.  Please replace the existing Memory.xml in the /etc folder of dwarf therapist with the one at peterix's github

Click on raw and save the Memory.xml file into DT's etc/ folder.

muty

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #61 on: March 26, 2010, 06:36:22 am »

Thanks for the fast reply, that was it.

I was pretty sure I overwrote the file, but apparently I didn't.

I'm a happy dwarf now :)
Logged

kutulu

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #62 on: March 26, 2010, 10:52:35 pm »

Ok, I've spent the past 8 hours trying to get dwarf therapist to connect to DF with zero success.  It consistently exhibits the same behavior: it locks up attempting to connect to the running instance of DF and stays locked up until I kill DT, which then causes DF to segfault.

I've tried running the binaries from github, as well as building my own local copies, and get the exact sale behavior in every case.

I'm using Gentoo amd64, running DF 40d19.  Does anyone recognize what might be going on here?  DF is unplayable for me without a management program to manage labors :\

--K
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #63 on: March 27, 2010, 03:30:06 am »

Ok, I've spent the past 8 hours trying to get dwarf therapist to connect to DF with zero success.  It consistently exhibits the same behavior: it locks up attempting to connect to the running instance of DF and stays locked up until I kill DT, which then causes DF to segfault.
Does anyone recognize what might be going on here?
Yes, see the few posts before yours.

Petr Ga

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #64 on: March 27, 2010, 05:31:19 am »

Hi Balal and peterix

can you please repack dwarf therapist with latest peterix dfhack version?
it should allow to start stonesense and therapist simultaneously.

otherwise, it runs perfectly for me on 40d19.2
Logged
2: Give RMs a gas syndrome that causes RMs only to breed profusely.

kutulu

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #65 on: March 27, 2010, 09:38:41 am »

Ok, I've spent the past 8 hours trying to get dwarf therapist to connect to DF with zero success.  It consistently exhibits the same behavior: it locks up attempting to connect to the running instance of DF and stays locked up until I kill DT, which then causes DF to segfault.
Does anyone recognize what might be going on here?
Yes, see the few posts before yours.

I already replaced the Memory.xml file with the one from the github, it didn't help.

--K
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #66 on: March 27, 2010, 12:36:58 pm »

I already replaced the Memory.xml file with the one from the github, it didn't help.

--K
Well, I can't replicate the error. Everything seems to work as it should, even with a big and old fort like Reinhammers.

So, let's try a few things :)

First:
Verify that it runs without the libdfconnect lib in DF. just rename it or something. DT won't be able to write creature nicknames and custom professions, but it should at least rule out problems with bad Memory.xml.

If this works and the data looks good (no garbage or crashes), try using the current precompiled libdfconnect.so from git.

If that still scrashes, I'd like to get a backtrace. The library is built with debug symbols, so a debugger should show relevant data :)

The process of getting that looks like this:
Spoiler (click to show/hide)

Boatmurdered

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #67 on: March 27, 2010, 02:25:27 pm »

Small update with my problem. I found the missing library (libQtScript.so.4), and I put it in the same folder with Dwarf Therapist. I now run the program, and instead of giving me missing library problems, I'm getting an error saying wrong ELF Class:ELFCLASS64. I did some digging, and I know its due to me running 64-bit Ubuntu. However, the solutions I find don't do me any good.

Can anyone help me?
Logged
I think this is where the DF-players-are-Hitler jokes go from being just jokes to still jokes but lose some of their irony.

Still. Someone has to open up a chain of McUrist's sooner or later.

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #68 on: March 27, 2010, 02:40:19 pm »

Well. You need to grab the 32bit version of that library.

This ubuntu bug seems related https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/490735

It's been fixed in Lucid, but not backported to the other releases. So, tell your distro maintainers :)

Boatmurdered

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #69 on: March 27, 2010, 03:01:17 pm »

Well. You need to grab the 32bit version of that library.

This ubuntu bug seems related https://bugs.launchpad.net/ubuntu/+source/ia32-libs/+bug/490735

It's been fixed in Lucid, but not backported to the other releases. So, tell your distro maintainers :)
I had figured as such. But then, the solutions I had found were pasting the lib into /usr/lib32. Guess I should have been able to figure that out.

Now I'm just hunting down GLIBC_2.11 before I go to work.
Logged
I think this is where the DF-players-are-Hitler jokes go from being just jokes to still jokes but lose some of their irony.

Still. Someone has to open up a chain of McUrist's sooner or later.

kutulu

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #70 on: March 27, 2010, 08:45:58 pm »

\\Verify that it runs without the libdfconnect lib in DF. just rename it or something. DT won't be able to write creature nicknames and custom professions, but it should at least rule out problems with bad Memory.xml.

If this works and the data looks good (no garbage or crashes), try using the current precompiled libdfconnect.so from git.

This seems to have fixed my problem.  Is this different from the dfconnect library that's in git in the dwarftherapist/precompiled/linux?  I'm pretty sure that's where I got the one I've been using this far.

It's also possible that I had mixed up the precompiled binaries with the ones I built myself.  Even with the working dfconnect library, the dfhack/dwarftherapist I built hangs on startup.  It looks like, even though dwarftherapist specifies -m32 in it's CFLAGS, that I'm getting 64-bit output anyway, since it won't link to the precompiled libdfhack.so.  Will 64-bit dfhack not share memory properly with the 32-bit dfconnect? 

--K
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #71 on: March 27, 2010, 09:53:30 pm »

If this works and the data looks good (no garbage or crashes), try using the current precompiled libdfconnect.so from git.
This seems to have fixed my problem.  Is this different from the dfconnect library that's in git in the dwarftherapist/precompiled/linux?  I'm pretty sure that's where I got the one I've been using this far.
Good to hear that it works now :)
Yes, it's from a newer version of dfhack. And it was built on an Ubuntu machine, which is as close I can get to what Toady builds DF on. Linux binary compatibility is crazy.

Heavy linux dev talk follows.
Spoiler (click to show/hide)

Boatmurdered

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #72 on: March 27, 2010, 10:26:34 pm »

Still not working for me. I seem to have a bad version of the GNU C Library (I think that's what it's trying to tell me anyway).

Here's my output:
Code: [Select]
./DwarfTherapist: /lib32/libc.so.6: version 'GLIBC_2.11' not found (required by /usr/lib32/libQtGui.so.4)
./DwarfTherapist: /lib32/libc.so.6: version 'GLIBC_2.11' not found (required by /usr/lib32/libpng12.so.0)

I'll admit, I'm still pretty new to heavy Linux use, so I may be missing something.
Logged
I think this is where the DF-players-are-Hitler jokes go from being just jokes to still jokes but lose some of their irony.

Still. Someone has to open up a chain of McUrist's sooner or later.

njero

  • Bay Watcher
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #73 on: March 28, 2010, 03:11:39 pm »

Quick reply to thank those who have picked up development on this tool. While I appreciate the effort Toady is putting into the in-game interface, I don't think I could ever play with >50 dwarves without an external manager.

Keep up the good work.
Logged
these aren't buzzards, they're cliff racers!

Gontro

  • Escaped Lunatic
    • View Profile
Re: Dwarf Therapist - DFHack - 0.1.1 Supports All Versions > 39a!
« Reply #74 on: March 28, 2010, 07:14:00 pm »

Hey guys, I'm just curious as to whether a compiled binary for OSX is being worked on or planned in the future? 

I use my mac for work and usually have df running in the background.  Unfortunately there isn't any tools for dwarf management available for the mac (I use 40d16 and even the modified version of MacForeman error's on me).  I usually end up having to copy my save to a network share, restart my machine into windows, organise my dorfs, copy the save back to a network share, then restart back into mac.  As you can imagine this is quiet a tedious process   :-\
Logged
Pages: 1 ... 3 4 [5] 6 7