Few questions about d3d9.dll -
TomCool - 10.09.2013
Hi,
I want to ask a few questions about the d3d9.dll file that GTA is using.
1. What exactly is d3d9.dll? What's it's purpose?
2. How/Why is GTA using d3d9.dll?
3. Is SA-MP using d3d9.dll? If it is, then why?
4. Are we allowed to modify d3d9.dll?
5. Is it possible for this d3d9.dll to send/receive information to/from a sa-mp server directly? If yes, then how could that be achieved?
I'm asking these questions as I'd like to try and modify this .dll to see how can a sa-mp server be improved with the help of it.
Re: Few questions about d3d9.dll -
kurta999 - 11.09.2013
But this is intresting, because if d3d9.dll exists in the GTA directory, then game will automatically load the .dll and you don't need any mod or something to load .dll into the game.
Re: Few questions about d3d9.dll -
playbox12 - 11.09.2013
Quote:
Originally Posted by kurta999
But this is intresting, because if d3d9.dll exists in the GTA directory, then game will automatically load the .dll and you don't need any mod or something to load .dll into the game.
|
Well if that isn't how a lot of mods are often injected in to the game
Re: Few questions about d3d9.dll -
Basssiiie - 23.09.2013
To my knowledge, SA-MP doesn't use d3d9.dll by default. It's mainly used for mods like ENB Series and Windowed mode.
Re: Few questions about d3d9.dll -
iZN - 24.09.2013
Afaik, when 0.3a released, SA-MP blocked d3d9.dll. But the SA-MP renders were still rendering, how could be that possible?
Re: Few questions about d3d9.dll -
kurta999 - 24.09.2013
But if d3d9.dll would be blocked, you still can use ASI Loader to inject .dll and you can also hook directx outside of d3d9.dll, like SA-MP.
The best solutuion would be block every memory modifications outside of SA-MP like in MTA, but this will be big fail because then I can't use my custom mod
Re: Few questions about d3d9.dll -
Basssiiie - 24.09.2013
Quote:
Originally Posted by Gamer_Z
it does hook it's functions so it's used. How else could sa-mp control all the graphics stuff?
|
To my knowledge, a lot of games can hook with d3d9.dll injections. That doesn't immediately mean it's specifically used for SA-MP. Although my knowledge on this is very scarce, so don't trust me on it. :P
Re: Few questions about d3d9.dll -
Basssiiie - 25.09.2013
Quote:
Originally Posted by Gamer_Z
you don't need a d3d9.dll to hook the functions of the graphics drivers
You can hook any function you wish from any executable binary
|
Well, my point was that d3d9.dll isn't GTA or SA-MP specific, but I guess you know that already.