http://www.wampserver.com/en/
http://code.google.com/p/peqphpeditor/source/checkout
There's a spell export under the Spells tab.
An alternative might be to use an SQL tool to export the table to CSV and modify the perl script to parse the dump rather than connect to the database.
I could put something together tomorrow if needed.