this post was submitted on 15 Jul 2024
14 points (100.0% liked)

Linux 101 stuff. Questions are encouraged, noobs are welcome!

1009 readers
1 users here now

Linux introductions, tips and tutorials. Questions are encouraged. Any distro, any platform! Explicitly noob-friendly.

founded 1 year ago
MODERATORS
14
submitted 1 month ago* (last edited 1 month ago) by [email protected] to c/[email protected]
 

So not sure where else to ask, maybe someone here knows?

I am using Heroic Launcher to play Control which I own through GOG.

There are a few mods I wanted to add to the game:

The first mod is a requirement for the next 3.


So the first mod for Windows I would need to add the DLL to where the game is installed. This is where I run into issues. I did that, put the DLL in the games install directory, however it is not loading the DLL.

I investigated using Winetricks GUI from Heroic Launcher to see if there was a way to add a DLL and register it. However, it doesn't give me an option to install a custom DLL.

All of my searching has not lead me to see how I could register the DLL for my Control Prefix.


I could be going about this all wrong, so if anyone has any tips or suggestions I would very much appreciate it.

Thank you!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 month ago (2 children)

Set a launch option:

WINEDLLOVERRIDES="dllname.dll=n,b" %command%

This is for steam (I don't think %command% works in heroic) but if you have access to winecfg in your prefix, you could also add the override through there.

[–] [email protected] 3 points 1 month ago

Just to clarify, I believe the exact thing you need on Heroic is WINEDLLOVERRIDES="iphlpapi.dll=n,b" in the launch options for the game.

[–] [email protected] 1 points 1 month ago

That worked, thank you!