Have you played with FEdit.exe utility from DirectX SDK?