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 - Clément

Pages: 1 ... 17 18 [19] 20 21 ... 50
271
Experimental memory layouts for 0.47.01:
They are not finished yet, expect some issues.

272
Utilities and 3rd Party Applications / Re: Need help with a UI idea I had
« on: January 30, 2020, 12:02:45 pm »
Phoebus assembler was composing tiles from multiple sources. And my tool does it too, although with slightly different methods (you simply stack layers using Qt's composition modes). If this is not enough, we can discuss it and see what can be done.

I re-uploaded the demo on github, so the link should stay alive for whenever you have the time to look at it.

273
Utilities and 3rd Party Applications / Re: Need help with a UI idea I had
« on: January 30, 2020, 10:52:18 am »
The same thing you asked before?

274
Utilities and 3rd Party Applications / Re: DFHack 0.44.12-r3
« on: January 30, 2020, 08:54:40 am »
By C++ ABI, I meant both compiler and standard library ABIs. On the compiler side you'll get issues with name mangling, class layout, call conventions, ...

275
Utilities and 3rd Party Applications / Re: DFHack 0.44.12-r3
« on: January 30, 2020, 05:54:00 am »
The issue is that MSVC and GCC C++ ABIs are incompatible (there is no standard C++ ABI). It is not about posix/win32 translation. You are stuck with whatever compiler Toady uses.

276
Yes, don't worry they are created again each time you start DT.

277
I guess you are using PeridexisErrant's pack. PyLNP is only the launcher used in the packs.

Check C:\Users\<your username>\AppData\Local\Dwarf Therapist\log\dwarftherapist.log for errors or warnings.

278
If you want to allow all applications (like Dwarf Therapist) to debug others, you need to edit /etc/sysctl.d/10-ptrace.conf and change "kernel.yama.ptrace_scope = 1" to "kernel.yama.ptrace_scope = 0". The first method using the script only allows Dwarf Fortress to be debugged by anyone.

279
The magic wand is the script I linked. Ideally it should be pre-applied to the LNP but I don't think it is the case yet.

If you want dumb command lines to copy and paste try this:
Code: [Select]
sudo apt install gcc zenity
wget "https://raw.githubusercontent.com/Dwarf-Therapist/Dwarf-Therapist/master/dist/ptrace_scope/patch_df_ptracer" -O /tmp/patch_df_ptracer
chmod +x /tmp/patch_df_ptracer
/tmp/patch_df_ptracer
When you are asked to select the DF folder, you need to select the one containing the "df" and "dfhack" (if you use dfhack) scripts.

Another solution involves editing files in /etc/sysctl.d, but I don't remember which one exactly. What is the output of "grep -RF ptrace_scope /etc/sysctl* /usr/lib/sysctl.d/"?

280
setcap won't work with the appimage.

I recommend downloading this script, making it executable (chmod +x patch_df_ptracer) and run it with df path as parameter (./patch_df_ptracer /somewhere/df_44_12_linux).

The best solution would be to install Dwarf Therapist with a deb package, but I am not aware that anyone made them.

281
New version released: 41.1.2

Changelog:
  • re-added missing noble section roles grid view
  • add experimental style choice in the option dialog

The windows builds now include two dark styles from here and here. Tell me which one is best, I don't there is the need to keep the two of them. You should restart DT after changing the style or it may not be applied correctly.

Windows builds are also available on DFFD (win32, win64).

282
DF General Discussion / Re: LinuxLNP STABLE - 0.44.12-r03 x64
« on: December 06, 2019, 05:09:45 pm »
For searching ubuntu packages, use https://packages.ubuntu.com. For example: https://packages.ubuntu.com/search?suite=bionic&arch=amd64&mode=filename&searchon=contents&keywords=libSDL-1.2.so. But you need a few more packages than this one.

For DF specifically, the wiki has a list: http://dwarffortresswiki.org/index.php/DF2014:Installation#Install_dependencies. Start by installing these ones and try again.

283
Utilities and 3rd Party Applications / Re: DFHack 0.44.12-r2
« on: December 03, 2019, 08:26:02 am »
I am trying to import df structures in ghidra, using codegen_c_hdr.pl from df_misc. But I have issues with nested types, for example: unitst.job use type unit_action::T_job instead of unitst::T_job, leading to invalid offsets. Has anyone successfully imported df structures into ghidra and how?

284
I think I understand why the strength is almost always 0. The very tick the thought happens the strength in non-zero but after it is only kept for the thought screen and the strength becomes 0. Some thoughts like rain happen over a period of time, the strength is non-zero for the duration of the thought but may vary over time.

Sadly, this means that I cannot find the most impactful past thoughts because their strength is always 0.

A small correction: the emotion strength stays non-zero for a little while (a few hundreds ticks) after the emotion date has stopped updating. It is still useless for long term stress diagnostics.

285
Thanks feelotraveller, I created the PR.

Pages: 1 ... 17 18 [19] 20 21 ... 50