GithubHelp home page GithubHelp logo

Comments (6)

mio-19 avatar mio-19 commented on August 26, 2024

#1393

from box64.

EuphoricCatface avatar EuphoricCatface commented on August 26, 2024

I want to see this actually working! Since ArchARM lacks lib32 repository, WoW64 will be probably the easiest way to get 32bit Windows applications running on it. (Unless WineHQ officially releases WoW64 enabled packages)

from box64.

EuphoricCatface avatar EuphoricCatface commented on August 26, 2024

This might be a dumb experiment, but here's what I tried today to make WoW64 work:
(This is NOT an attempt to install and/or run the wine package of x86_64 Arch Linux or any variant of it)

With the wine64 binary from the Debian package, when I try to run a Win32 executable, I realized Wine says it will try the experimental WoW64 mode, and then fails to load C:\windows\syswow64\ntdll.dll. Indeed, C:\windows\syswow64 folder is empty in this case.
Whereas, when I deleted wine binary on my desktop Arch Linux and tried to run a Win32 executable with wine64 binary, it was failing because it couldn't find the deleted binary.
Maybe the Debian package is actually able to do WoW64 but just does not create WoW64 support inside the wineprefixes?

So, I installed wine-wow64 on my desktop, installed the same version (9.6) of Debian Wine on the ARM64 system, and then copied over the folder C:\windows\syswow64 under the wineprefix. However, the recipient Wine system was still failing to find C:\windows\syswow64\ntdll.dll.

I thought maybe other components inside the wineprefix could not handle the WoW64 part, so throwing in more DLLs might solve the problem. I considered copying over the system32 folder, then, went fsck it, to decide to copy over whole windows folder. So, I created a new wineprefix, deleted the windows folder, copied one over from the desktop.

That didn't solve the problem though. It seems like the components inside the wineprefix are not able to communicate with the wineserver or something, and Wine eventually fails with a message saying it couldn't run explorer. I guess there are some sort of mismatch because of all the critical DLLs being replaced. From this point, without proper knowledge of which DLLs are such critical ones, I wasn't able to proceed anymore.

from box64.

EuphoricCatface avatar EuphoricCatface commented on August 26, 2024

OH SH!T IT WORKS?!

Screenshot 2024-04-20 8 13 50 PM

In addition to the syswow64 folder copied as mentioned above, I have copied over /usr/lib/wine/i386-windows library folder. Since I have Wine installed in ~/.local/opt/wine-devel9.6, I pasted it in ~/.local/opt/wine-devel9.6/lib64/wine/.

EDIT: The i386-windows folder seems to be available with the 32bit version of the Wine package. That is, it might be possible to set up WoW64 entirely with the WineHQ Debian packages, without having to have an installation of wine-wow64 or wine-staging-wow64 on your x64 machine.

from box64.

mio-19 avatar mio-19 commented on August 26, 2024

That's great!
There is some issue preventing any wine varient built by archhlinux toolchain to work.

It might be possible to build a wow64 version on debian and use it without hacking wine64 into wine-wow64

from box64.

ptitSeb avatar ptitSeb commented on August 26, 2024

Wine with new WOW64 works fine with box64. You can find build in pi-apps or in Kron4ek CI.

Using a too modern glibc / or some option for to modern cpu might cause issue tho. I don't have acces to the arch built version of Wine, so cannot debug the issue on my side.

from box64.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.