Bay 12 Games Forum

Please login or register.

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

Author Topic: DFHack 0.40.24-r3  (Read 240154 times)

expwnent

  • Bay Watcher
    • View Profile
DFHack 0.40.24-r3
« on: June 20, 2014, 02:40:48 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. DFHack integrates with Dwarf Fortress and extends it with plugins, a command console and a way to bind hotkeys to the commands.

Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out! Peterix started the project but has become relatively inactive so I've volunteered to take over managing the releases. It's open source so anyone can add changes and make their own releases.

Some command examples:
'reveal'     - reveals the map or portions of it.
'digFlood' - digs out a mineral vein as it is discovered without revealing the size
'prospect'   - counts available raw materials - mostly minerals.
'clean'      - removes nasty bloodstains and other such materials from the map, items and creatures.
'cleanowned' - removes ownership of claimed items, solving problems with worn clothing and military starving out the fort.
'stonesense' - an embedded version of the Stonesense isometric visualizer, ready for use.

And many more...

How to install DFHack:
  • First, get the archive meant for your system. Extract the contents into your DF folder.
  • On Windows, you're ready to use DFHack. An extra command line window should appear when you run DF.
  • On Linux, use the 'dfhack' script from a terminal to run DF with DFHack. If you have stonesense problems, you might have to get your own allegro 5 libraries and delete the ones in stonesense/deplibs.

How to uninstall DFHack:
  • Remove 'stonesense', 'hack' and 'dfusion' folders from your DF.
  • On Windows, remove SDL.dll and rename SDLreal.dll to SDL.dll
  • On Linux, remove the dfhack script.

Read the Readme for the full list of commands, their usage and installation instructions.

DFHack 0.40.24-r3 (Current):
Download Link

Currently Available Versions:
  • Linux (gcc 4.9.2)
  • Linux (gcc 4.5)
  • Windows
  • OSX

What's New

Code: [Select]
DFHack 0.40.24-r3
    Internals
        Ruby library now included on OS X - ruby scripts should work on OS X 10.10
        libstdc++ should work with older versions of OS X
        Added support for onLoadMap/onUnloadMap.init scripts
        game type detection functions are now available in the World module
        The DFHACK_LOG_MEM_RANGES environment variable can be used to log information to stderr.log on OS X
        Fixed adventure mode menu names
        Fixed command usage information for some commands
    Lua
        Lua scripts will only be reloaded if necessary
        Added a df2console() wrapper, useful for printing DF (CP437-encoded) text to the console in a portable way
        Added a strerror() wrapper
    New internal commands
        hide/show: hide and show the console on Windows
        sc-script: Allows additional scripts to be run when certain events occur (similar to onLoad*.init scripts)
    New plugins
        autohauler: A hauling-only version of autolabor
    New scripts
        modtools/reaction-product-trigger: triggers callbacks when products are produced (contrast with when reactions complete)
    New tweaks
        fps-min: Fixes the in-game minimum FPS setting
        shift-8-scroll: Gives Shift+8 (or *) priority when scrolling menus, instead of scrolling the map
        tradereq-pet-gender: Displays pet genders on the trade request screen
    New features
        autolabor: A negative pool size can be specified to use the most unskilled dwarves
        catsplosion: Works on any specified races
        exportlegends: Now exports more information
    Fixes
        Fixed game type detection in:
            3dveins
            createitem
            reveal
            seedwatch
        Made PRELOAD_LIB more extensible on Linux
        add-spatter, eventful: Fixed crash on world load
        building-hacks: made buildings produce/consume correct amount of power
        Gave add-thought a proper subthought arg.
        fix-armory compiles and is available again (albeit with issues)
        gui/gm-editor: Added search option (accessible with "s")
        hack-wish: Made items stack properly.
        modtools/skill-change: made level granularity work properly.
        show-unit-syndromes should work
        stockflow: Fixed error message in Arena mode
        stockflow: No longer checks the DF version
        stockflow: Fixed ballistic arrow head orders
        stockflow: Now convinces the bookkeeper to update records more often
        zone: Stopped crash when scrolling cage owner list
    Removed
    Misc Improvements
        building-hacks: Added a way to allow building to work even if it consumes more power than is available. Added setPower/getPower functions.
        catsplosion: Can now trigger pregnancies in (most) other creatures
        exportlegends: 'info' and 'all' exports legends_plus xml with more data for legends utilities
        manipulator:
            Added ability to edit nicknames/profession names
            Added "Job" as a View Type, in addition to "Profession" and "Squad"
            Custom profession templates, with masking
        remotefortressreader: Exposes more information

Bugs should be reported here: Issues Tracker

There's an IRC channel on freenode: #dfhack (irc://irc.freenode.net/dfhack or web client)

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

DFHack has many developers so we don't take donations. Donate generously to Toady instead! You can say it's in honor of DFHack if you want.

Full list of (old) downloadable versions can be found here: http://dethware.org/dfhack/download/

Previous Thread
« Last Edit: March 31, 2015, 08:53:51 am by expwnent »
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #1 on: June 20, 2014, 02:41:07 am »

Older releases:
Spoiler (click to show/hide)
« Last Edit: March 30, 2015, 12:10:57 pm by expwnent »
Logged

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #2 on: June 20, 2014, 02:41:48 am »

Reserved.

fricy

  • Bay Watcher
  • [DFHACK:ZEALOT]
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #3 on: June 20, 2014, 05:35:09 am »

PTW, standing by for OSX compile.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #4 on: June 20, 2014, 05:55:44 am »

I have a working OS X build, which I will upload as soon as I can (assuming danaris doesn't do it first).
Logged
DFHack scripts - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #5 on: June 20, 2014, 06:20:14 am »

PTW.  It's great to have an official release again - hopefully all the various scripts and plugins can once more support a single version.  The new features also look great!

I noticed that the Readme link goes to expwnent/dfhack, while the other links are to DFHack/dfhack - is this intentional, and are there any plans regarding the organisation page?
Logged
I maintain the DF Starter Pack - 600,000 downloads and counting.  Donations here.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #6 on: June 20, 2014, 06:27:48 am »

I noticed that the Readme link goes to expwnent/dfhack, while the other links are to DFHack/dfhack - is this intentional, and are there any plans regarding the organisation page?
The 0.34.11-r5 branch hasn't been merged back into DFHack/dfhack yet.
« Last Edit: June 20, 2014, 07:07:42 am by lethosor »
Logged
DFHack scripts - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

PeridexisErrant

  • Bay Watcher
  • Dai stihó, Hrasht.
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #7 on: June 20, 2014, 06:49:58 am »

Thought it'd be something like that.  I'm playing around with it now - i'll probably hold a starter pack release a day or two for Falconne's plugins to update, but I have to mention that your embark tools are fantastic

Edit:  very minor bug report, in the dfhack.init_example workflow bindings are given twice - near the top of the contextual bindings as Ctrl-W, Ctrl-I; and near the bottom as Alt-W. 
« Last Edit: June 20, 2014, 07:04:33 am by PeridexisErrant »
Logged
I maintain the DF Starter Pack - 600,000 downloads and counting.  Donations here.

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #8 on: June 20, 2014, 07:03:14 am »

Here is an OS X build.
Logged
DFHack scripts - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

greycat

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #9 on: June 20, 2014, 08:51:48 am »

I noticed that the Readme link goes to expwnent/dfhack, while the other links are to DFHack/dfhack - is this intentional, and are there any plans regarding the organisation page?
The 0.34.11-r5 branch hasn't been merged back into DFHack/dfhack yet.

The Readme linked in the top post, under "Getting DFHack", links to http://github.com/peterix/dfhack and says releases are announced in http://tinyurl.com/dfhack-ng which redirects to the r3 forum thread.

It's all very confusing.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

lethosor

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #10 on: June 20, 2014, 09:01:05 am »

I noticed that the Readme link goes to expwnent/dfhack, while the other links are to DFHack/dfhack - is this intentional, and are there any plans regarding the organisation page?
The 0.34.11-r5 branch hasn't been merged back into DFHack/dfhack yet.

The Readme linked in the top post, under "Getting DFHack", links to http://github.com/peterix/dfhack and says releases are announced in http://tinyurl.com/dfhack-ng which redirects to the r3 forum thread.

It's all very confusing.
peterix/dfhack redirects to DFHack/dfhack, the new official repo (the links in the readme are outdated, as is the link in the first post). Expwnent made this release from a branch in expwnent/dfhack, which should be merged back into DFHack/dfhack once someone with write access decides to.
Logged
DFHack scripts - Dwarf Manipulator (Lua) - DF Wiki talk

There was a typo in the siegers' campfire code. When the fires went out, so did the game.

expwnent

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #11 on: June 20, 2014, 11:56:10 am »

The links pointed to my repo for things that have changed in this release. There are a few links to the main repo for things that have not changed and for things like the bug tracker, which is one of the places bug reports should go (this thread or the irc channel are also fine). Now that I have write access to the main repo, I switched the links to there. Everything should be fine now.

The readme there is wrong. It's a bug in the documentation.
« Last Edit: June 20, 2014, 12:18:33 pm by expwnent »
Logged

FallenAngel

  • Bay Watcher
  • !!x(oᴥo)x!!
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #12 on: June 20, 2014, 12:51:51 pm »

This, my friends, is going to be Fun.
And Helpful.
And !!Helpful!!.
Dfhack is awesome.
EDIT: Which plugin lets you manage jobs and check emotions? Because it doesn't seem to be on automatically.

greycat

  • Bay Watcher
    • View Profile
Re: DFHack 0.34.11 r5
« Reply #13 on: June 20, 2014, 02:50:04 pm »

EDIT: Which plugin lets you manage jobs and check emotions? Because it doesn't seem to be on automatically.

I believe you're referring to "manipulator" (this is the ASCII version of Therapist, which you get by pressing u l) and "dwarfmonitor", which puts the colored numbers in the lower right corner of the main screen.
Logged
Hell, if nobody's suffocated because of it, it hardly counts as a bug! -- StLeibowitz

Meph

  • Bay Watcher
    • View Profile
    • Unlocked Achievements
Re: DFHack 0.34.11 r5
« Reply #14 on: June 20, 2014, 02:51:19 pm »

I have a question, one that is rather important for MasterworkDF. Especially considering that I myself cannot code C++. Lua I understand a bit by now.

How much cross-compability exists between r4 and r5, and, if any assumptions can be made, how much updating will need to be done for the DF2014 release?

Where the r5 release has 36 scripts in the script folder, Masterwork has 151. If most of them break, a big portion of the mod becomes broken as well.
Logged
::: ☼MASTERWORK☼ Dwarf Fortress - A comprehensive mod pack with 25% higher FPS :::
::: Accelerated DF - The FPS boost of Masterwork with no other changes :::
::: WorldBicyclist.com - Follow my bike tours around the world :::
- Donate -
Pages: [1] 2 3 ... 198