a python module
Over the last few months, I've been working on a python module for Ferazel's Wand. It's called fwstructs, and it allows people to manipulate Ferazel's Wand data without having to use C or C++. It should be bug-free, but just post if there's some problem that you come across.
You can download the module here: http://habnabit.org/fwstructs.zip
It comes with two example scripts of how to use fwstructs, bgrandomizer and counter. If you run bgrandomizer in Terminal and pass it a Ferazel's Wand world data file, it will load all of the levels and randomize the background tiles. counter will load all of the levels and then prompt for sprite IDs to search for, then returning where exactly each is in each level, including objects in sprites and crates.
The only problem is that fwstructs does not actually load the resources. However, there is a module included by default on the Mac OS called Carbon.Res which will load and save resources. The example scripts should show how to use Carbon.Res. I find that since Carbon.Res has little to no documentation, the easiest way to experiment with how it works is to use the python interactive prompt.
edit: http://www.habnabit.org/?m=fwstructs for latest versions of everything.
This post has been edited by ferazel_09 : 05 January 2008 - 04:11 PM