Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.43.05 memory layouts #311

Open
1 of 3 tasks
wookietreiber opened this issue Jun 29, 2016 · 32 comments
Open
1 of 3 tasks

v0.43.05 memory layouts #311

wookietreiber opened this issue Jun 29, 2016 · 32 comments

Comments

@wookietreiber
Copy link

wookietreiber commented Jun 29, 2016

I'm waiting for the new memory layout. I created this issue, so we (everyone subscribing to this issue) will get notified once the new memory layout has been added and the issue gets closed.

  • Linux
  • OS X
  • Windows

(Edit: I hope this is OK this way, I can see no other means of notification other than frequently checking the repository manually.)

@n0manarmy
Copy link

I agree with this post. I'm waiting for 43.04 as well. I didn't see any local info on how to find the values too. I could dig through the forums if there is no tutorial anywhere else

@lethosor
Copy link
Contributor

0.43.04 is weird because of the new Windows compiler. It's likely that there will need to be more changes than usual to make it possible to find layouts, and maybe to use DT. We (DFHack people) haven't even gotten to the point where we can auto-generate DT layouts from df-structures for 0.43.04 yet.

Linux and OS X should be about as easy as before, once we get df-structures updated - it's the next release that'll be the challenge there.

@wookietreiber wookietreiber changed the title v0.43.04 memory layouts v0.43.05 memory layouts Jul 7, 2016
@wookietreiber
Copy link
Author

Updated to v0.43.05.

@fchaix
Copy link

fchaix commented Jul 21, 2016

Waiting for this layout… :/

@lethosor
Copy link
Contributor

It's going to take a while.

@Hello71
Copy link
Contributor

Hello71 commented Jul 21, 2016

make that two, no, five whiles.

@hovissimo
Copy link

Anyone else who shows up and would like these layouts, you don't need to respond to the thread to get notifications, you can subscribe directly or use the thumbs up +1 reaction on the original post to show your support.

Thanks for helping to keep this thread tidy!

@Richard-Degenne
Copy link

Do we know why these layouts are so long to come out? Not being able to use Therapist is a real pain in the *ss. :'(

@Sprunth
Copy link

Sprunth commented Sep 3, 2016

I'm not part of the group working on it, but almost undoubtedly a new compiler and 64-bit addresses will have made things complicated. The difficulty will be similar to understanding the memory of a completely new program, except for the fact that we know (for the most part) what we are looking for.

@kitsuneninetails
Copy link

kitsuneninetails commented Oct 14, 2016

Looks like the layouts are still waiting?

@Lagg
Copy link

Lagg commented Oct 17, 2016

Can anyone give a list of files aside from memorylayout.* where the constants and code for offsets and heap reading live?

@lethosor
Copy link
Contributor

Maybe dfinstance* and gamedatareader.*?

@levireeves
Copy link

http://www.bay12forums.com/smf/index.php?topic=122968.msg7222256#msg7222256

@wookietreiber
Copy link
Author

Note: I edited my original post to include a task list for the supported operating systems. Since the memory for Windows has been merged, I already checked that task.

@hroest
Copy link

hroest commented Feb 7, 2017

are there any plans to also create memory layouts for linux and OSX? Is there a description of the process on how to obtain these memory addresses somewhere, what do people usually do on Linux to obtain these layout files (e.g. does one have to use fmem ?)

@maxgraser
Copy link

Will there also be 64-bit memory layouts in the future?

@lethosor
Copy link
Contributor

lethosor commented Feb 7, 2017

I use devel/export-dt-ini in DFHack, usually. It seems to generate 64-bit layouts just fine, although to the best of my knowledge, they haven't been tested much. I did fix one issue that was reported with what it generated on 64-bit Linux.

@hroest If you're looking for one, here's one I generated. Note that it will not work with DT 37.

@bensleveritt
Copy link

@lethosor I'm not normally one for bumping for the sake of it but given that

Linux and OS X should be about as easy as before

is there any chance of a DT for other OSes?

@lethosor
Copy link
Contributor

lethosor commented Mar 5, 2017

That was referring to 0.43.04, which was 32-bit only. Whatever existing DT builds are around for pre-0.43.04 should work for 0.43.04 on all OSes, given a valid memory layout.

@bensleveritt
Copy link

Ah, thanks. I'm guessing 64bit is much harder to crack, and it'll still be some time before we see DT for *nix OSes 0.43.05+?

@lethosor
Copy link
Contributor

lethosor commented Mar 5, 2017

The hard part is getting DT to work with any 64-bit DF builds. 64-bit layouts are easy to generate, but verifying that they work can really only be done with a DT that supports 64-bit DF.

@bensleveritt
Copy link

I'm confused. Essentially. What's the latest version of DF/DT I can use on MacOS?

@lethosor
Copy link
Contributor

lethosor commented Mar 5, 2017

Right now, 0.43.03 with DT 37 (or possibly older versions, although I can't guarantee that they would work). You would probably need to add this layout, following the instructions here. In theory, 0.43.04 would also work with DT 37, but I don't know if anyone ever bothered generating layouts for it.

@bensleveritt
Copy link

Brilliant. Thanks @lethosor

@Richard-Degenne
Copy link

Any update? It's been a while.

@lethosor
Copy link
Contributor

Keep in mind that that is just for Linux, and you'll have to use https://github.com/Hello71/Dwarf-Therapist instead of this repo.
There are various Windows builds in the DT forum thread that range from mostly working to not working at all for different people.

@int-ua
Copy link
Contributor

int-ua commented Jun 19, 2017

Can you (or someone else) explain what's the major difference and why isn't it pulled into upstream?

@lethosor
Copy link
Contributor

splinterz hasn't been active for 6 months, and current 64-bit builds of DT are still unstable.

@wookietreiber
Copy link
Author

wookietreiber commented Jun 20, 2017

I have been running with the Hello71 version for a while now on 64-bit Arch Linux and had no problems.

@anders-larsson
Copy link

I've been running Hello71's version as well. It's working quite well.

However once when I created a squad (using the Archer, default, armour set and Dwarf Therapist kept crashing. It only seemed to affect that armour set specifically because I could create a squad using a different set without any issues and I could even switch to Archer for the existing squid without any issues with Dwarf Therapist.

@lethosor
Copy link
Contributor

I meant that current 64-bit builds of DT are unstable for some people. Sure, they can work fine for some people, but others are having issues such as

  • DT crashing on startup, or refusing to start at all
  • DT crashing when reading dwarves
  • DT crashing when making certain edits to dwarves
  • DT failing to make certain edits properly (maybe leading to DF crashing)

If it works for you, that's great for you, but it doesn't mean it's stable for everyone else. (Hello71's fork may be better on Linux than the various Windows builds are on Windows, though - I haven't tried it.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests