Comments (6)
from box64.
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.
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.
OH SH!T IT WORKS?!
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.
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.
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)
- Infinite loop over "shm_semaphores_init: semctl init error: Invalid argument " (termux / proot) HOT 7
- Warning, of_unconvert(...) left over 0x8000, converted 0x8402 when running box64 on RISC-V HOT 3
- Providing a Native GNU/Linux Environment for Android Users HOT 8
- Lots of unknown symbols with .NET 7 when trying to load the Celeste modloader Everest HOT 2
- Crash at `TEST Ed,Gd` HOT 12
- wine9 wow failed to start on loongarch HOT 3
- Failed to start genshin impact in loongson 3A6000 using box64+wine HOT 14
- A Qt program can't start HOT 7
- [ARM64] Running love2d 11.5 with DynaRec off leads to segfault HOT 1
- EarthX (Unity3D) crashes after splash screen on M1 HOT 4
- Unimplemented Opcode (66 66 2E 0F) HOT 5
- Barony game need SDL_GameControllerHasRumble to accept a joypad HOT 1
- [TF2] Missing symbols in libstdc++.so.6
- Jetboard Joust, the game is smooth but no sound HOT 7
- Failed to install genshin impact in Arch Linux with wow64 error, using Loongson 3A6000 HOT 2
- Space Crew - GLib-GObject-CRITICAL
- Stardeus (Native) HOT 2
- AVX Instructions Required In Death Stranding HOT 9
- Weak symbol HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from box64.