This program allows you to easily go through the list of primitives in memory at any given time. It eliminates the need to manually increase prims and verts until you hit the texture you want. Clicking the "Save Prim" number saves a screenshot of the currently selected prim textured in red and saves it to the Output folder in the executable's directory.
Download the latest source code with:
git clone [email protected]:emist/D3DTextureLoggerClient.git
Keep your source up to date with:
git pull origin master
[Boost] (http://www.boost.org/)
Load the solution into visual studio and press F6
If when you run the program you do not get a message on the command prompt telling you where EndScene, SetStreamSource, DrawIndexedPrimitives, BeginScene, and Reset are in memory then you have a problem with the debug server/symbols. Make sure that dbghelp.dll, symsrv.dll and srcrv.dll are in your path. If all else fails, dropping them inside the same directory as your D3DTextureLoggerClient shouldwork.
If you get errors when you click "Inject" then something is wrong with your Easyhook libs. Make sure that you have EasyHook.dll, EasyHook32.dll, EasyHook64.dll, EasyHookSvc, EasyHook32Svc, and EasyHook64Svc in your path. If all else fails, dropping them into your executable folder will do the trick.