Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Topics - myk

Pages: [1]
1
When a new DF release comes out, DFHack devs need to spend time adapting to code and behavior changes. This means that we have to go through all our tools and make sure they still work! We need your help figuring out which are the most important DFHack tools to look at first when the Steam release comes out.

If you can, please help us by writing down the DFHack tools you depend on most in this (very short) survey: https://docs.google.com/forms/d/e/1FAIpQLSfXMmRZNi1Fyb5fOsa2W5RC_MTeu9IGucC-PRDLzkn_0r51Lw/viewform

This is the same survey we posted to Reddit, so if you've already submitted something from there, thank you! and no need to submit again from here.

Feel free to comment in this thread, but please fill out the survey form too! Those are the responses that we're looking at.

2
    Update: quickfort is now part of the official DFHack release!

    The docs are available on the DFHack docs server:
    This thread has also expanded from just quickfort development to support of the whole quickfort ecosystem:

    Original first post:
    I'm implementing quickfort inside of DFHack. Why would I do this? Well, a couple reasons:
    • The original Quickfort is unmaintained, and is based on python2, which is slowly disappearing from the internet's collective consciousness
    • DFHack can apply blueprints faster, can gracefully recover from errors, and can intelligently select building materials based on available items and player preferences
    • There is an opportunity to integrate with other DFHack functionality, like generating workshop orders to build the items required for a blueprint
    For those who are unfamiliar with quickfort/qfconvert, the idea is that you record the keys you want to play back in a spreadsheet. Quickfort moves the cursor to the position that corresponds to the cell in the spreadsheet and plays back the keystrokes. Quickfort runs in one of four modes: dig, build, place, and query. Dig digs, build builds, place places stockpiles, and query changes building/stockpile settings. The mode is determined by a marker in the upper-left cell of the spreadsheet. You can see an example of sheets in each of the four modes here.

    What about digfort and fortplan?

    Yeah, they work great, actually, but digfort only does dig mode and fortplan only handles build mode, and only the buildings that buildingplan supports (mostly furniture). I plan to build on what they already provide, but I'd really like to see support for all buildings and constructions, stockpiles, query mode, the full set.

    So what's your plan?

    I wrote a design doc, if you're into that sort of thing, but here's a quick rundown of what I have in mind:

    Spoiler: Script usage examples (click to show/hide)

    What are your thoughts? How many quickfort users do we have out there who would appreciate something like this? What other features would you like to see? What are the most annoying manual steps you have to take that could be automated by this project?

    Here are the milestones I'm using to track my progress:
    Done
    • Plan is approved by DFHack core devs (@lethosor)
    • Forum thread started for public discussions and progress reports (this one)
    • Blueprint plugin saves files to blueprints/ dir (PR#1607) -- quickfort will read blueprints from this same directory
    • Interface skeletons are implemented (PR#1609, PR#159)
    • Settings can be set (PR#163)
    • Blueprints can be listed (PR#164)
    • Blueprints can be tokenized (PR#165)
    • Dig-mode blueprints can be applied (PR#167)
    • Place-mode blueprints can be applied (PR#168)
    • Build-mode blueprints can be applied (PR#169)
    • Query-mode blueprints can be applied (PR#171)
    • Stockpile settings are initialized (PR#172)
    • Documentation (PR#1617)
    • Curated library of blueprint files is included with DFHack (PR#1625)
    • Xlsx dependencies are included in dfhack build/release (PR#1620)
    • Can read from xlsx files (PR#177)
    • Basic buildingplan integration (PR#1622, PR#184)
    • Orders can be generated from build-mode blueprints (PR#185)
    • Multi-blueprint files/sheets (PR#185)
    • Meta blueprints (PR#185)
    • Zone mode (PR#185)
    • GUI (PR#185)

    All done! I have lots of ideas of where to go from here, but I'd like to see the script get some real usage first so we can work out the bugs.

    Pages: [1]