All UtilitiesDownload a .tar containing all three scripts
at DFFD.
NOTE: Removed Pastebin links, as it was inserting DOS-specific characters into the scripts, causing them to fail on UNIX-like systems. Let me know if there's another service that I can use to post individual scripts easily.
Scripts are as follows:
DF AutogetHaving played Dwarf Fortress for quite some time and semi-recently migrated to Linux, I decided to write a script that would automate the process of obtaining, installing, and managing my DF installations. I thought that it would help my fellow Linux users if I were to release it. I touched it up, commented it appropriately, and will release it under a tentative version number of 1.1.
Currently the script supports the following features:
- Automatically obtains the latest version of Dwarf Fortress by parsing Toady's release RSS.
- Skips the download step if the archive is already downloaded, and offers to remove the archive after installation is complete.
- Allows the user to chose a directory into which to extract DF (defaults to script's directory).
- Detects other DF installations in the extract directory, and offers to backup or remove them if their names conflict. Old saves can be migrated from a previous version if the user chooses to rename. This feature should allow seamless upgrades between versions, although I haven't had a chance to test it extensively.
NOTE: I strongly recommend that this script be placed in the directory in which you plan to install DF, as this reduces the need to tell it where to extract the file. You can just hit "enter" and the script will use the default option for any inquiry. In yes/no questions, the capitalized letter is the default (e.g. Y/n defaults to "yes").
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Dwarf Therapist BuilderDownloads and builds Dwarf Therapist in a convenient automated manner. Can also create a startup script.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
[EXOTIC] Tag Manager (obsolete as of new DF version)
Removes [PET_EXOTIC] and [MOUNT_EXOTIC] tags. Can also restore them ('f' for "forward" goes exotic -> normal, while 'b' for "backward" goes normal -> exotic).
Must be placed in the same directory as your "df_linux" folder.- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
TroubleshootingYou may need to give a script executable permissions in order to run it. In order to do so, run this command in the terminal:
cd /path/to/script
chmod +x SCRIPT_NAME