Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Dwarf Foreman and Dwarf Therapist not Finding DF  (Read 1576 times)

Ult1mara

  • Bay Watcher
    • View Profile
    • Ult1mara's Let's Plays and reviews
Dwarf Foreman and Dwarf Therapist not Finding DF
« on: November 09, 2011, 08:11:44 am »

I have installed both said mods a few times and tried a few different techniques to fix this problem - The problem is that the mods cannot find dwarf fortress, all be it they are mods. But this should not make any problems

1 - Just unzipping it, the normal way I do things
2 - Taking the folder out of the folder and copying it into anywhere
3 - Same as above but putting it into the DF folder
4 - Reinstalling each said mod 3 times

This problem has now occured for 3 seperate mods - Corrosion Mod, My Little Pony Mod and the Pheobus Tileset. So I do not know what I am doing wrong or what is happening to make this not work.

The error message I get for Dwarf Therapist is "cant locate PEB location" and the error message I get for Dwarf Foreman is "cant locate Dwarf Fortress.exe.

However my Soundsense DOES work for my dwarf fortress games .....
Logged
The local scottish drunken dwarf
Dwarf Fortress Mod Reviews
http://www.bay12forums.com/smf/index.php?topic=84405.0

Ult1mara

  • Bay Watcher
    • View Profile
    • Ult1mara's Let's Plays and reviews
Re: Dwarf Foreman and Dwarf Therapist not Finding DF
« Reply #1 on: November 09, 2011, 10:42:12 am »

I will post a link to a video I will be making about the problem .... If anyone has any idea please tell me how to fix it?
Logged
The local scottish drunken dwarf
Dwarf Fortress Mod Reviews
http://www.bay12forums.com/smf/index.php?topic=84405.0

Ult1mara

  • Bay Watcher
    • View Profile
    • Ult1mara's Let's Plays and reviews
Re: Dwarf Foreman and Dwarf Therapist not Finding DF
« Reply #2 on: November 09, 2011, 10:52:05 am »

Logged
The local scottish drunken dwarf
Dwarf Fortress Mod Reviews
http://www.bay12forums.com/smf/index.php?topic=84405.0

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: Dwarf Foreman and Dwarf Therapist not Finding DF
« Reply #3 on: November 09, 2011, 09:54:07 pm »

Niiiice.

DT is using something that depends on Windows kernel internals and it failed. Well. That obviously sucks, but without some debugging, there's no telling what caused the error.

Just look at it: http://msdn.microsoft.com/en-us/library/windows/desktop/ms684280(v=vs.85).aspx
Quote
[NtQueryInformationProcess may be altered or unavailable in future versions of Windows. Applications should use the alternate functions listed in this topic.]

It should be clear that this should *never* be used in application code.

So, could be just a plain old windows update breaking/entirely removing this. Could be an over-eager antivirus protection thingie disabling said function for all user applications (I wouldn't be surprised). Could be something nasty hiding in your Windows install.

Did this just start to happen without any obvious trigger while the tools worked previously or did you just install those things and found out that they don't work?

There is no string in Foreman that would say 'cant locate'. I found 'Unable to find Dwarf Fortress.exe!' though. The functions this uses are a bit more sane and stable, but it fails all the same...

* peterix is puzzled

Btw. this has nothing to do with the DF mods you have added. This is a problem with the operating system not responding as DT/Foreman expects.

Can you try if the current release of DFHack works? I'm using a similar approach to Foreman there, but from inside DF (it doesn't have to look for DF, but just asks where is the .exe loaded into memory, from inside the process. If there's something blocking other processes from looking at that info and not DF itself, DFHack will work.)

Try to find and post any log files the tools produced. And try to run the tools as administrator.

Ult1mara

  • Bay Watcher
    • View Profile
    • Ult1mara's Let's Plays and reviews
Re: Dwarf Foreman and Dwarf Therapist not Finding DF
« Reply #4 on: November 09, 2011, 10:31:27 pm »

Not tried running them as administration. Also started using Comodo the Antivirus recently - due to a friends advice - however the Antivirus has caused me nothing but grief so far so that might be the problem lol. Will find out by Closing Comodo and then restarting the Application. And will do Admin powers with and without comodo as well.

If all else fails I will have to figure out what windows has done to F this up ><.

But thanks for the reply I shall try a few things ^_^
Logged
The local scottish drunken dwarf
Dwarf Fortress Mod Reviews
http://www.bay12forums.com/smf/index.php?topic=84405.0

Ult1mara

  • Bay Watcher
    • View Profile
    • Ult1mara's Let's Plays and reviews
Re: Dwarf Foreman and Dwarf Therapist not Finding DF
« Reply #5 on: November 10, 2011, 10:46:01 am »

Problem has been fixed. All I had to do was run as admin ^_^
Logged
The local scottish drunken dwarf
Dwarf Fortress Mod Reviews
http://www.bay12forums.com/smf/index.php?topic=84405.0