Wine - hpaluch/hpaluch.github.io GitHub Wiki

Wine

Wine is native Windows emulator for Linux. Unlike KVM/QEMU (or LibVirt layer) which emulates whole PC hardware, Wine runs Windows executables natively under Linux emulating Windows environment - you can think of it as containerization for Windows apps (or in NT terms it is "Windows subsystem" under Linux).

Fedora notes

When I tried popular Train dispatcher simulation from https://web.archive.org/web/20210420163241/http://softikon.wz.cz/ it worked just "out-of-the-box" under openSUSE LEAP 15.6 with Xfce (imply run winfile File Manager and then application that was unpacked under ~/.wine/drive_c/).

But under Fedora 43 Beta GNOME it was more challenging - somehow I have to force Wayland to make it work (otherwise it resorted to XWayland and it failed under Fedora - application window was simply cut and partially invisible and on next screen it just crashed).

Finally I created script ~/bin/unisim.sh with contents:

#!/bin/bash
set -xeuo pipefail
# application requires proper working directory:
cd ~/.wine/drive_c/GAMES/unisim109
# DISPLAY= forces Wayland
DISPLAY= wine32  c:/GAMES/unisim109/Unisim.exe 
exit 0

And that works fine (I installed 32-bit Wine with sudo dnf install wine.i686). Note: Wine is also developing running 32-bit apps under 64-bit Wine version (nicknamed WoW64 ("Windows 32-bit on Windows 64-bit"), it is name of 32-bit subsystem under 64-bit Windows) - because unnamed Linux vendors are completely dropping 32-bit Linux application support (for sake of enshitification, err, security).

Resources: