コマンド ライン経由で呼び出して使用できるスタンドアロン コンバーターがあると確信しています。XNA はこれらすべてのファイル形式を処理するため、ソース .bmp を開いてから、( Textureクラスを使用して) .dds に保存し直すことができます。
public static void ConvertToDds(
GraphicsDevice graphicsDevice, string sourcePath, string targetPath)
{
Texture.FromFile(graphicsDevice, sourcePath)
.Save(targetPath, ImageFileFormat.Dds);
}
XNA 4.0 で変更されました (これらのメソッドは削除されました)。書き込みにはDDSLibを、読み取りにはTexture2Dを試してください。
public static void ConvertToDds(
GraphicsDevice graphicsDevice, string sourcePath, string targetPath)
{
using (var stream = File.Open(sourcePath))
{
var texture = Texture2D.FromStream(graphicsDevice, stream);
DDSLib.DDSToFile(targetPath, true, texture, false);
}
}
詳細と例については、リンク先のページを参照してください。ちなみに、.NET なしでは C# を使用できません。