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.

Messages - ragundo

Pages: [1] 2 3 ... 5
1
I love the idea, not much the execution.

Is too convoluted. What is needed is a full dashboard for the stockpiles with a sidebar where you can select all the stockpiles, or filter them, showing also the linked ones etc, would be great.

On the tech side. How is this made? C++?. Is it multiplatform ?

PS. I love tools that runs in another window different from Dwarf Fortress. Today, using a multimonitor setup is common, so I like to have my DF Game in a monitor and use Dwarf Therapist, and your tool in the other one.

2
Probably I'll publish a beta of the version 2 of the plugin, with many enhancements, but also with some bugs.

3
Any plans to update this? Looks really useful but doesn't work with the current versions.
Hi there

I'm waiting for DFHack r3 in order to update it.

4
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r1
« on: June 22, 2020, 05:15:38 pm »
I've been poking around trying to learn DFHack for some tile-designation manipulation, and since there's no documentation on the why-

Is there documentation of, or does anyone know the purpose of the crazy coordinate system used for map tiles? At first I figured "block.map_pos" was the proper coordinates but they increment oddly instead of reflecting the real coords.

Digging through other scripts reveals a crazy 2D array in some of the fields such "block.designation", which I can't figure out the purpose or function of. I've managed to get something working by copying what other people have done, but I'd sure love to know what this structure's for.




The tiles are stored in the df.global.world.map structure.
Inside this structure the datais stored in different ways. There's a 3 dimmensional array (x)(y)(z) of map_blocks called block_index and, also, a vector of pointers to map_blocks called map_blocks.

You can access a map_block of coordinates (x)(y)(z) directly using block_index or iterate over the map_blocks_vector to reach the desired coordinate, or better, use DFHack.

Each map_block stores a 16x16 array of tyletypes, that is the data you are looking for.

It's better to explain it with a image


5
Thanks for the 47.04  :)
Good luck for V2 !

Uh I forgot that I need to publish it for Dfhack 0.47.04 release 1. :o :o
Still working on v2 with some problems with the hyperlink processing after some structural changes I made to the plugin.





6
Utilities and 3rd Party Applications / Re: DFHack 0.47.04-r1
« on: May 23, 2020, 10:56:37 am »
Regarding enums, if you can navigate in gui/gm-editor to the structure containing the fields you're interested in, editing it will give you a popup containing a list of enum items as well as the enum type name.
Can I do that with tiles? All I get is "No valid target found". I've just been using "printall" in lua to examine the fields, then doing another printall if there's another structure.

Now I've just got to figure out how to get the base material of a tile so I can determine if a construction is built in air. It shows up in probe.cpp as "mc.baseTiletypeAt(cursor)", where "mc" is a MapCache object. The "original_tile" field of a "df.global.world.constructions" entry just gives a soil layer, even in air.


You can also use df::global::world.map.map_blocks vector and interate over each entry looking for the desired [x,y,z] coordinate in the map_pos field and getting the tiletypes values in the tiletype array



7
New release!!

  • Updated for dfhack 0.47.04-beta1
  • Linux build will be updated later

Download:

https://github.com/ragundo/DwarfExplorer/releases/tag/v1.2.2

Thanks to the quarantine  >:( I'm working hard on version 2 of the plugin, with lot of new features!

8
this Dwarfexplorer looks very promising. Unfortunately, the v1.2 release's `DwarfExplorer_0.44.07_Win64.zip` doesn't include the `qapplication.plug.dll`, and v1.1's is compiled against dfhack 0.44.12-r3 and wouldn't work with 0.47.03-beta1.

Yes, you are right. I always forgot to include that dependency :o
I released a new version with the missing dll.

https://github.com/ragundo/DwarfExplorer/releases/tag/v1.2.1

Thanks for the info.

9
If you are on Windows, you can take also a look at my plugin Dwarfexplorer (I need to promote it  ;D)



You get:
  • A graphical viewer for all df structures
  • All comments defined in the xml definition
  • Flags decoded
  • Subclasses automatically casted to the correct derived class
  • Visualization of parent classes
  • Open as many windows as you want
  • Zoom Dwarf Fortress window automatically to the coordinate selected in a structure
  • Hexadecimal memory viewer
  • The xml file name where the structure is defined

https://github.com/ragundo/DwarfExplorer

Also I'm working actively right now in the version 2 of the plugin which features:
  • A interactive input where you can choose what structure to show as a lua expression
  • Intellisense for data input
  • Bookmarks to most used structures and recently used expressions
  • Fully dockable views
  • Support for hyperlinking between structures using index-refer-to, etc








10
New release!!

  • Updated for dfhack 0.47.03-beta1
  • Linux build will be updated later

Download:

https://github.com/ragundo/DwarfExplorer/releases/tag/v1.2

11
It would be nice if you could provide binary packages in the github releases page. At least for windows as most players are in that platform and setting a complete Qt toolchain would be very complicated.
Also, in that way, it could be included in Peridexiserrant's df starter pack.

12
You don't need to start a server in lua and interchange data with your application.
Thanks to Clement, it's possible to use Qt directly in DFHack as a C++ plugin.

See https://github.com/cvuchener/dfhack-qt for the framework and
my plugin https://github.com/ragundo/DwarfExplorer as a working Qt dfhack plugin example.

Also, I'm working in something similar, but I started working for the "DF events area" instead of the "sound area".
See https://github.com/ragundo/dwidder.

Anyway, I'd prefer to collaborate in a C++ plugin.

13
IDK if it would be useful to you. but you can also view the raws that DF uses while in-game


14
New release!!

  • Updated for dfhack 0.44.12-r3
  • Added option to zoom the Dwarf Fortress window to coordinates (df::coord) selected in the tree of any structure
  • Same for any building (df::building) selected in the tree

Download:
https://github.com/ragundo/DwarfExplorer/releases/tag/v1.1

15
I just compiled today develop dfhack and saw that your commit was merged. Congratulations!



Please, keep the good work, we need more people working in dfhack/ df tools. ;)

Pages: [1] 2 3 ... 5