elishacloud / dxwrapper

Fixes compatibility issues with older games running on Windows 10/11 by wrapping DirectX dlls. Also allows loading custom libraries with the file extension .asi into game processes.
zlib License
1.17k stars 83 forks source link

Update Configuration Wiki #40

Closed AndhikaWB closed 3 years ago

AndhikaWB commented 4 years ago

The current configuration wiki provided is not complete and/or outdated. It causes confusion to me and probably many other people. Could you update it at least 1 by 1 when you have free time?

elishacloud commented 4 years ago

Thanks for your comments! I am pretty bad at keeping my documentation up-to-date. But I will try and update it soon. Thanks.

AndhikaWB commented 4 years ago

Thank you, and I'm also confused about the stub.ini file. For example, I already copied dxwrapper.dll, dxwrapper.ini, and d3d9.dll to my game dir. Do I need to rename stub.ini to d3d9.ini first? Is it really required to copy it to my game dir too since I already have the dxwrapper.ini file?

elishacloud commented 4 years ago

For most cases you don't need the stub.ini file. The main case you need to use that is if you want to wrap a custom dll. For example, if you are using a GOG game and the game already comes with a ddraw.dll file. In that case you could do the following:

  1. Rename the GOG ddraw.dll file to ddraw-GOG.dll.
  2. Copy in the ddraw.dll (stub) and the dxwrapper.dll and dxwrapper.ini files.
  3. Add the stub.ini file and rename it to ddraw.ini.
  4. Modify the stub config file and change RealDllPath = AUTO to RealDllPath = ddraw-GOG.dll

This will tell the stub to load ddraw-GOG.dll rather than the System32 ddraw.dll file.

elishacloud commented 3 years ago

The Configuration wiki has been updated with all options. Closing this issue.