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 - lethosor

Pages: [1]
1
DF Wiki Discussion / [Maintenance] Wiki upgrades, June 2019
« on: June 08, 2019, 09:34:11 pm »
We're doing some upgrades on the wiki, so it is currently read-only, and you'll get a warning about this when you try to edit a page. This is expected behavior. (And by "we" I mean mostly Emily.)

The wiki should continue to be viewable by everyone during most of this process, but there may be occasional downtime. We'll make an announcement when the upgrades are complete, and please let us know if you notice anything out of the ordinary afterwards.

2
Utilities and 3rd Party Applications / DFHack 50.12-r2.1
« on: May 13, 2017, 10:35:51 pm »
DFHack is a cross-platform framework allowing for easier development of tools that access DF memory (and of course, making the game more enjoyable for players). It comes with some useful tools that can fix your fort and make it easier to manage. DFHack integrates with Dwarf Fortress and extends it with plugins, scripts, a console, a way to bind hotkeys to commands, support for external tools to connect over the network, and more.

Continued development of DFHack would be impossible without its contributors and definitely isn't a one man show. Check this out!

DFHack 50.12-r2.1: Download (Current stable, for 50.12, Windows and Linux, all builds)
Nightly builds: Download (May be unstable)

Note: all releases can be found on GitHub.

Please report bugs in the GitHub issue tracker. This includes documentation issues and gaps. Feature requests are also welcome there, or you can discuss features beforehand here if you prefer.
If bugs are only reported in this thread, they may be forgotten. You can create a GitHub account here in order to open issues in the issue tracker.

Documentation for the current stable version of DFHack can be found here: http://dfhack.readthedocs.io/en/stable/
Documentation for the latest development builds, including DFHack pre-releases, can be found here: http://dfhack.readthedocs.io/en/latest/

Some quick documentation links:

We have a couple chat options, listed here in order of age. Note that many people in these channels are idle and will only check them periodically. Please don't ask a question and leave seconds later without waiting for an answer.
(Note: our previous Freenode channel has been effectively deleted - many people have moved to Libera and/or Discord)
For even more support channels, see https://docs.dfhack.org/en/latest/docs/Support.html

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.

Some older versions of DFHack that aren't on GitHub can be found here: http://dethware.org/dfhack/download/

Previous threads: Peterix (through 0.34.11-r4) - Expwnent (through 0.43.03-r1)

3
DF Wiki Discussion / Poll: New namespace name
« on: November 26, 2015, 11:25:27 pm »
We've set up a poll for the namespace name for the new version here: https://docs.google.com/forms/d/1SG1atLYyK79BqUMVz6pH2R1Pur1XkAAiRFWgeBI_Xz4/viewform
This could be a name for an entirely new namespace or a new name for the current DF2014 namespace. If we do end up creating a new namespace, the old one will probably be named "v0.40", like we've done with past releases.

4
DF Suggestions / Move dwarfort.exe to subfolder on OS X
« on: June 28, 2015, 08:05:42 pm »
The OS X executable is currently named "dwarfort.exe", which tends to confuse new players. Some people have concluded that the OS X package contains a Windows executable and opened reports on the bug tracker, or tried to run it through wine (which doesn't work because it is an OS X executable). Running it directly doesn't work either (unless the libraries DF requires are installed system-wide, which almost certainly won't be the case with fmodex and the version of libstdc++ DF uses) - the "df" script has to be used instead. This is also the case on Linux, but the executable is named "Dwarf_Fortress" and placed in the "libs" folder, which reduces its visibility and is a more fitting name. I'm not particularly concerned about the executable name, but I do think that moving it into the "libs" folder on OS X as well would reduce confusion, and would only require editing the "df" script.


5
DF General Discussion / Confirmation suggestions
« on: June 06, 2015, 09:56:14 am »
I'm working on a DFHack plugin to implement confirmation dialogs for potentially dangerous actions that DF is lacking. I've currently implemented the following, but I'm looking to implement more before the next DFHack release (these don't have to be specific to fortress mode):
  • Seizing goods from merchants
  • Offering goods to merchants
  • Removing a depot when merchants are present
  • Deleting a hauling route or stop
(These can be enabled and disabled individually.)
Any other suggestions?

6
Following some suggestions for the manipulator plugin that proved difficult to implement in C++, I've been working on a replacement script written in Lua. It currently implements most basic functionality of the manipulator plugin, although some (particularly more recent features like batch editing and custom professions) are not yet implemented:
Spoiler (click to show/hide)
Performance has improved recently - although this script isn't quite as fast as the plugin, performance shouldn't be a noticeable issue (see "Notes" below). There will usually be a small delay when the script starts, but CPU usage in general should be reasonable.

Usage:
* Download the latest release from GitHub
* Copy the "manipulator" folder from the archive to "hack/scripts/manipulator" in your DF folder.
* (Optional) Add a keybinding to dfhack.init (if you've already started DF, running this command in the DFHack console works as well):
Code: [Select]
keybinding add Alt-L@unitlist manipulator/main
(Alt-L can be changed to another key if you prefer.)
* On the unit list screen (u), press the key you bound to manipulator/main above or run manipulator/main in the DFHack console.

New features:
* Customizable columns: Columns can be added and edited in manipulator/columns.lua. (In fact, this is where the default columns are defined as well.) Columns can be reordered by pressing "C" in the main manipulator screen - their order persists until DF quits.
* The Shift key performs some additional functions in combination with the mouse - for example, reversing the skill sort order when clicking on grid headers and toggling an entire group of labors in the labor grid.

Manipulator plugin features already implemented:
* Basics (scrolling, labor modification) and most grid keybindings
* Viewing and zooming to units
* Sorting by skills
* Stable sort
* Batch edits

Manipulator plugin features not yet implemented:
* Sorting by column values
* Format options when editing unit names (e.g. including units' ages, professions, list positions)
* Custom professions

Possible features:
* Searching
* Saveable column layouts
* Allow columns to be defined in multiple scripts (for example, on a per-save basis or by dropping additional scripts into the hack/scripts/gui folder instead of editing manipulator-columns.lua)

Notes:
* This script requires DFHack 0.40.24-r2 or above.
* Bugs and feature requests can be reported in this thread or on the Github issue tracker
* This script makes use of a new C++ drawing API that isn't included in DFHack 0.40.24-r3 or earlier. If it is unavailable, this script will fall back to an alternative, slower implementation written in Lua. I've only noticed a 20% difference in speed on my machine, but performance should be better in future DFHack releases.

7
DF Wiki Discussion / Mediawiki update
« on: October 07, 2014, 03:44:57 pm »
We are currently in the process of updating the wiki to Mediawiki 1.23 (and possibly switching over to a new database as well). Since the wiki may be temporarily unavailable or locked during this process, this thread is where we'll post updates and discuss the migration.

Current status:
  • One of the wiki's servers is currently being tested with Mediawiki 1.23. As long as you access "dwarffortresswiki.org" directly, as opposed to accessing individual nodes (e.g. "dfweb1.dwarffortresswiki.org"), this shouldn't affect you. Please make all edits to pages on dwarffortresswiki.org to avoid losing them when the remaining servers are updated.
  • WikiEditor (the extension that provides the editing toolbar) is experiencing problems (possibly a cache issue).

8
Utilities and 3rd Party Applications / Lethosor's DFHack scripts
« on: September 18, 2014, 04:10:32 pm »
(This is very out-of-date. Many extra scripts are in the repo that aren't listed here, and the ones in the main folder in particular may be useful. I'll update this list at some point, although we're still trying to figure out how to deal with including scripts like these in DFHack.)

This is a collection of DFHack scripts that I've written. Sources are available on Github (you can download individual scripts by clicking the "Raw" button when viewing them, or download everything with the "Download ZIP" button in the sidebar).
Feature requests and bug reports can be made in the Github issue tracker or here. I prefer Github for organizational purposes (and may migrate suggestions and reports to the issue tracker), but reports and general discussion in this thread are fine as well.

Major UI scripts/changes:
  • gui/cp437-table: Allows input of all CP437 characters
  • gui/extended-status: Adds more pages to the z-status screen (currently just bedroom information)
  • gui/load-screen: A replacement for the "Continue game" screen
  • gui/settings-manager: An in-game init file editor. Currently supports most init.txt and d_init.txt settings and colors.txt, and support for announcements.txt is planned.

Cheating:
  • adv-max-skills: Sets all of an adventurer's skills and attributes to their maximum values during creation
Spoiler (click to show/hide)
  • embark-skills: Adjusts the skills of dwarves when embarking, similar to adv-max-skills

Miscellaneous:
  • annc-monitor: Displays all announcements and reports (in color) in the DFHack console. More options are planned, such as displaying only certain types of announcements and writing announcements to a file with additional information.
  • click-monitor: Displays the grid coordinates of the mouse (i.e. the tile position) when the mouse is clicked.
  • invert-colors: Inverts DF's color scheme in-game. (This is intended as a proof-of-concept for colors.txt support in settings-manager.) Not tested with tilesets.

9
DF Wiki Discussion / Namespace migration
« on: June 23, 2014, 03:58:00 pm »
As with the 0.34 release, we plan on creating a new namespace for the upcoming release. The poll results are:
  • New namespace: DF2014
  • DF2012 -> v0.34
We also need to determine how to handle fact-checking of migrated information (we plan on copying over DF2012 articles to avoid writing DF2014 articles from scratch). Some possibilities:
  • Flagging all migrated articles with a template to help editors locate unchecked articles. Once updated, these templates can be removed. (We can also create a template for marking individual sections, particularly for long articles where checking the entire article isn't feasible.)
    Example
  • Adding references (e.g. to talk pages/forum threads where research has taken place). I've created some basic templates to do this, essentially simplified versions of Wikipedia's citation templates. These are not strictly enforced, unlike on Wikipedia, but will hopefully cut down on the "perpetual verification" cycle common during releases (where information is constantly flagged for verification and re-checked).
    Example (first paragraph)

10
Utilities and 3rd Party Applications / [DFHack script] load-screen
« on: May 22, 2014, 06:17:20 pm »
I'm rewriting this in Lua - you can find the development version of the script here (works with r3 and up).

11
This is very outdated and unlikely to be maintained. Some alternatives:

Spoiler (click to show/hide)

Pages: [1]