Install WineZGUI from flathub and run
flatpak override --user --talk-name=org.freedesktop.Flatpak --filesystem=host io.github.fastrizwaan.WineZGUI
To get the same feature as of flatpak-wine.
flatpak override --user --talk-name=org.freedesktop.Flatpak --filesystem=host io.github.fastrizwaan.WineZGUI
-
Create Shortcut for any selected exe.
-
Installer supported
-
Create Game Bundles and share
-
Save and Load Game (drive/users/$USER)
-
Template support
In a terminal window, copy paste these:
flatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo flatpak --user -y install flathub org.winehq.Wine/x86_64/stable-22.08 flatpak -y remove io.github.fastrizwaan.WineZGUI wget -c https://github.com/fastrizwaan/flatpak-wine/releases/download/0.97.12-1/flatpak-winezgui_0.97.12_20230908.flatpak flatpak --user install flatpak-winezgui_0.97.12_20230908.flatpak flatpak run io.github.fastrizwaan.WineZGUI
Get flatpak-wine8 flatpak from https://github.com/fastrizwaan/flatpak-wine/releases
Flatpak-wine is simply wine and winetricks bundled in a flatpak file. Here wine is built and included in the flatpak. Flatpak-WineZGUI is flathub's wine (org.winehq.Wine) + WineZGUI scripts. Here wine is not built/bundled for the flatpak.
Wine by default uses ~/.wine as prefix. But WineZGUI uses different prefix location Game bottles/Prefixes:
~/.var/app/io.github.fastrizwaan.WineZGUI/data/winezgui/Prefixes/
Yes, what works with standard wine should work. If an exe won't work test it with flatpak run --command=wine io.github.fastrizwaan.WineZGUI <GAME>.exe
which will use ~/.wine
as prefix.
Prefix and Launch Script for both Installers and direct play exe files are created. Once the installer is launched, it creates new launch scripts for the found installed exe in the installer's prefix.
flatpak-wine and flatpak-WineZGUI have full host/filesystem access, and if you want to restrict it, use flatseal app from flathub to limit the directories it can read/write. It is given full rw access on the host so that apps/games in different partitions or directories can be run without any issues. But everything is official, there are no patches, one can check the manifest and scripts.
Both default and app/game specific bottles provide some options to customize, like winetricks gui, winecfg etc. We can open flatpak sandbox shell from the options, and run winetricks, wine like we run from terminal window.
Install your required dlls using winetricks
We can use Open Terminal feature to access command line.
Just go to ~/.var/app/io.github.fastrizwaan.WineZGUI/data/prefixes/
, and we can find all the games and default prefixes created by flatpak-WineZGUI here.
Lutris, Bottles, Phoenicis, PlayOnLinux, q4wine, WineGUI, etc. have confusing frontend / interface. They are prefix oriented, that is the user is asked to create a prefix then choose a setup/exe file to work with that prefix. Flatpak-wine is trying to be simple, opening an exe with flatpak-WineZGUI creates a prefix automatically for any installer/exe to isolate it, which is way faster. Though every new prefix takes around a couple hundred megabytes disk space.
-
Upgrade breakage fix: When our distro updates wine, some games which work with specific version of wine will stop working. so, flatpak-wine is independent of distribution, so it will not break games with distribution upgrades of wine.
-
Consistent Version : wine within flatpak with a fixed version (5.0.x) works across all flatpak supported distributions (https://flatpak.org/setup/). And other version like flatpak-wine-6.19 can co-exist together for other games.
-
Availability across most Linux distros: Centos like distributions do not provide 32 bit wine in their repository. Or you can't have older version of wine like wine-2.17 for older games.
-
Consistent libraries: wine in different distro may not work because of missing libraries, e.g., debian needs to enable 32 bit support. The advantage is that the shared libraries in flatpak are consistent across all distributions. which can be used to run official wine build from winehq.
-
Works like wine bottle management apps like PlayOnLinux / Lutris for wine / Bottles app.
-
Straight forward and quick launching of Windows programs and games.
Wine staging breaks with updates. So it is better to use stable wine than latest but unreliable wine version.
Yes, for that see winepak-x86_64 (https://github.com/fastrizwaan/winepak-x86_64). The Drawback of winepak-x86_64 bundle is that creating bundle takes a lot of time 20 minutes to hours. and it is difficult to bundle all the runtime stuff for all the games. Some games and apps can be bundled easily with that. Bottles created with flatpak-wine is a simple solution. But one can quickly setup flatpak-wine and use the game directory, why bother with creating a flatpak-bundle when the game or app would last a few days to a few months?
flatpak run --command=wine io.github.fastrizwaan.WineZGUI --version wine-8.0
from the terminal window run
flatpak kill io.github.fastrizwaan.WineZGUI
or from your desktop environment's menuwinezgui->Kill...
It's simple: build takes up to 2 hours (50 minutes on i7 4th gen)
git clone https://github.com/fastrizwaan/flatpak-wine.git cd flatpak-wine/flatpak-winezgui bash ./install.sh
this will create a flatpak and also install it (as --user)
https://youtu.be/x4PUObpG8sI (flatpak-wine version 1.0 install instructions) old version https://www.youtube.com/watch?v=6gmHe6faMS8 (raji game) https://youtu.be/7vTIGOXQYfw (kungfu strike with flatpak-wine) https://youtu.be/IvZfBgg0Xy8 (New super lucky's tale) https://youtu.be/VT22Ii4-Wwg (Friday Night Funkin) https://youtu.be/vFWWEDc9OfM (Hob the game wine 5.0.5)