Bay 12 Games Forum

Please login or register.

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

Author Topic: DFHack 0.5.15 (legacy)  (Read 408904 times)

The Grim Sleeper

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #30 on: June 19, 2010, 09:29:13 am »

I've got a problem trying to run the .exe thingies, and I couldn't find a better place to post my question.

When I run any of them, I get this error:
"Application could not be started because the configuration of the Application is incorrect. Re-installing might solve this problem."

I've tried downloading the .zip again, if there was some sort of corruption in the first one, but that didn't help.
Any thoughts?
Yes. I think you need this: http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5FC2&displaylang=en
Worked like a charm. Thanks!
Logged

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #31 on: June 19, 2010, 08:55:28 pm »

Peterix, could you post in http://pastebin.com/ how a dfcreaturedump looks like?

Thanks! :D
Logged

SirBruce

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #32 on: June 20, 2010, 05:10:20 am »

Update for 31.08?
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #33 on: June 20, 2010, 06:41:25 pm »

Peterix, could you post in http://pastebin.com/ how a dfcreaturedump looks like?

Thanks! :D
http://pastebin.com/wZyuBAfb
It's a bit mangled because of text encoding problems with the creature symbols and names.

Anyway, you can still use dfhack together with the windows version of DF running in wine until I resolve the linux offset problem.

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #34 on: June 20, 2010, 10:53:20 pm »

mmmh, I think I'll touch a little bit the script to make the output in xml.

Edit: its working with DF under wine (which BTW, is utterly slow compared to native). I'll modify the program to dump into a more structured file and pickup the data from there. I saw there is no creaturedump program in the compiled windows version, can i just compile it in windows (as your COMPILE instructions) and will work?

Edit2: 4:39 am here, trying to modify and shorten the creaturedump.cpp. I dont understand a shit. Back to bed.
« Last Edit: June 21, 2010, 02:39:59 am by Gabriel A. Zorrilla »
Logged

Askot Bokbondeler

  • Bay Watcher
  • please line up orderly
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #35 on: June 21, 2010, 09:04:29 am »

posting to follow the thread

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #36 on: June 21, 2010, 12:59:50 pm »

Downloaded latest master and when running a tool in .08 with WINE (or .06) i get:

couldn't find a suitable process

Linux.
Logged

wurli

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #37 on: June 21, 2010, 01:35:37 pm »

Downloaded latest master and when running a tool in .08 with WINE (or .06) i get:

couldn't find a suitable process

Linux.


Have you tried to compile the 0.4.0.2 version? Works for me with the native Linux Version of DF. No need to use wine.
Logged

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #38 on: June 21, 2010, 01:39:27 pm »

I need to use creaturedump which currently does not work under native linux :(
Logged

ohgoditburns

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #39 on: June 22, 2010, 10:59:03 am »

I didn't see it in the list of dependencies for compiling in linux... but you need to have the x11 dev installed (libx11-dev I think). It took me about 2 hours to figure it out since I'm still a bit newbish with linux. Might want to add that to the compile instructions.

Meanwhile...
Is there any kind of documentation to assist with writing new tools? I'd be interested in writing a tool that scans below revealed floor tiles, and channels out the floor if it finds a mineral.
Logged
The landscape routinely being soaked in flammable fluids somehow seems less than benevolent.

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #40 on: June 22, 2010, 11:23:13 am »

There is no API, you just have the c++ examples. For me is a headache, as i'm not proficient in C++ and want to program a JAVA software.

I believe if peterix wants to standarize this library and allow other developers to do stuff with it, will have to write proper documentation. In the meantime, he will be more than willing to help you out, but that's not efficient.
« Last Edit: June 22, 2010, 11:26:06 am by Gabriel A. Zorrilla »
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #41 on: June 22, 2010, 02:34:46 pm »

OK. Seems like I can't put this documentation stuff off any longer ;)

I should have the basics done soon-ish.

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #42 on: June 22, 2010, 08:25:43 pm »

Yay! Lets kick some ass!
Logged

Urist McPenguin

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #43 on: June 23, 2010, 03:27:13 am »

4. Replacing SDL.dll is not a good idea (copying over it). You have to rename the one that comes with DF to SDLreal.dll and then add the one from DFHack. Otherwise, you'll get non-working DF. The DFHack SDL.dll acts as a thin layer between DF and the real SDL.dll... adds a few things to it to make DF play nicer with DFHack.
I'm using DF 31.08 and DFHack 0.4.0.2 on Windows 7, without having done the SDL switch. So far I've had no issues at all, is there anything I should be watching out for?
Logged

alset85

  • Escaped Lunatic
    • View Profile
Re: DFHack 0.4.0.2 - tools and memory access library
« Reply #44 on: June 25, 2010, 08:25:38 am »

Hey, I just wanted to jump in and show my support for this util. Also if it isn't too much trouble could you add an "enable magma buildings" option? Because that would go well with the liquid editor.
Logged
Pages: 1 2 [3] 4 5 ... 108