Here's a link to my current working version:
Download
For those of you that didn't notice I made an update script a while back for Linux that ended up with limited interest. Part of that I imagine is because it didn't work on Windows. Well guess what? Now it does. I've been able to run this (with some minor changes) on both my Windows and Linux computers.
It also now has a config file. Named init.txt and that follows very similar setting structure as Toady's. Will any luck that will make it more intuitive.
Also please don't put the script in you Dwarf Fortress install directory. I wrote I warning to that effect a moment ago, but it's not worth putting a new file up. Just make sure to put the files into their own folder somewhere unrelated to your install. Thanks.
What does it do?
======================
This programs goal is to make it easy to update Dwarf Fortress from one version to the next. As of v2.0 a variaty of files including object and speech files can be automatically transfered from your old version when you update. The program currently:
- Can transfer over old save, graphics, art, init.txt, speech files, object files.
- Can make a backup of your old installation if you want to keep a copy (incase the new version breaks something)
- Can do a fresh install of the newest version.
- All of these options can be turned on and off in init.txt so that you can transfer exactly the files you want.
You can also use this program the first time you install Dwarf Fortress to make a fresh install in the directory of your choice.
Setup
======================
There are a few things that have to be setup on your machine before you will be able to run this script:
1. You need Python installed
Windows: If you are running windows you likely don't have python installed. You can download the installer for it at http://www.python.org/download/
Linux: You likely already have python installed, but if not simply 'sudo apt-get install python' should do the trick.
2. Setup init.txt
Before running the script you need to change the settings in init.txt to your liking. One important setting that must be changed before running the script (even if you don't want to change what is copied) is the installation directory of Dwarf Fortress on your computer. Examples are provided for both Windows and Linux in the init.txt file itself. If you haven't installed the game yet feel free to put where you would like it to go. The script supports fresh installs as well.
3. Running the script
Windows: After installing python double clicking on the dfUpdate.py file should automatically run it. You can also create a shortcut to it like any other program.
Linux: It is probably easiest in Linux to set up an alias to the script (there are examples below). You can also run it from terminal with a command like 'python dfUpdate.py' while in the updater directory.
Here's a link to my current working version:
Download
[ March 11, 2008: Message edited by: Guardia ]