Jump to content
Official BF Editor Forums

Failed To Create Dx Texture.....


Krätzer

Recommended Posts

I exportet a Magazine and i can run it in the Editor.

mhmhmhmhm4455662.jpg

But it haves the Default skin. So then i now take the Texture in the Texture Folder. This will hapen

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(471): Failed to create dx texture. objects/staticobjects/magazines/magazinestalin/textures/magazinestalin_c.dds Invalid call
Creation parameters:
Width: 400
Height: 400
Depth: 1
Format: D3DFMT_DXT1
Miplevels: 6
Usage: 0
D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(791): (pTextureOut) Failed to create texture objects/staticobjects/magazines/magazinestalin/textures/magazinestalin_c

D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(471): Failed to create dx texture. objects/staticobjects/magazines/magazinestalin/textures/magazinestalin_c.dds Invalid call
Creation parameters:
Width: 400
Height: 400
Depth: 1
Format: D3DFMT_DXT5
Miplevels: 6
Usage: 0
D:\bf2editor\Code\BF2\RendDX9\TextureManager.cpp(791): (pTextureOut) Failed to create texture objects/staticobjects/magazines/magazinestalin/textures/magazinestalin_c

And crash.

I have changed the .dds file and test test test always the Editor crash. I dont know why pls help me =(

Link to comment
Share on other sites

Battlefield ( all versions ) will only accept DDS textures in the 'magic' Power-Of-Two sizes : Use only edge lengths of

16,32,64,128,256,512,1024 or 2048 pixels for all your ingame textures .

Note that its not necessary to make them square , so 512*1024 pixels is an acceptable size.

Note2 : Not all graphics drivers will accept 4096*4096 texture sizes, so its better to use 2048 as maximum size.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...