N
nikescar
-
nikescar
I've been using BTB for a game I'm making and it's been working great until this problem popped up. For some reason string objects use textures differently than surfaces, terrain, regular objects, etc.
Here is how the textures are defined in those models:
Rural Australia\Textures\Ground\Grass\grass_E.dds
and here is how they are defined in string objects:
Great Britain (RBR)\Materials\Objects\Block04a_rw\mat0
Notice the lack of file extension. It should read:
Great Britain (RBR)\Materials\Objects\Block04a_rw\mat0.jpg
or so I think.
Without the extension my content importer cannot assign a content processor to the texture. Also the texture does not load when using DirectX Viewer in the DirectX SDK which leads me to believe it should have an extension.
I've tried editing the .x file to include the extension using a hex editor but any editing whatsoever of a .x file seems to corrupt it.
Any ideas?
Here is how the textures are defined in those models:
Rural Australia\Textures\Ground\Grass\grass_E.dds
and here is how they are defined in string objects:
Great Britain (RBR)\Materials\Objects\Block04a_rw\mat0
Notice the lack of file extension. It should read:
Great Britain (RBR)\Materials\Objects\Block04a_rw\mat0.jpg
or so I think.
Without the extension my content importer cannot assign a content processor to the texture. Also the texture does not load when using DirectX Viewer in the DirectX SDK which leads me to believe it should have an extension.
I've tried editing the .x file to include the extension using a hex editor but any editing whatsoever of a .x file seems to corrupt it.
Any ideas?