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

Pages: [1] 2 3 ... 268
1
Utilities and 3rd Party Applications / Re: DFHack 50.11-r4
« on: January 03, 2024, 11:25:07 pm »
we're working on an "items" tool that can filter by properties and make specific changes (like mark for dumping). this sounds like it might be useful to specify filters for in that tool
FWIW, this is similar to the set of features I had in mind when I was referring to the extended stocks screen (https://docs.dfhack.org/en/stable/docs/tools/stocks.html).

The thing is, I was fighting a massive invasion at the time, so the bodies kept pilling up. It's definitely that as the FPS stabilized after it was over. And yes, this is definitely possible with the autodump (used it to teleport bodies to the bridge for atom smashing), but marking all the bodies and other trash for dumping is a hassle, even with rectangle mass marking feature.
Right - my point was that the "stocks" plugin allows (well, allowed) you to search by criteria other than location. e.g. you could select all items with "corpse" in their name and mark them for dumping, then use autodump if you wanted.

I realize now that that "stocks" plugin hasn't been ported to v50 yet, and the "items" tool sounds like a likely replacement for it. So my advice was only really useful for any 0.47 players.

2
DF General Discussion / Re: Future of the Fortress
« on: January 01, 2024, 01:59:16 pm »
I don't really see what gameplay value 3D veins in particular would add to Dwarf Fortress besides confusing people who don't realize that the veins are 3D.
Well, the purpose of the DFHack plugin was to make veins more "realistic" for those who want that. Real-life veins generally aren't flat.

3
Utilities and 3rd Party Applications / Re: DFHack 50.11-r4
« on: January 01, 2024, 12:08:13 am »
(tested by atom smashing some of them which brought in a brief increase in FPS).
If the increase was only brief/temporary and your FPS dropped back down, there is probably a different underlying cause.

Anyway, I suspect something along these lines may already be possible with "autodump" plus some filtering tool (extended stocks screen?), so that would probably be our recommendation. If there are filters missing that you think would be useful, we're open to suggestions. Generally, for this sort of thing, I'd prefer to extend existing commands over creating new single-purpose ones.

4
DF General Discussion / Re: Future of the Fortress
« on: December 28, 2023, 03:29:09 pm »
Has working on Premium Adventure Mode allowed you to make any progress towards restoring the keyboard cursor in Fortress Mode?
There's already a keyboard cursor option that you can enable in fortress mode (I believe as far back as 50.01).

If you mean additional keyboard controls... I suspect no fortress mode keyboard controls are coming along "for free" as part of the adv mode work, but I do know Putnam has been working on some significant UI backend/framework improvements that may make keyboard support (in both modes) easier to develop in the long run. (One nearer-term goal here is to make native searching/sorting features easier to develop as well.)

5
DF Announcements / Re: Dwarf Fortress 50.11 Released
« on: December 26, 2023, 10:41:45 pm »
I've reported a great many backs on the mantis site that were all pet peeves of mine, myriad obstacles that languished in the mantis bug tracker until the site wiped, so many of my old personal wishlist items will likely go eternally forgotten.
Which Mantis are you referring to? I don't believe anything was wiped entirely, although some reports are private.

Long version: the "old" tracker (pre-2022/23, on bay12games.com) should have been migrated completely to the "previous" one (mantishub), which should also have been migrated completely to the new one (https://dwarffortressbugtracker.com/). If you're referring to reports on the previous mantishub tracker that you emailed in, those all went to the "Triage" project, which did migrate over, but is private. (Every issue required manual intervention before it could be made public, including removing the reporter's real name and email address, so there are still 414 issues in that project that haven't been migrated yet.)

6
DF Bug Reports / Re: Notes on Bug Reporting
« on: November 16, 2023, 03:56:43 pm »
Echoing an announcement from Kitfox: the bug tracker has moved to https://dwarffortressbugtracker.com/. It behaves very similarly to the old tracker, and accounts from the old tracker should still work.

The instructions at https://kitfoxgames.notion.site/How-to-Report-Bugs-in-Dwarf-Fortress-Updated-Nov-2023-b5e2ca19dabe408897d1c2669599b7a2 (pinned in this board) point to the new tracker as well.

7
DF General Discussion / Re: 50.10 missing keyboard controls?
« on: November 13, 2023, 03:17:35 pm »
c and e are the defaults.

8
Utilities and 3rd Party Applications / Re: DFHack 50.11-r2
« on: October 26, 2023, 08:22:04 pm »
Interesting.  I thought it was in Lua.  I was asking about other people who knew Lua because I don’t know it and I’m currently learning C++ (and learning two programming languages at once is a bad idea…).  Anyways, I took a look at embark-assistant.cpp, and it’s chock  full of stuff I haven’t learned about yet (although, I have noticed that it uses ‘#pragma once’ in the header files, which the site I’m learning from recommends against as it makes the program non-portable, recommending a “header guard” using #ifdef, #define, and #endif instead).

We use "#pragma once" because it's portable enough for our purposes. All compilers we use support it, and we are limited to those specific compilers because DF uses them. it has a couple advantages over header guards - it's harder to make mistakes (e.g. by forgetting one of the three lines a header guard requires), and it's guaranteed to avoid name conflicts with header guards using the same name.

9
DF General Discussion / Re: PeridexisErrant's DF Starter Pack
« on: October 26, 2023, 08:18:24 pm »
Are there plans to upgrade the starter pack to v50 eventually, or are we still waiting for previous versions' features to be migrated over?

See:

Traditionally [old superstition with some basis in fact!] this kind of update would be immediately followed by a DF release, and another round of frantic community patching by all of the many many people who make this possible... and who knows when the Steam release might be?  (not me - I truly don't have any inside info)  When it does though, I'm expecting to "retire": the Steam edition should help beginners appreciate DF better than anything I can cobble together, and that's always been my motivation for this pack.  It's also been going for a long time - next May I'll celebrate ten years of the Starter Pack, with LucusUp's original-flavor LNP dating further back to 2010!

Ladies, gentlemen, dwarves, and other overseers; it is and has been an honour.  Strike the Earth!

10
DF Announcements / Re: Dwarf Fortress 50.10 Released
« on: September 28, 2023, 10:03:22 pm »
I mean, this is a fair point:
If you build libc from sources, this should not be a problem, as during the build process information about syscalls will be obtained from the kernel that is present on your system. See --with-headers here https://www.gnu.org/software/libc/manual/html_node/Configuring-and-compiling.html
It might work. But it also might crash, and if it does, you should probably consider this the reason and avoid reporting it through the official bug-reporting channels.

I realize this isn't great for older distros. DFHack folks are still looking at how we can help with improving compatibility, and I know Putnam has been too, but it could still be a bit before something is figured out.

11
DF Announcements / Re: Dwarf Fortress 50.10 Released
« on: September 27, 2023, 11:06:24 pm »
What I described is not replacing libc, but installing a new one, specifically for the purpose of running DF with it. I don't think this can cause any problems for your system, at worst your DF will still be not working.
That's exactly what I meant by "replacing glibc" - replacing the glibc that DF is using. Replacing it system-wide would be even worse and didn't cross my mind. I was using the word "replacing" interchangeably - sorry for the confusion:

Dumping a different libc.so into the DF directory is a good way to cause lots of crashes. See e.g. https://stackoverflow.com/q/21190908

Part of the reason this is unsafe, from my understanding, is that glibc integrates tightly with certain system calls. If your kernel provides different system calls than the kernel glibc was built for, bad things will happen.

12
DF General Discussion / Re: 50.10 missing keyboard controls?
« on: September 27, 2023, 10:15:15 am »
If you've got an M1 mac, your wait might be a little bit. I won't pretend to know much about the backend code for DF, or cross-compilation from normal x86-64 AMD asm, but I've heard it's not easy. You might be better off trying to see if you can get a cheapo x86 laptop and put Linux on it if you're deadset on using zsh. (BASH is still better ;-))

DF is written in C++. I would be shocked if there was anything architecture-specific that prevented it from compiling to ARM64. DF used to have PowerPC Mac builds, back in the day. Getting DF to compile under GCC and/or Clang would be necessary, but that has already been done for Linux. The only other thing that comes to my mind is that a sufficiently-new version of macOS would be needed to target ARM64, and with that, likely new hardware. Bay12 is aware of this, although I don't know how far along they are in the purchasing process.

13
DF Announcements / Re: Dwarf Fortress 50.10 Released
« on: September 27, 2023, 10:09:59 am »
Less glad to see no mention of bridges and the inability to choose a direction for them in Classic. :(
My understanding is that you can change that in classic, you just can't see the buttons. Not particularly easy, I know.


libc is a harder problem here.

It should be (theoretically, I haven't tried it myself, and I don't have a buster install to do so) possible to fix this by:

1) download http://ftp.gnu.org/gnu/glibc/glibc-2.34.tar.gz and extract somewhere, for example into df/libc2.34
2) apt install patchelf
3) using patchelf, modify two properties of the dwarfort binary (note that paths _MUST_ be absolute):
Code: [Select]
$ patchelf --set-interpreter /absolute/path/to/your/df/libc2.34/ld-linux.so.2 dwarfort
$ patchelf --add-rpath /absolute/path/to/your/df/libc2.34 dwarfort

As for libstdc++ part of the problem, it should be fixable by downloading the appropriate version of the .so and placing it in the same directory where dwarfort is located.

Or, you could update your Debian 10 to the current stable version (12) and all of this would be fixed.

Replacing libc is what I said would likely be unsafe a couple posts above yours. Also, that archive you linked is just the source - you would also need to compile glibc if you went through those steps.

14
DF Announcements / Re: Dwarf Fortress 50.10 Released
« on: September 24, 2023, 09:51:51 am »
Iklistkel: Yeah, glibc compatibility is a problem, but hopefully it's not too hard to fix.  Don't give up hope yet :-)  Really you just need to get the correct versions of the libraries and stick them in the DF directory (and also set the LD_LIBRARY environment variable to use the libraries in that directory).

Is anybody organising this?  I could potentially help if there is a lack of expertise.  I don't think there is any particular reason to wait for Putnam to fix it.  We could just bung together the correct libs from more recent versions of debian along with the startup script that's in the community release and it would probably just work.

Dumping a different libc.so into the DF directory is a good way to cause lots of crashes. See e.g. https://stackoverflow.com/q/21190908

I know people from DFHack have been talking with Putnam about improving compatibility by building on an older system, and/or with an older compiler. It's easier said than done because DF is actually using some C++20 features now that GCC 10 does not support. It is on Bay12's radar, though.

15
r1.1 has been put up on GitHub, which fixes a crash on startup with the Windows Itch build of DF. Everything else is identical to 50.10-r1.

GitHub download: https://github.com/DFHack/dfhack/releases/tag/50.10-r1.1

(This release has not been put up on Steam because it doesn't affect Steam DF.)

Pages: [1] 2 3 ... 268