Eschalon Savefile Editor
First off, if you're on Windows, just go ahead and download the EXE version. That's all that you need to download, and you can safely ignore the rest of this page.
For other systems, or if you want to run the source directly in Windows, you'll need: gtk+, Python, Cairo/PyCairo, and PyGTK. For Linux users, these are certainly available from your distribution, and may already be installed. Use your distro's package manager to install these, if they're not already. OS X users are on their own for now, I'm afraid, but I'm pretty sure that packages do exist for that platform.
A note on the Book 2 Map Editor: The Book 2 map editor requires two additional packages: PyCrypto and czipfile. PyCrypto may be installed by default (its package name tends to be python-crypto on most distributions, though Gentoo packages it as pycrypto). czipfile is probably not installed by default. The quickest way to get that installed is either through easy_install or pip, like so:$ sudo easy_install czipfile
or$ sudo pip install czipfile
Once again, if you're using the Windows EXE, none of this should concern you.
An installer is provided (as of 0.5.0) for Windows, but for other platforms there are no installers. On UNIX (and any other system you can convince it to run on) the app is meant to be basically just run from wherever you unzipped it or untarred it, or by setting up a symlink somewhere, or creating a shortcut in your desktop environment of choice.
The map editor component of this package requires that an Eschalon install directory be present on your system. The application will try to locate it on its own, but if the installation directory isn't found, you'll be prompted to provide the location. The character editor can also use the Eschalon game directory to do image lookups of its own, but it doesn't actually require the directory to be present.
Both the map editor and the character editor have a preferences screen (the preferences are shared between programs) where the game directory can be set, in addition to your savefile directory (which the program will also try to auto-detect). The savefile directory is just used as the directory the "Open" dialog will default to.
What I'd recommend is just leaving it untarred wherever you untarred it, and make a symlink to the utilities into somewhere in your $PATH (~/bin is probably the best location). For example:$ cd ~/bin $ ln -s /path/to/eschalon_b1_char.py . $ ln -s /path/to/eschalon_b1_map.py . $ ln -s /path/to/eschalon_b2_char.py . $ ln -s /path/to/eschalon_b2_map.py .
At that point you should be able to just run "eschalon_b1_char.py" from the command prompt, for instance. Setting up shortcuts through your window manager of choice should work fine, as well. Failing that, just run them from the directory you untarred them into.
As of 0.5.0, the minimum gtk+ required MIGHT be 2.18.0, though you may have success with earlier versions. If there are problems with older versions, please let me know so I can take a look and possibly get a workaround in place. The app will show a warning if your gtk+ doesn't meet this requirement, but allow you to continue regardless.
Starting with 0.5.0, I've provided an EXE which should install the application with a standard installer, which will leave you with a shortcut to both applications in your start menu. This is the recommended way to run the application on Windows.
If you're using the EXE version and receive the error "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem," and you're running Windows XP, then you'll probably need to do one of two things. That error appears to only happen on XP Service Pack 2, so upgrading to SP3 will probably take care of it. Alternatively, you'll need to install the Visual C++ Redistributable from Microsoft. There's various versions of that software; I'm not sure whether you'd want to install the 2008 version or the 2010 version (there's also a 2005 version, though I assume that might be too old). If anyone wants to let me know if it matters at all, I'd appreciate it. The relevant links are here:
If you prefer, you can continue to run the Python source directly, which will require the following support packages to be installed:
- Python Recommended as of 2012.02.05: 2.7.2
- PyGTK Recommended as of 2012.02.05: 2.24.1 All-In-One Installer - note that the all-in-one installers remove the previous need to manually install gtk+ and the three main PyGTK components.
And, for the Book 2 Map Editor:
- PyCrypto Recommended as of 2012.02.05: 2.3, from voidspace.org.uk
- czipfile Recommended as of 2012.02.05: 1.0.0
Once those dependencies are installed, you should be able to just double-click on eschalon_b1_char.py or eschalon_b1_map.py (or their Book 2 equivalents, from wherever you unzipped the archive), and it'll open up an "Open" dialog.
I don't have a Mac system to try this out myself, but I received a report that the utilities are working in OSX if you follow these instructions:
- Install MacPorts. (This requires XCode, which might not be installed by default, and apparently might cost you $5, if you're not part of Apple's developer program.)
- Run the following commands in the "Terminal" application:
$ sudo port -v selfupdate $ sudo port install py26-gtk $ sudo port install py26-crypto $ sudo port install python_select $ sudo port select python python26Apparently the py26-gtk install may take a very long time, on the order of 30-45 minutes. So be patient! You might get more progress information if you launch them as "sudo port -v install" instead of without the -v.
- If you want to edit Book 2 Map files, you'll probably want to try installing czipfile; see the General Installation Notes section at the top of this page for a couple of commands you could try to accomplish that.
- Then, to run the app, you can probably just browse to wherever you unpacked the archive and double-click on the program you want, or just launch it from Terminal as if it were any other CLI application.
If you run into an error during the py26-gtk installation like "Error: Failed to install xorg-renderproto", apparently you may need to run this command:$ sudo port -f uninstall render
I'd appreciate it if other Mac folks would let me know if this works for you, and if there's anything else that needs doing. If anyone's interested in packaging this up into a .dmg or something which could be more easily distributed, I'd love to hear about that, too.
If you're just looking to edit Book 1 Character files, you may want to check out Goblin Hacker instead, which is a native OS X application, and should be far easier to get running.