Closed Rastorkan closed 8 months ago
You need the linux version of DT to use with the linux version of DF. You may also need to change your ptrace_scope mode to 0, or you could try this: https://github.com/Dwarf-Therapist/Dwarf-Therapist/issues/302#issuecomment-1770419676.
You need the linux version of DT to use with the linux version of DF. You may also need to change your ptrace_scope mode to 0, or you could try this: #302 (comment).
Thank you for a response! Steam is installing the win version by default, and I didn't see any options during installation. As well as linux version of Therapist shows an error about that it can't find any linux dwarf fortress, while win therapist has a problem only with question if the game is running now.
So far i'm trying to successfully change the ptrace-scope to 0, let's see, maybe it will work. At least i'm sure that now it is set to 1 by default, so I hope this script will help me. Wether If it will help or it will not, I will write a comment here.
You need the linux version of DT to use with the linux version of DF. You may also need to change your ptrace_scope mode to 0, or you could try this: #302 (comment).
So, i tried different things, and I'm not sure what is the main problem, or maybe I'm just doing something wrong.
I guess SteamOS is not a great platform for development. Did you try running with the Steam Linux Runtime forced?
Or try this version I compiled on Fedora. set_ptracer_any.zip
Or try this version I compiled on Fedora. set_ptracer_any.zip
Thank you so much for help and responses. I moved the .so file to the root game directory and put the required launch command in steam game properties, but issue is still the same(
I guess SteamOS is not a great platform for development. Did you try running with the Steam Linux Runtime forced?
With forced Linux Runtime game just doesn't load the save. Maybe I have to try to install the Linux version somehow, but I really couldn't find any solutions for this via Steam.
Visually it stucks on "Sorting languages..." stage.
I found a ptrace file in the system, but I can't change the variable inside. Is there any ideas? It asks me for a password for permission, and after I put same password as for any command in Konsole (Terminal) it tells me that I'm not allowed
If you want to change ptrace_scope permanently, you need to add a file in /etc/sysctl.d/ with .conf extension containing kernel.yama.ptrace_scope = 0
(see man sysctl.conf).
If you want to change ptrace_scope permanently, you need to add a file in /etc/sysctl.d/ with .conf extension containing
kernel.yama.ptrace_scope = 0
(see man sysctl.conf).
Thanks for all the suggests! The problem was maximum silly. On Linux Runtime just for some reason won't launch the save that was from vannila compatibility. I created a new world, embarked, and straight after linux version of Dwarf Therapist connected to the session. Thanks a lot!
For anyone looking at this. The save files are cross-platform and should work.
Dwarf Therapist doesn't see the running game. Win version of DT and latest release of DF without any forced compatibilities. Can't connect even with entered PID, taken from task manager.