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 ... 4 5 [6] 7 8 ... 50
76
Thanks for the report.

You can try with the latest game_data.ini, it should fix this.

77
I can confirm emotion types are incorrect. Thanks for the report.

78
And since I fixed the most obvious bugs. I made some test builds for DF 0.50. The OSX and win32 versions are useless. The linux version should work with DF running in wine/proton. Please check that DT is consistent with in-game information and report any issue you find (except "labors are overwritten by work details").

79
And I also added the memory layout for 0.50.05 in my development branch.

80
New version released: 41.2.5

This is likely the last release for DF 0.47.05 and older.

Changelog:
  • added Beliefs grid view
  • removed outdated Social-Alt grid view
  • removed commitment from sexual orientation info
  • fixed configuration file permission on macOS

81
The memory layout for 0.50.04 is starting to look good. I may make some test builds soon. Now that citizens are correctly recognized, you can set labors but they will be overwritten by work details. If you are building from the branch in this pull request, I am interested in bug reports (disabling work details is not implemented yet, so setting labors is still broken).

82
Utilities and 3rd Party Applications / Re: DFHack 0.47.05-r8
« on: January 05, 2023, 05:32:06 am »
I prefer asynchronous discussions. I'll create a github issue.

83
Utilities and 3rd Party Applications / Re: DFHack 0.47.05-r8
« on: January 04, 2023, 09:49:37 am »
I started looking at invalid offsets in Dwarf Therapist. Are you interested in me reporting my issues for df-structures or are you busy enough right now?

84
The network rpc is pretty fast, and I've used it plenty for small reads.

How much is "plenty"? DT often reads integers one at a time and this leads to hundreds of thousands of calls to read_raw for a small save. If I force reading all creature raws, it is over a million. I think I tested a naive implementation of read_raw over DFHack RPC a long time ago and it took over 15 minutes to load. Maybe it was an issue with debug performance, maybe my DFHack RPC implementation was bad. There may also have been an issue with DT attach/detach mechanisms not being used correctly. Anyway it is slower than single system calls and it reveals a lot of issue in the way DT reads its data but it should be fixable.

Hi there :) first message on Bay12 forums to thank you for the work you put in updating DTherapist. To react to some previous messages, I never used DFHack, while I wouldn't be able to play whithout DTherapist.

I want to ask this not to put any pressure on anyone but because I have absolutely no idea of the difficulty of the task: is having a 50.04 compatible version of DTherapist a matter of months? Of weeks? (of minutes, why not :D )

I cannot make any promise except that it is not minutes. As I already said, I plan to make a read-only release (or maybe with old-school labor management using Putnam trick) as soon as DFHack's df-structures is good enough for me (that is usually before it is good enough for DFHack itself since DT only uses a small subset of it). Then take my time to add support for new features like work details.

85
I think it's probably possible to have a backend that works via native memory access and one that interfaces with DFHack, although it would probably be a bit more work to support both options at once. But if we want to support macOS and support users on other platforms who don't want to use DFHack, I think these two backends is the most feasible approach.

One idea I want to evaluate is keeping the reading low level. That is mostly moving the calls to vm_read_overwrite/process_vm_readv/ReadProcessMemory into dfhack to avoid permission issues. The main difficulty is that DT does a lot of small reads, with a whole network RPC for each read this is not possible, reads need to be aggregated. I need to check if reading whole object at once is enough, or if I need to read and cache whole pages or group of pages. Also COW strings may be very bad for this, I hope the next version will use SSO strings.

86
Actually I was partially wrong, skills should be correct in "Dwarf Details" or in the dwarf tool-tip, but grid views needs to be updated too. If you check the tool-tip over the "Gelding", you may read something like "Gelding - Competent Musician", so the skill you see is actually "musician".

87
Utilities and 3rd Party Applications / Re: DFHack 0.47.05-r8
« on: December 29, 2022, 07:57:12 am »
Thanks, it worked.

88
Most amusingly, it thinks half of my fort are legendary Gelders.
Skills are supposed to be fixed. Did you install the modified game_data.ini?

Work detail support wouldn't be necessary for basic labor support; as of v50.04 there is a global external flag exported by the game with the rest of the global addresses that can be flipped to disable work details completely so that utilities can do more granular operations without work details stomping on them (since they replace all dwarf labors whenever they're modified at all).
What is the name of this flag?

Anyway, work detail support will have to be added sooner or later. Adding memory management capabilities will also enable for other features like burrow management, or maybe occupations. It would be something really nice to have.

About macOS support, I cannot maintain it because Apple does not make it easy to develop applications for mac without Apple hardware. And it has bugs like requiring running as root. Replacing the macOS port with a DFHack port would fix all of this. It could still be optional for other platforms.

89
Utilities and 3rd Party Applications / Re: DFHack 0.47.05-r8
« on: December 28, 2022, 08:47:24 am »
I have built the latest DFHack using BenLubar's docker image. When I copy the files over the Steam directory it seems to work (at least the basics, I get a console window and I can load a game). If I do the same with a copy of the steam version outside of steam and run it with Fedora's wine (wine-7.22 (Staging), running "wine Dwarf\ Fortress.exe"), I don't get a console and DF freezes when I load a game or quit. Without dfhack the same wine version and prefix appears to work. Does dfhack requires a special wine configuration that Steam has, but my distribution wine doesn't?

90
Utilities and 3rd Party Applications / Re: DFHack 0.47.05-r8
« on: December 27, 2022, 06:08:35 am »
You should update cmake. It is not that it does not find MSVC, it's that it doesn't know it.

Pages: 1 ... 4 5 [6] 7 8 ... 50