Over at Europa Barbarorum II, we've created a new tool to help us generate SD files. Today we release it to the wider modding community in the hope it may prove useful for other modders as well.
I feel I should mention Alpaca's .sd converter
here, which is a much older tool to generate SD files. Alpaca did the hard work of dissecting and reverse engineering the SD file format itself;