mts2325

Are the .X files blender exports compatible with Xna GSE. At the moment I get 2 errors one shows: Error 1 Could not read the X file. The file is corrupt or invalid. Error code: E_FAIL. whenever i have subdivisions on my model.

The other states: Error 1 Could not read the X file. The file is corrupt or invalid. Error code: D3DXFERR_PARSEERROR if I have any other shape in my scene other than the standard cube which automatically starts in blender. I am running blender 2.42a




Re: XNA Game Studio Express Blender .X files and XNA compatibility

iconjunky

I`ve loaded quite a few basic models made with blender. The right handed system seemed to work for me. Sorry I can`t be more help.

-Daz.





Re: XNA Game Studio Express Blender .X files and XNA compatibility

Rick Mogstad

In the version of Blender I have, there are 2 .X exporters. I had to try both, and one of them gave me the error you are seeing, the other worked just fine.

In my list the 2nd one is the one that worked.




Re: XNA Game Studio Express Blender .X files and XNA compatibility

mts2325

I'm guessing you had an older version to mine since I only have one .X exporter the rest are all for different programs (Softimage|XSI etc)




Re: XNA Game Studio Express Blender .X files and XNA compatibility

Rick Mogstad

I am using the most current version of Blender. I was looking through the .blender\scripts folder, and it looks like I have a DirectX8Export and a DirectXExport.

I have zipped them up for you here




Re: XNA Game Studio Express Blender .X files and XNA compatibility

mts2325

I only have one file named DirectX8Exporter. Is 2.42a the latest or is this an older version




Re: XNA Game Studio Express Blender .X files and XNA compatibility

Rick Mogstad

Thats the same version I have, 2.42a. I edited my previous post to include a link to download both exporters.




Re: XNA Game Studio Express Blender .X files and XNA compatibility

mts2325

Do I still need to add the Directx 8 exporter to the scripts or can I leave that out.






Re: XNA Game Studio Express Blender .X files and XNA compatibility

Rick Mogstad

Well, if you already have that one, you should be fine, especially since it doesn't work with XNA anyhow. Just dump the one you don't have in there, and use that one.

If you are only planning to use Blender exclusively for XNA, you could probably remove the DX8 exporter altogether from your scripts folder.




Re: XNA Game Studio Express Blender .X files and XNA compatibility

mts2325

The direct x exporter works great thanks for your help.