How to use 2 d3d9.dll files?

fixing bugs
Post Reply
  • Author
  • Message
Fer
Offline
Posts: 13
Joined: 04 Jan 2012, 09:02

How to use 2 d3d9.dll files?

If i change the

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9.dll
settings nothing happens, am i doing something wrong or is it not implemented yet?

Offline
User avatar
Posts: 30
Joined: 04 Jan 2012, 10:06
Location: Moscow

Re: How to use 2 d3d9.dll files?

Fer wrote:If i change the

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9.dll
settings nothing happens, am i doing something wrong or is it not implemented yet?
You should rename second *.dll to d3d95.dll. Than you should create a new folder named "d3d9". Then put there d3d95.dll and edit you enbseries.ini.

From

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9.dll
to

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d95.dll
Last edited by orangebrains on 04 Jan 2012, 11:30, edited 2 times in total.

Fer
Offline
Posts: 13
Joined: 04 Jan 2012, 09:02

Re: How to use 2 d3d9.dll files?

orangebrains wrote:
Fer wrote:If i change the

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9.dll
settings nothing happens, am i doing something wrong or is it not implemented yet?
You should rename second *.dll to d3d95.dll. Then you should create a new folder named "d3d9". Then put there d3d95.dll and edit you enbseries.ini.

From

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d9.dll
to

Code: Select all

[PROXY]
EnableProxyLibrary=true
InitProxyFunctions=true
ProxyLibrary=d3d95.dll
I tried it this way now but it still doesn't work. :(

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17442
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: How to use 2 d3d9.dll files?

Exactly as orangebrains said.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

jcnord

Re: How to use 2 d3d9.dll files?

This doesn't work at all.

If I could use a proxylibrary, that would solve the Nvidia Optimus issues.

The Nvidia Optimus issue only occurs when d3d9.dll is in the same folder as a game's exe.

If a proxylibrary is used, the Nvidia Optimus goes away.

The problem now is that the proxylibrary does not work.

EDIT:

Now I understand that proxylibrary is meant to use another library, different to the one used to run ENB. Then I will have to find another way to relocate d3d9.dll outside of the folder.
Last edited by jcnord on 14 Jan 2012, 00:05, edited 1 time in total.

jcnord

Re: How to use 2 d3d9.dll files?

Okay, I found out that the game's exe file is overwriting what I changed in enbseries.ini. That is a major problem. I tried setting enbseries.ini to read-only, but that didn't work either.

When I set it to read-only, it didn't change enbseries.ini, but it didn't use enbseries.ini, apparently.

This means that no matter what, I cannot change enbseries.ini or the options used in ENB.

EDIT:

Now I understand that proxylibrary is meant to use another library, different to the one used to run ENB. Then I will have to find another way to relocate d3d9.dll outside of the folder.

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17442
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: How to use 2 d3d9.dll files?

You are looking in wrong direction to fix Optimus issues.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7

jcnord

Re: How to use 2 d3d9.dll files?

Yes, now I understand that proxylibrary refers to using other dlls. I thought I could put the d3d9.dll in a different directory altogether. I understand now that there's no way to do that, and fixing an optimus issue would require something not built-in, such as creating or customizing an exe.

Offline
User avatar
*blah-blah-blah maniac*
Posts: 17442
Joined: 27 Dec 2011, 08:53
Location: Rather not to say

Re: How to use 2 d3d9.dll files?

Try new version, it's for Optimus users.
_________________
i9-9900k, 64Gb RAM, RTX 3060 12Gb, Win7
Post Reply