Hello All,
Host OS: Linux Mint 21.3
WINE config: Windows 10, 64bit
Wine configuration support apps I use: Playonlinux, Steam Proton, Lutris, Heroic Games Launcher (for GoG and Epic).
Note: I no longer install Windows apps on my host system directly through WINE (like clicking on an .exe in the file manager). I've been in the habit for years to always create and use seperate containers of some sort, such as through Playonlinux/Lutris/Heroic.
My question is this:
What is the procedure for determining which Windows libraries or other core Windows components are needed, after a Windows app is installed through WINE and won't run?
In other words, how do you determine which packages to install through winetricks or similar methods?
How do you know/check which ones are needed, but still missing?
I've not ever found such a guide, but would be delighted to follow any links you might share that point toward such.
I do understand that some games use kernel spying code for anti-cheat purposes that do not run on the linux kernel. My question is in regards to "normal" Windows apps that do not rely on anti-cheat code.
Procedure to find which MSWindows libraries are needed?
-
- Level 3
- Posts: 68
- Joined: Wed Oct 04, 2023 7:57 am
Re: Procedure to find which MSWindows libraries are needed?
usually you do
you can also do something like
and check the errors while trying to load a DLL
check the doc
https://wiki.winehq.org/Debug_Channels
Code: Select all
objdump -x your_exe.exe | grep -i DLL | sort | uniq
Code: Select all
WINEDEBUG=+loaddll wine your_exe
check the doc
https://wiki.winehq.org/Debug_Channels
-
- Level 3
- Posts: 68
- Joined: Wed Oct 04, 2023 7:57 am
Re: Procedure to find which MSWindows libraries are needed?
you can also just do
which can show something like
Code: Select all
strings your.exe | grep -i '\.dll$'
Code: Select all
user32.dll
kernel32.dll
uxtheme.dll
gdi32.dll
Kernel32.dll
Comctl32.dll
librtmp.dll
logstub.dll
shell32.dll
comctl32.dll
powrprof.dll
Shlwapi.dll
dwmapi.dll
shlwapi.dll
MediaInfo.dll
mscoree.dll
autretest ⌁67%