Bay 12 Games Forum

Please login or register.

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

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

peterix

  • Bay Watcher
    • View Profile
    • Dethware
DFHack 0.5.15 (legacy)
« on: June 07, 2010, 09:37:16 am »

DFHack is an attempt to unite the various ways hack tools access DF memory and allow for easier development of new tools (and of course, make the game more enjoyable for players). It comes with some useful tools that can fix your fort and make things easier to handle.

It includes tools like:
'reveal'     - reveals the map or portions of it.
'prospector' - counts available raw materials - mostly minerals.
'cleanmap'   - removes nasty bloodstains and other such materials from the map.

And many more...

Read the README for the full list of tools and their usage :)

This is the legacy branch of DFHack, meant for older DF releases. For the new DFHack, visit the NEW THREAD.

Packages (for DF 31.xx):
Windows tools release
Ubuntu 10.10 32bit
Ubuntu 10.10 64bit

Old Windows package for DF 40dxx: 0.2.1

The source is available from github, please read the Compile document before building.

Bugs should be reported here: Issues tracker.

There's an IRC channel on freenode: #dfhack (irc://irc.freenode.net/dfhack or web client)
« Last Edit: February 13, 2013, 12:31:48 pm by peterix »
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Version history
« Reply #1 on: June 07, 2010, 09:40:43 am »

Changelog
0.5.15
  • Greater support for vegetation - including various temperature points, hitpoints and other points ;)
  • Two new vegetation tools - dfgrow which turns saplings into full trees and dfimmolate, which burns them to ashes (optionally burns the whole map, not reccomended, but amusing)
  • DFHack now has better support for curses-based tools. Veinlook works on windows.
  • Integrated a version of the dfstatus tool - this shows some basic stats for the loaded fortress, including food, booze and some common metals.
  • Many internal improvements and bugfixes.
0.5.14
  • Many offset bugfixes on Linux. 31.25 is fine, anything older can have problems.
  • Re-enabled the tool for de-tasking items stuck after reclaims (dfcleartask).
  • Added tool for quickly dumping or destroying items (dfautodump).
  • Prospector tool produces precise numbers with nice formatting, supports trees and shrubs. Only lists visible resources by default.
  • Added an ownership removal tool - this allows confiscating all the garbage dwarves like to hoard along with worn-out clothing and rotten claimed food.
0.5.13
  • Fix for bad memory access errors on 32bit linux (thank you, Alexander Gavrilov :) )
  • Using proper creature vector addresses for more linux versions.
  • An unreveal tool for everyone stuck with a permanently revealed map.
  • The deramp tool should now remove stray down ramps that result from cave-ins.
  • Probe tool shows the layer and vein materials of the tile.
  • Began working on some internal restructures, build times should be shorter.
0.5.12
  • Full support for Linux DF 31.22 - 31.25
  • Added module for reading and writing engravings. No tools yet.
  • Many fixes to the creature module
0.5.11
  • Support for Windows DF 31.25
  • Fixed bugs under wine and windows (processes without a PE header caused DFHack crashes, suspend wasn't reliable under wine)
  • Liquids tool spawns magma hot, instead of cold.
  • Placing obsidian walls in the liquids tool will remove any present magma/water and reset the temperature.
  • Added a clearer warning about closing the window to reveal.
0.5.10
  • Support for Windows DF 31.24
  • The Ubuntu packages can be actually downloaded... damn the github flash upload thing...
0.5.9
  • Support for 31.22 and 31.23
  • Included the 'deramp' tool by zilpin.
  • Added a tubefill tool for all the dirty cheaters :D
  • Added a tool for preventing item scatter after abandon (dflair).
  • Liquids tool shows the current brush in command line.
  • Liquids tool help text is a little bit more helpful.
  • Small optimization of vector reads. Nobody will probably notice.
  • Fixes. I can't remember. Look at the changes on github.
0.5.8
  • Releases now include the MSVC redistributable libs.
  • Test of the new automated build system.
  • Some API changes. Tools should be unaffected. The dll won't work with third-party tools.
  • Now also releasing Ubuntu 10.10 packages.
0.5.7
  • Fixed map corruption bug in map cleaner tool.
0.5.6
  • Was used for testing of automated release process.
0.5.5
  • Fixed vein non-recognition bug in vein digger
  • dfliquids now uses real brushes and the map cache from vein digger.
  • dfliquids supports creation of obsidian floors and river sources.
  • Added column brush to dfliquids - it affects all tiles with clear line of sight from cursor upwards.
  • All brushes can be used for all tools in dfliquids.
  • Range brush in dfliquids is now 3D.
  • dfliquids won't spawn magma/water inside walls.
0.5.4
  • Support for DF 31.21 on Windows.
  • Added dfmode tool for changing game mode. *assuming direct control*
0.5.3
  • Support for DF 31.20 on Windows.
  • Changes required to read the world geology/feature data.
  • Game mode support.
  • Many more bugfixes.
0.5.2
  • Support for DF 31.19 on Windows.
  • Very basic support for DF 31.18 on Linux.
  • Cleanmap tool now also removes any and all broken ammunition from the map.
  • The memory search tool is now part of the tools release. Not all the options work right on Windows, but that should be resolved in the next release.
  • Many bugfixes.
0.5.0.2
  • Support for DF 31.15 and 31.16 on Windows.
  • Merged the range brush for dfliquids. This should allow some easier placing of magma and stuff. (Thanks for the contribution, btw)
  • cleanmap now doesn't affect snow coverings.
  • Don't use the offset file with Linux 31.14-31.16 yet. I'm working on that. It's fallen behind :<
  • The little documentation there is is now outdated.
0.5.0.1
  • Support for DF 31.14 on Windows. Memory.xml should be now good for Stonesense + DF 31.13/14, but it needs a recompile and you'll get some funky colored creatures. Use with the supported tools should be fine.
  • Disabled dfweather for 31.12. The offset was wrong.
  • Don't use the offset file with Linux 31.14 yet. I'm working on that.
0.5.0.0
  • Support for DF 31.13 on Windows and Linux. The Windows Memory.xml can't be used for Stonesense + DF 31.13 yet, because it's missing a lot of offsets. Use with the supported tools should be fine.
  • Added the dfweather tool. It lets you change the current weather to 'clear sky', 'rainy' or 'snowing'. Fill those ponds without mucking around with dfliquids :D Rain can also stop brush fires. Make it snow in the middle of summer!
  • The format of Memory.xml has changed significantly (this is the reason for the major version number bump).
0.4.0.7
  • Added the dfcleartask tool by Quietust. It clears the flag that says items are being used for a task. This should be able to fix the unusable items bug on reclaim.
  • Build system - it is now possible to use Visual C++ Express 2010.
  • Build system - you no longer need to copy Memory.xml into the folders Visual C++ creates for builds.
  • Fixed some memory leaks.
0.4.0.5
  • Support for the 0.31.09 - 0.31.12 SDL versions of DF on Windows. Added Map support for the same version on Linux.
0.4.0.2
  • Support for the 0.31.08 and 0.31.07 SDL versions of DF on Windows. Added Map support for the same version on Linux.
  • Added the dfdoffsets tool.
0.4.0.1
  • Support for the 0.31.06 SDL version of DF on Windows.
« Last Edit: August 14, 2011, 07:49:22 pm by peterix »
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #2 on: June 07, 2010, 09:54:55 am »

Another placeholder, should it ever be necessary.

mumblerit

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #3 on: June 09, 2010, 04:33:02 pm »

update for 31.06?
Logged

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #4 on: June 09, 2010, 05:55:30 pm »

update for 31.06?
Certainly, when I get to it. Right now I'm preparing for CS final exam... lots of fun stuff, but not of the DFHack kind.
I'll see if the changes are minimal enough and if there's no problem, release. Otherwise it could take a few days.

Waladil

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #5 on: June 10, 2010, 05:15:55 am »

Gah. How dare you spend time working on school when you could be helping us have irresponsible fun? You're such a bad person roflmao.

Btw, CS = Computer Science?
That reminds me, I need to get the AP board to send my APCS scores to my college... free college credit, eh?
Logged

Rose

  • Bay Watcher
  • Resident Elf
    • View Profile
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #6 on: June 10, 2010, 05:18:30 am »

don't worry, he's already done it. just hasn't posted here yet.
Logged

Jiri Petru

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #7 on: June 10, 2010, 10:37:35 am »

Obviously it's even available for download here.
Thanks Peterix for your hard work, and good luck with your exams!

EDIT: Or not, sorry for the confusion. It's just the source.
« Last Edit: June 10, 2010, 10:43:06 am by Jiri Petru »
Logged
Yours,
Markus Cz. Clasplashes

wurli

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.0 - tools and memory access library
« Reply #8 on: June 10, 2010, 11:03:15 am »

EDIT: Or not, sorry for the confusion. It's just the source.

that is enough for me
as a linux user i'm happy about that

the missing memory definitions are another topic ;)

"terminate called after throwing an instance of 'DFHack::Error::MissingMemoryDefinition'
  what():  memory definition missing: type address key map_data
Aborted"
Logged

Jiri Petru

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #9 on: June 10, 2010, 03:57:17 pm »

Now  :)
Logged
Yours,
Markus Cz. Clasplashes

Urist McFumbler

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #10 on: June 10, 2010, 11:55:13 pm »

Thank you very much for the quick adaptation to .06.

DFHack has become really important in my recent games (since the .31 series started) due to the blood and vomit fest.  :P

Logged

Gabriel A. Zorrilla

  • Bay Watcher
    • View Profile
    • https://zorrilla.me
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #11 on: June 14, 2010, 11:28:26 am »

Mmmph! I'm not C proficient. I'd like to make a little dwarf manager ala Dwarf Therapist, but in Java (for cross platform).

This library is very hacky, any example about how to access dwarve's info? Or at least, a tool that does that in the CLI so i check the code?

Thanks!
Logged

sizeak

  • Bay Watcher
    • View Profile
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #12 on: June 14, 2010, 04:34:18 pm »

Try the creature dump example...
Logged
Runesmith - http://www.bay12forums.com/smf/index.php?topic=59056.0 - A Dwarf Companion like tool

Ratbert_CP

  • Bay Watcher
    • View Profile
    • The Enraged Primate
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #13 on: June 14, 2010, 04:47:57 pm »

Mmmph! I'm not C proficient. I'd like to make a little dwarf manager ala Dwarf Therapist, but in Java (for cross platform).

This library is very hacky, any example about how to access dwarve's info? Or at least, a tool that does that in the CLI so i check the code?

Thanks!

I spent a couple of days trying to learn JNI to better use dfhack in Java.  I think my brain melted...  :)
Logged
Ratbert #CP#Z
"For FUN and HONOR!"

peterix

  • Bay Watcher
    • View Profile
    • Dethware
Re: DFHack 0.4.0.1 - tools and memory access library
« Reply #14 on: June 14, 2010, 05:41:16 pm »

Mmmph! I'm not C proficient. I'd like to make a little dwarf manager ala Dwarf Therapist, but in Java (for cross platform).

This library is very hacky, any example about how to access dwarve's info? Or at least, a tool that does that in the CLI so i check the code?

Thanks!

I spent a couple of days trying to learn JNI to better use dfhack in Java.  I think my brain melted...  :)
It should be simpler to make bindings for other languages now, because there's a C version of the DFHack API available. With the C++ stuff out of the way, you should be able to make just about any kind of bindings ... Java, C#, etc.


Also, my brain is melting from information overload =D
Pages: [1] 2 3 ... 108