3AA. Installing Wine on macOS

Downloading and setting up WINE and running Palatoglossotron on macOS
(As of Spring 2018 this has worked on a 2017 iMac and a 2012 MacBook Pro both running macOS High Sierra as well as multiple other laptops of unknown specifications)


1. Download the stable distribution of Wine from http://winebottler.kronenberg.org/. You will have to wait through an ad for a few seconds, but then click ‘Skip Ad’ in the top right corner.

2. Run the file called something like WineBottlerCombo_1.8.3.dmg and drag the icon named ‘Wine’ into your Applications folder in the dialogue that pops up. Don’t worry about the ‘WineBottler’ icon unless you know what to do with it. Once Wine copies, you can close the window and eject the installer.

3. Now run Wine from your Applications folder. YOU WILL NOT JUST BE ABLE TO DOUBLE CLICK IT. The easiest way to launch it is by right-clicking and selecting ‘Open’ and then selecting ‘Open’ again in the dialogue that pops up. There’s probably a command line way of doing this too.

4. Three windows will pop up. Ignore them. In your system command bar at the very top of your screen there should now be a wine glass icon. Click it and select ‘Configuration’. Multiple dialogue boxes will pop up. Let them do their thing until it tells you ‘Prefix created successfully.’ Then click ‘OK’. When you do so, the Wine configuration menu will pop up. Close it.

5. Click the wine glass icon again. There should be a blue folder icon that says ‘current prefix: Wine Files’ in it. This means that it has successfully created a folder for Wine in your home directory (~/).

6. Click the glass icon again and select ‘Quit Wine’.

7. Now Download Palatoglossotron (PG.zip) from the lab manual. Follow the instructions there to unzip it and rename the Glossatron.ex_ file to Glossatron.exe. You’ll have to click “Use .exe” when you do so.

8. After doing that, it is important that you obtain the file called mfc40.dll in order to use Palatoglossotron for analysis. Download it and unzip the file. It will create a new file called mfc40.dll wherever you downloaded the .zip folder, likely ~/Downloads/.

9. Move the .dll file to ~/Wine\ Files/drive_c/windows/system32 by either using the command line or dragging/copy-pasting in the regular Mac GUI. The backslash in the path is necessary because a filename in the path contains a space.

10. After doing that, navigate to the PG file that you have unzipped and changed the extension in. Wine should have set itself as the default to open .exe files, but just in case, right-click the Glossatron.exe file and select ‘Open With’ and then select ‘Wine’.

11. The same Wine windows from before will open again with a new one asking you what you would like to do with the file you’re trying to open in Wine. You should leave the default settings as they are. They should be automatically set to ‘Run directly in’ and the file path in the dropdown menu should be something like: /Users/yourusername/Wine Files. Click ‘Go’.

12. After waiting a few moments, Palatoglossatron should open behind all the Wine windows, which you can close safely.

13. Follow the rest of the instructions in the lab manual for doing your ultrasound analysis. ONE NOTE: Once you open Glossatron.exe this way, it may be that the only way you are able to access your normal directories on your hard drive is by navigating to the Z: drive in Palatoglossotron instead of the default C: drive. The C: drive exists only within ~/Wine\ Files/drive_c, so you can definitely use it, but you will have to move your files out of there afterwards. Navigating to MyComputer > Z: > Users > yourusername should get you to your normal macOS files/directories.

Go back to Working with data (Ultrasound and video)