Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dxgi.dll not in GTA dependencies anymore #17

Open
colloroneluca opened this issue Aug 14, 2023 · 1 comment
Open

dxgi.dll not in GTA dependencies anymore #17

colloroneluca opened this issue Aug 14, 2023 · 1 comment

Comments

@colloroneluca
Copy link

Hello, I'm currently attempting to utilize the gamehook_gtav tool for extracting depth maps from the GTA game. However, I have concerns regarding its compatibility with the latest Steam versions of GTA, and possibly other versions as well.
While I've successfully compiled both gamehook and gamehook_gtav, I'm facing an issue when I place the generated files (including dxgi.dll) into the game's folder: nothing happens upon game startup. Despite my attempts to rename the generated DLL to either "d3d10.dll" or "d3d11.dll," I do not see any changes or results.

I've inspected GTAV.exe using Dependency Walker, and observed that the DLLs the game loads do not include "dxgi.dll." The closest match in the dependencies is "d3d9.dll," which is unexpected given that the game employs DirectX 10 or 11. Interestingly, renaming "dxgi.dll" to "d3d9.dll" triggers an error: "The procedure entry point D3DPERF_BeginEvent could not be located in the dynamic link library GTA.exe."

Does this situation imply that the dxgi project within the solution needs a substantial rewrite to function effectively with the current versions of GTA?

Below I attach the result of the dependency scan on my GTAV version.
Thanks for your attention.

GTA_dependencies.txt

@colloroneluca
Copy link
Author

colloroneluca commented Aug 14, 2023

By looking at the file above I noticed that there are some modules that were not listed in the GUI of the same program. In particular d3d12.dll. If I rename the compiled dll to d3d12.dll the intercept terminal opens up but I get the same issue as #10 .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant