DX11 EndScene Hook menu

User Tag List

Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
  1. #16
    zys924's Avatar Active Member
    Reputation
    20
    Join Date
    Nov 2009
    Posts
    113
    Thanks G/R
    0/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your advice lanman92. But my problem lies in the SymFromName() function call's 126 error. The 2 debug libraries are correctly loaded actually.

    The key is for kernel32 + CreateProcessW, it works. But for d3d9 + CD3DBase::EndScene, It does not.

    Is there a possibility that my d3d9 or dxgi does not have symbols?

    On the other hand, is there a way to grab the IDXGISwapChain VTable base address just like the way we grab EndScene() using static pointers? And in this way we can do simple VTable hook instead of a detour hook. That sounds nice~
    Last edited by zys924; 10-26-2011 at 12:12 AM.

    DX11 EndScene Hook
  2. #17
    _Mike's Avatar Contributor
    Reputation
    310
    Join Date
    Apr 2008
    Posts
    531
    Thanks G/R
    0/2
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by zys924 View Post
    Thanks for your advice lanman92. But my problem lies in the SymFromName() function call's 126 error. The 2 debug libraries are correctly loaded actually.

    The key is for kernel32 + CreateProcessW, it works. But for d3d9 + CD3DBase::EndScene, It does not.

    Is there a possibility that my d3d9 or dxgi does not have symbols?
    Very unlikely.
    What does the debug output say, and what is your symbol search path?
    Since you are calling SymInitialize() with null I assume you have a valid _NT_SYMBOL_PATH var.
    If _NT_SYMBOL_PATH is empty and you aren't using a user specified one then dbghelp will only search the current working directory for symbol files. It will not download them from the net.

    On the other hand, is there a way to grab the IDXGISwapChain VTable base address just like the way we grab EndScene() using static pointers? And in this way we can do simple VTable hook instead of a detour hook. That sounds nice~
    Of course there is. It's exactly the same way as for D3D9, just different offsets.
    I haven't looked if they are posted here, but they shouldn't be that hard to find by yourself. Set a breakpoint on Present and see where it's called from and how.
    But why go for a method that has to be updated every patch when you can use a version, and even game, independent way?
    Wow requires an internet connection anyways, so it's not like downloading symbol files are going to be a problem

    And while vtable hooks are good if you know what you are doing, D3D has a nasty habit of resetting it's vtables when you do things it doesn't like so then you'd need more hooks than just EndScene and/or Present.

  3. #18
    zys924's Avatar Active Member
    Reputation
    20
    Join Date
    Nov 2009
    Posts
    113
    Thanks G/R
    0/7
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks very much.

    If _NT_SYMBOL_PATH is empty and you aren't using a user specified one then dbghelp will only search the current working directory for symbol files. It will not download them from the net.

    This is just the problem! I tried to set it to download from microsoft. It works!

Page 2 of 2 FirstFirst 12

Similar Threads

  1. [C# DLL] aHook, use ASM through EndScene hook
    By JuJuBoSc in forum WoW Memory Editing
    Replies: 81
    Last Post: 04-22-2024, 02:55 PM
  2. Is EndScene hooking detectable?
    By xLeo123 in forum WoW Memory Editing
    Replies: 9
    Last Post: 01-13-2010, 03:49 PM
  3. Custom rendering in endscene hook
    By ggg898 in forum WoW Memory Editing
    Replies: 3
    Last Post: 09-11-2009, 09:38 AM
  4. [Test Theory] EndScene hook without Native Code (Kinda)
    By Apoc in forum WoW Memory Editing
    Replies: 7
    Last Post: 09-04-2009, 12:46 PM
  5. EndScene Hook not changing anything
    By lanman92 in forum WoW Memory Editing
    Replies: 32
    Last Post: 06-01-2009, 11:46 PM
All times are GMT -5. The time now is 11:06 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search