167
« on: November 29, 2015, 09:41:23 AM »
Hi,
Thanks for the post. I believe I closed the auxiliary forums when I was losing the battle against spam. I have some new protections that seem to be working much better, so perhaps I can re-enable them.
So here is the line of code that is failing:
ddrval = D3DXCreateTextureFromFileInMemoryEx(g_pd3dDevice,buffer,size,0,0,1,0,D3DFMT_UNKNOWN,D3DPOOL_MANAGED, D3DX_FILTER_NONE, D3DX_FILTER_NONE,colorkey,NULL,NULL,&texture);
DDCHECK(ddrval);
This line is called for loading things like the 'downloading' tile, arrows and points. Basically these things are stored as 'resources' in the code (so a part of the executable), and the code is turning them from images into direct3D textures for quick drawing.
I'd guess the D3D part is working, but the resources aren't found or aren't correctly loaded (given the Invalid data message).
Hope that helps some. Let us know how it goes!
Thanks