Using additional .dll files

  • Posts: 5
4 years 5 months ago #1 by Radion
Does ReShade allow the use of additional dxgi.dll/d3d9.dll files?

The issue is that I want to play a very old game. I use a widescreen fix as it didn't support it natively. This fix includes a d3d9.dll. Now the problem is that ReShade uses a d3d9.dll as well. I couldn't find any options that would allow a third party library in the ReShade framework.

Is there a workaround?

Please Log in or Create an account to join the conversation.

  • Posts: 44
4 years 5 months ago - 4 years 5 months ago #2 by fuze
Yeah I think, atleast this worked for me when I was playing Vice City with both ENB and ReShade.

So what you should do is:

1. Leave the fix d3d9.dll in the game folder.
2. Download ENB Injector from HERE.
3. Now when ENB Injector is downloaded, drop all the ReShade files in the ENB Injector folder. (Should something look like THIS )
4. Open enbinjector.ini and under LibraryName it should say LibraryName=ReShade32.dll (Note that the ReShade's d3d9.dll must be renamed to ReShade32.dll or ReShade64.dll, depending by the game of course)
5. Under ProcessName0 add your games name, for me it was something like ProcessName0=gtavc.exe
6. Now when everything is finally configured, start up the ENBInjector.exe and after that launch your game.

If you did everything right, game should be working with both widescreen fix and ReShade together.

Hope it works :)
The following user(s) said Thank You: Radion

Please Log in or Create an account to join the conversation.

  • Posts: 5
4 years 5 months ago #3 by Radion
ReShade is being loaded upon game start now. Hower it freezes the game unfortunatly. I tried to turn on/off a bunch of options but it just keeps freezing.

Thank you very much though, your workaround was successful in the sense that ReShade was loaded!

Please Log in or Create an account to join the conversation.

  • Posts: 39
4 years 5 months ago - 4 years 5 months ago #4 by GERgta
There is another solution which is quite ghetto, but I have used it several times:
1. Go to http://thirteenag.github.io/widescreen_fixes_pack and download yourself any Need for Speed Widescreen-Fix (no matter the game, unless your game is listed there).
2. Only put the dinput.dll from the downloaded patch into your game-path (It acts as an .asi loader).
3. Create a folder named "scripts" in your game-folder.
4. Put the reshade DLL and all it's files into "scripts"
5. Change the extension of Reshade's DLL to .asi
6. Profit. No ENB needed.

You can now add any kind of DLL in the scripts folder. If you change it's extension to .asi, it should load.

Not quite sure if it works for every game, but it did the job for me on Bully. I also used it for GTA V before an ASI loader existed, to use the first person FOV mod with some other mod I forgot. If you want to add other DLL mods, you might have to play around with the placement of that mod's files.

I discovered this by pure accident, btw.
The following user(s) said Thank You: Aelius Maximus

Please Log in or Create an account to join the conversation.

  • Posts: 290
3 years 7 months ago - 3 years 7 months ago #5 by Aelius Maximus

Radion wrote: Does ReShade allow the use of additional dxgi.dll/d3d9.dll files?

The issue is that I want to play a very old game. I use a widescreen fix as it didn't support it natively. This fix includes a d3d9.dll. Now the problem is that ReShade uses a d3d9.dll as well. I couldn't find any options that would allow a third party library in the ReShade framework.

Is there a workaround?


The ENb Injector has never worked for 64 bit games, in fact im having trouble finding any type of injector that injects a 64 bit dll.. (Reshade 64.dll in particular)

Please Log in or Create an account to join the conversation.

  • Posts: 290
3 years 7 months ago #6 by Aelius Maximus

GERgta wrote: There is another solution which is quite ghetto, but I have used it several times:
1. Go to http://thirteenag.github.io/widescreen_fixes_pack and download yourself any Need for Speed Widescreen-Fix (no matter the game, unless your game is listed there).
2. Only put the dinput.dll from the downloaded patch into your game-path (It acts as an .asi loader).
3. Create a folder named "scripts" in your game-folder.
4. Put the reshade DLL and all it's files into "scripts"
5. Change the extension of Reshade's DLL to .asi
6. Profit. No ENB needed.

You can now add any kind of DLL in the scripts folder. If you change it's extension to .asi, it should load.

Not quite sure if it works for every game, but it did the job for me on Bully. I also used it for GTA V before an ASI loader existed, to use the first person FOV mod with some other mod I forgot. If you want to add other DLL mods, you might have to play around with the placement of that mod's files.

I discovered this by pure accident, btw.


This doesn't work.....

Please Log in or Create an account to join the conversation.

  • Posts: 501
3 years 7 months ago #7 by Wicked Sick
Did any of you one ever tried to use ReShade along with GeDoSaTo?

Please Log in or Create an account to join the conversation.

  • Posts: 73
3 years 7 months ago #8 by nieda113
Hi try change the name of the reshade 64.dll to d3d9.dll

Please Log in or Create an account to join the conversation.

  • Posts: 1
2 years 7 months ago #9 by dropadred
I am setting up the NFS:MW with ReShade and I have just encountered this very issue - I have d3d9 wrapper (by modder), which serves entirely for the purposes of bordeerless windowed mode, however I have, as well, ReShade (3.0.7), both use d3d9.dll file and even d3d9.ini.

I have tried both guides, ENB injector one (downloaded from link, unpacked to game folder, renamed reshade binary d3d9.dll to ReShade32.dll together with .ini file, then specified in the enbinjector.ini the ReShade32.dll, specified the process (speed.exe) in the target processes section), which did not work and even the second one to rename one d3d9.dll to d3d9.asi and moving it to scripts folder (I use dinput8.dll from widescreen fix mod), unfortunately it did not work either.

Any help?

Please Log in or Create an account to join the conversation.

  • Posts: 6
2 years 3 months ago #10 by AcidAesthetic
having this issue with max payne 2. widescreen fix uses d3d9.dll as well... its one or the other and i'd like to have both. everyone/thing looks fat and wide without it

Please Log in or Create an account to join the conversation.

  • Posts: 6
2 years 3 months ago #11 by AcidAesthetic
literally just found a solution that worked :ohmy:

named widescreen's dll from "d3d9.dll" to "dinput.dll"...
now they both work B)

Please Log in or Create an account to join the conversation.

  • Posts: 6
2 years 3 months ago #12 by AcidAesthetic
found something even better!!... a list of what you can name it instead...
for maybe multiple dll setups??

github.com/ThirteenAG/Ultimate-ASI-Loader/blob/master/readme.md

"This is a DLL file which adds ASI plugin loading functionality to any game, which uses any of the following libraries:

d3d8.dll
d3d9.dll
d3d11.dll
ddraw.dll
dinput.dll
dinput8.dll (x86 and x64)
dsound.dll (x86 and x64)
msacm32.dll
msvfw32.dll
vorbisFile.dll
winmmbase.dll
xlive.dll
"

Please Log in or Create an account to join the conversation.

  • Posts: 142
2 years 3 months ago #13 by Insomnia
For more modern, Dx10 games or higher, you can change the name of the ReShade binary to either dxgi.dll, d3d10.dll or d3d11.dll and ReShade would load, regardless of additional injectors.
But DirectX 9 or older I don't know. :(

Please Log in or Create an account to join the conversation.

  • Posts: 144
1 year 8 months ago #14 by brazzjazz

Aelius Maximus wrote:

GERgta wrote: There is another solution which is quite ghetto, but I have used it several times:
1. Go to http://thirteenag.github.io/widescreen_fixes_pack and download yourself any Need for Speed Widescreen-Fix (no matter the game, unless your game is listed there).
2. Only put the dinput.dll from the downloaded patch into your game-path (It acts as an .asi loader).
3. Create a folder named "scripts" in your game-folder.
4. Put the reshade DLL and all it's files into "scripts"
5. Change the extension of Reshade's DLL to .asi
6. Profit. No ENB needed.

You can now add any kind of DLL in the scripts folder. If you change it's extension to .asi, it should load.

Not quite sure if it works for every game, but it did the job for me on Bully. I also used it for GTA V before an ASI loader existed, to use the first person FOV mod with some other mod I forgot. If you want to add other DLL mods, you might have to play around with the placement of that mod's files.

I discovered this by pure accident, btw.


This doesn't work.....


It finally worked in my case! First I was using the 64-bit version of the DLL, while the game is 32-bit (Prince of Persia - The Sands of Time). Here's what I did:

1. I put the dinput8.dll (32-bit version) into the game directory
2. I renamed d3d9.dll from ReShade to reshade.asi
3. I renamed d3d9.ini from ReShade to reshade.ini

According to the readme, the DLL / ASI file to be loaded may be in the game directory, or alternatively in a "scripts" or "plugins" folder. You can then also apparently tell the ASI loader through a global.ini (to be placed alongside the custom DLL / ASI) about further customizations.

Done! :-)

Please Log in or Create an account to join the conversation.