BramTeurlings / 3DGameBridge

Wrapper Project for easy implementation of function in any 3D Game Bridge project
GNU General Public License v3.0
3 stars 1 forks source link

[GB-211] Automatically load DLLs in srReShade addon #40

Open BramTeurlings opened 9 months ago

BramTeurlings commented 9 months ago

Instead of copying the DLLs, we can load them inside of a stripped version of the addon that doesn’t have any calls requiring the SR dlls.

This addon then loads all the SR DLLs using the registry path (and depending on 32/64 bits). After this, it will load the actual srReShade addon which has all of the SR logic and depends on the just-loaded SR DLLs. Then it will use GetAddressProc to call functions on the real srReShade addon.

This way we can avoid having to ever copy DLLs again.


Originally reported by , imported from: Automatically load DLLs in srReShade addon
  • status: To Do
  • priority: Medium
  • resolution: Unresolved
  • imported: 2024-04-04
BramTeurlings commented 9 months ago

712020:c26664a4-c3de-4473-a0b4-5a76804d5628:

I discussed this with Jurjen and Kevin and they think that doing this in SimulatedReality.dll directly is actually a really good feature. Perhaps we can do this in the SR Platform repo instead of our addon.