1
DF General Discussion / How I got DF + lazy newb pack + dwarf therapist + armok vision to work on Ubuntu
« on: January 10, 2016, 01:18:20 pm »
Hello, I just wanted to share my experience getting DF + mods to run on Ubuntu 15.10. Maybe this will help someone else (doubtful).
I wanted df + lazy newb pack + dwarf therapist + armok vision. This turned out to be harder than I anticipated. Here's what I did (note newer versions of these files may or may not work)
Steps:
Download lazy newb pack for linux, default: http://lazynewbpack.com/linux/
Download dfhack r4 (the stonesense version): https://github.com/DFHack/dfhack/releases/tag/0.40.24-r4
Download armok vision 0.7.2: https://github.com/JapaMala/armok-vision/releases
Extract the lazy newb pack
Extract dfhack into the df_linux folder of the lazy newb pack folder, overwriting all existing dfhack files
Create a folder called "Armok Vision" inside the lazy newb pack folder.
Extract armok vision into the Armok Vision folder.
Run PyLNP. Go to File->Configure terminal. Type "xterm" without quotes.
Create a file named "run" in the lazy newb pack folder. Add these lines to it:
#!/bin/bash
./PyLNP &
./LNP/utilities/dwarf_therapist/DwarfTherapist &
./"Armok Vision"/"Armok Vision.x86_64"
Open a terminal in the lazy newb pack folder. Type "chmod +x run".
Now, to run the game, type "sudo ./run". It must run as sudo to get dwarf therapist to connect. I personally feel more comfortable allowing these 3 programs to run as root than disabling ptrace protection. I suppose a script could be set to enable and disable it before and after playing dwarf fortress.
I wanted df + lazy newb pack + dwarf therapist + armok vision. This turned out to be harder than I anticipated. Here's what I did (note newer versions of these files may or may not work)
Steps:
Download lazy newb pack for linux, default: http://lazynewbpack.com/linux/
Download dfhack r4 (the stonesense version): https://github.com/DFHack/dfhack/releases/tag/0.40.24-r4
Download armok vision 0.7.2: https://github.com/JapaMala/armok-vision/releases
Extract the lazy newb pack
Extract dfhack into the df_linux folder of the lazy newb pack folder, overwriting all existing dfhack files
Create a folder called "Armok Vision" inside the lazy newb pack folder.
Extract armok vision into the Armok Vision folder.
Run PyLNP. Go to File->Configure terminal. Type "xterm" without quotes.
Create a file named "run" in the lazy newb pack folder. Add these lines to it:
#!/bin/bash
./PyLNP &
./LNP/utilities/dwarf_therapist/DwarfTherapist &
./"Armok Vision"/"Armok Vision.x86_64"
Open a terminal in the lazy newb pack folder. Type "chmod +x run".
Now, to run the game, type "sudo ./run". It must run as sudo to get dwarf therapist to connect. I personally feel more comfortable allowing these 3 programs to run as root than disabling ptrace protection. I suppose a script could be set to enable and disable it before and after playing dwarf fortress.