top of page
sietriboreranun

Wine for Mac 2.0: A Powerful and Flexible Solution for Windows Compatibility on macOS



Wine Staging is the testing area of winehq.org. It contains bug fixes and features, which have not been integrated into the development branch yet. The idea of Wine Staging is to provide experimental features faster to end users and to give developers the possibility to discuss and improve their patches before they are integrated into the main branch.


Once you have obtained the sources, you will need to apply the Staging patches of your choice (or all of them) on top of the Wine source tree. You can do this using the provided staging/patchinstall.py script (introduced with wine-staging 5.6, for earlier versions use patches/patchinstall.sh); see its options with --help for detailed instructions. If you apply patches manually, take note that you will also need to run autoreconf -f and tools/make_requests, as such generated changes are not included in Staging patches. Be warned that an individual version of the Staging repository will only successfully apply against the upstream Wine commit it was last rebased against.




Wine for Mac 2.0




We currently rebase staging onto upstream wine after every daily commit round. We could do it less often, but this has a tendency to make changes pile up and become much more difficult to deal with. The point of rebasing is to change the patches to apply directly on top of upstream. We have scripts to make this relatively simple.


If you followed appdb HOWTO and this problem still occurs you most likely have a corrupted "l_intl.nls" file in your winetricks cache. Update your winetricks script to newer version (contains checksum for detection of corrupted download) or remove "l_intl.nls" from "dotnet20" folder in "winetrickscache" and repeat the winetricks step.


Next start winecfg and change the Windows version to Windows 10. Then go to the "Graphics" tab and enable the "Emulate a virtual Desktop" option. Now set the Desktop size to just under your actual desktop resolution so the wine desktop window fits on your desktop. Once you have done that click "Apply" then "OK" to close winecfg.


2: Mouse and keyboard inputs stop working after changing window focus. Workaround: Open winecfg go to the "Graphics" tab and enable the "Emulate a virtual Desktop" option. Now set the Desktop size to just under your actual desktop resolution so the wine desktop window fits on your desktop. Once you have done that click "Apply" then "OK" to close winecfg.


Hi @apemax i can confirm that instruction maker isn't working on wine. 'tried some other wine versions like lutris-fshack and proton but none of them fixed that problem. I can imagine that some other switches (there are a lot in lutris) may be helpful. Or fiddling with some libs in wine?


Hi @SylvainLS , thank you that's brilliant.I debuged studio using the command lutris -d (as i'm using lutris on top of wine)It gave me those errors when opening the Instruction Maker (clearly somethings wrong with fonts):


Ctrl+f, look for 2.12.staging, choose the .pol file and rename it .tar.bz2. Extract and look for a directory called 2.12-staging, Place it into .Playonlinux/, in the wine/linux_amd64 directory (something like that). Normally it should work.


Wine can be installed by enabling the multilib repository and installing the wine (development), wine-stableAUR (stable) or wine-staging (testing) package. Wine Staging is a patched version of Wine, which contains bug fixes and features that have not been integrated into the stable or development branch yet.


Consider installing wine-gecko and wine-mono for applications that depend on Internet Explorer and .NET, respectively. These packages are not strictly required as Wine will download the relevant files as needed. However, having the files downloaded in advance allows you to work off-line and makes it so Wine does not download the files for each Wine prefix needing them.


By default, Wine stores its configuration files and installed Windows programs in /.wine. This directory is commonly called a "Wine prefix" or "Wine bottle". It is created/updated automatically whenever you run a Windows program or one of Wine's bundled programs such as winecfg. The prefix directory also contains a tree which your Windows programs will see as C: (the C-drive).


For example, if you run one program with env WINEPREFIX=/.win-a wine program-a.exe, and another with env WINEPREFIX=/.win-b wine program-b.exe, the two programs will each have a separate C-drive and separate registries.


Wine will start a 64-bit environment by default. You can change this behavior using the WINEARCH environment variable. Rename your /.wine directory and create a new Wine environment by running $ WINEARCH=win32 winecfg. This will get you a 32-bit Wine environment. Not setting WINEARCH will get you a 64-bit one.


In order to see the architecture of an existing prefix you can check its registry file. The command below reads the system registry of the /.wine prefix and returns #arch=win32 or #arch=win64 depending on the architecture type:


If winecfg still fails to detect the audio driver (Selected driver: (none)), configure it via the registry. For example, in a case where the microphone was not working in a 32-bit Windows application on a 64-bit stock install of wine-1.9.7, this provided full access to the sound hardware (sound playback and mic): open regedit, look for the key HKEY_CURRENT_USER > Software > Wine > Drivers, and add a string called Audio and give it the value alsa. Also, it may help to recreate the prefix.


By default, installation of Wine does not create desktop menus/icons for the software which comes with Wine (e.g. for winecfg, winebrowser, etc). This can be achieved by installing wine-installerAUR or wine-installer-gitAUR meta-package (the latter has no additional dependencies), otherwise these instructions will add entries for these applications.


In order to use your installed printers (both local and network) with wine applications in win32 prefixes (e.g. MS Word), install the lib32-libcups package, reboot wine (wineboot) and restart your wine application.


Note that CSMT may actually hurt performance for some applications - if this is the case, disable it by runing wine regedit and set the DWORD value for HKEY_CURRENT_USER -> Software > Wine > Direct3D > csmt to 0x00 (disabled).


With the open-source gallium-based drivers (mostly AMD and Intel cards) there is a Gallium Direct3D state tracker that aims to provide nearly-native performance for DirectX 9. In most cases it has less visual glitches than the upstream wine and doubles the performances. It consumes much less CPU time than CSMT.


Wine's file associations are set in /.local/share/applications/ as wine-extension-extension.desktop files. Delete the files corresponding to the extensions you want to unregister. Or, to remove all wine extensions:


The wine package installs a binfmt file which will allows you to run Windows programs directly, e.g. ./myprogram.exe will launch as if you had typed wine ./myprogram.exe. Service starts by default on boot, if you have not rebooted after installing Wine you can start systemd-binfmt.service to use it right away.


Also installing lib32-libxinerama might fix dual-head issues with wine (for example, unclickable buttons and menus of application in the right most or bottom most monitor, not redrawable interface of application in that zone, dragging mouse cursor state stucked after leaving application area).


Some applications will check for the disc to be in drive. They may check for data only, in which case it might be enough to configure the corresponding path as being a CD-ROM drive in winecfg.However, other applications will look for a name and/or a serial number, in which case the image has to be mounted with these special properties.


Wine features an embedded FPS monitor which works for all graphical applications if the environment variable WINEDEBUG=fps is set. This will output the framerate to stdout. You can display the FPS on top of the window thanks to osd_cat from the xosd package. See winefps.sh for a helper script.


In order to not be asked for a password each time Wine is run as another user the following entry can be added to the sudoers file: mainuserALL=(wineuser) NOPASSWD: ALL. See Sudo#Configuration for more information.


It is recommended to run winecfg as the Wine user and remove all bindings for directories outside the home directory of the Wine user in the "Desktop Integration" section of the configuration window so no program run with Wine has read access to any file outside the special user's home directory.


This could be caused by the window manager not switching focus. In the Graphics tab of winecfg, disable the 'Allow the window manager...' options, or set windowed mode with 'Emulate a virtual desktop'.


I wanted to install Internet Explorer from it and I installed winehq-stable. But I couldn't see that among applications in Winetricks. Do the other versions of wine have more applications to install? What is the difference?


Wine provides its compatibility layer for Windows runtime system (also called runtime environment) which translates Windows API calls into POSIX API calls,[8] recreating the directory structure of Windows, and providing alternative implementations of Windows system libraries,[10] system services through wineserver[11] and various other components (such as Internet Explorer, the Windows Registry Editor,[12] and msiexec[13]). Wine is predominantly written using black-box testing reverse-engineering, to avoid copyright issues.[14]


The selection of "Wine is Not an Emulator" as the name of the Wine Project was the result of a naming discussion in August 1993[15] and credited to David Niemi. There is some confusion caused by an early FAQ using Windows Emulator and other invalid sources that appear after the Wine Project name being set. No code emulation or virtualization occurs when running a Windows application under Wine.[16] "Emulation" usually would refer to execution of compiled code intended for one processor (such as x86) by interpreting/recompiling software running on a different processor (such as PowerPC).While the name sometimes appears in the forms WINE and wine, the project developers have agreed to standardize on the form Wine.[17] 2ff7e9595c


5 views0 comments

Recent Posts

See All

コメント


bottom of page