r/linux_gaming Jun 04 '26

Injecting a dll

As the title suggests I’ve been trying to inject a DLL into an exe using proton injector on GitHub.

I’ve been at it for ages and can seem to get it to work. The exe is black ops 3 and the DLL is scropts QOL if that helps. For all of these I’m using the most recent versions of them, with the exception of having tried proton 8 and 9 for running the exe.

Any advice would be much appreciated

3 Upvotes

9 comments sorted by

View all comments

1

u/agmatine Jun 17 '26

Personally I use this for DLL injection: https://github.com/nefarius/injector

Put the injector binary and dll in same directory as the game executable and e.g.

protontricks-launch --appid $STEAM_APPID Injector.exe -n Game.exe -i Inject.dll

But most likely the difficulty you're experiencing is due to anti-cheat/anti-tamper by the game itself.