I have just pushed a new version of Penelope that allows you to output in StarDict format.
This is useful if you want to convert an XML dictionary into StarDict, or you want to write your own parser to manipulate an existing StarDict dictionary.
You can find the code at the Google Code project:
http://code.google.com/p/penelope-dictionary-converter/
and the "manual" here:
http://www.albertopettarin.it/penelope.html
(eventually, it will be moved to the wiki of the Google Code project).