Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Save Game Updater Script for Linux/Mac Users  (Read 713 times)

rit

  • Escaped Lunatic
    • View Profile
Save Game Updater Script for Linux/Mac Users
« on: June 18, 2010, 08:11:46 pm »

I've recently been sucked into Dwarf Fortress.  It scratches every RPG, Nethack and Civilization itch deep in my bones and I can't stop. 

I found in playing with many of the graphical filesets that the modders tend to be on Windows and only release batch files for updating saved games - which isn't very useful to those of us on Unix (Mac/Linux).

As such, I've ported the save game updater batch file I found in the latest Phoebus release to Python.  Python is built into Mac OS X and most Linux distributions so it should "just work".

My script is available at http://bitbucket.org/bwmcadams/toybox/src/tip/df_savegame_updater.py

Download that and run:

python df_savegame_updater.py <location_of_your_df_install>

The DF Install directory should be the top level.  It looks inside there for data/save/<savegames> and replaces <savegame>/raw with the graphic set raw file.

If you don't specify a directory it defaults to "current directory".

Hopefully you guys find this useful!
Logged