Running macOS Sierra(Version 10.12.2 16C67).
I installed Wine version wine-1.8.6
(through a .pkg file). I opened up a game and it worked fine.
The next day when I downloaded Origin installer, it wouldn't open. When I double clicked on it, the Wine icon showed up in the dock and said it was open, but no windows showed up. When I clicked on another program(or on the desktop), Wine closed. Now when I try to start that same game I opened when I first installed Wine, the same thing happens that happened when I started Origin installer.
When I go to the terminal and type wine {path of .exe}
I got this:
I installed wine tricks using brew install winetricks
and it installed fine, yet it didn't change my situation.
winecfg
works properly, and so does sh winetricks
.
Best Answer
The real problem was that I had removed the
Z:
drive which pointed to my root directory. After adding theZ:
drive back usingwinecfg
, I was able to run Windows programs from any location again.I finally got it fixed. I just deleted the.wine
folder, ranwinecfg
again, and everything started working.Sometimes after trying this solution, I still have this problem. I have found that moving the program to inside the~/.wine/drive_c
folder fixes this.