-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature request: experimental wow64 prefix support #24
Comments
@gel-crabs What troubles were you having exactly? |
It would crash immediately after starting any application, I'll reproduce it now |
With wow64 experimental mode, the Windows folder for storing 32-bit dlls still exists. So if you build dxvk only in 64bits, you can't launch 32bits game... Normally, dxvk 32-bit dlls are to be copied into the Perhaps you've stumbled across a regression of this new mode. What game are you trying to launch? |
@IroAlexis I installed DXVK the normal way (64-bit DLLs in System32 and 32-bit DLLs in SysWOW64) and the Direct3D games I tried so far don't have crashing issues in WoW64 mode |
I tried that way with 64-bit DLLs in System32 and 32-bit DLLs in SysWOW64 and it worked! The game I am running is 64-bit and in the Unity engine. I reran the updxvk script with "wine=wine updxvk (prefix)" as updxvk tries to use wine64, and I found that updxvk creates links in the system32 directory to the x32 DLLs, and does not create DLLs in the syswow64 directory at all. |
Indeed, there isn't wine64 when we compile wine for use new wow64 mode. I think you can close the issue. But, the script would have to be modified to support this new mode. |
@IroAlexis Symlinking the wine binary to wine64 for WoW64 builds would be nice (but I discovered you don't even need to recompile Wine for WoW64 support) |
FYI I tried that as well, however it has the same results as running the script with wine=wine. |
A quick and dirty fix: go to DXVKBUILD and edit setup_dxvk32.sh. Find the line that says:
Change it to:
Note that you will have to rebuild DXVK, and either export wine=wine or symlink wine to wine64. |
As far as I understand, we don't need wine64 because the wine binary is already 64bits. New wow64 mode
"Old" wow64 mode
|
Yes, however the script uses wine64 for 64-bit prefixes by default; without it, it will not update the 64-bit dlls. |
Indeed, it is a potential fix but even syswow64 directory don't exist, winepath return the path... ( |
Yes, editing it in this way will make it only work for wow64 prefixes, it isn't a permanent fix by any means |
Yes script use wine64 but in new wow64 mode, there is only wine and and therefore the command |
Okay, so I was having troubles with the new wow64-only mode in Wine, and I eventually found out that the problem was not with Wine, but with DXVK, as it installs both the 64-bit and 32-bit libraries into the wineprefix.
I found a quick solution, which is copying the DXVK dlls from the syswow64 directory to the system32 directory in the wineprefix.
Could there be a wow64 option in updxvk.cfg to install the 64-bit libraries into both folders? Thank you
The text was updated successfully, but these errors were encountered: