juggling multiple wine binaries and prefixes

Questions about Wine on macOS.
Locked
v1nsai
Level 1
Level 1
Posts: 8
Joined: Sun Jun 21, 2009 12:12 am

juggling multiple wine binaries and prefixes

Post by v1nsai »

I have Wine installed through MacPorts, but I need to apply a patch and recompile to get something to work. I have compiled my binary and have tried running my windows app from the wine binary sitting in my ~/Downloads folder that I just created, but it won't even start up. I'm trying to figure out if this is a problem with the patch and binary itself or with the way I'm trying to run it. I tried just setting the wine prefix and running the new wine binary from the command line, anything else I should do? Thanks for any help.

Code: Select all

v1Mac-Pro:~ v1nsai$ export WINEPREFIX=/Users/v1nsai/.wine/prefix32
v1Mac-Pro:~ v1nsai$ /Users/v1nsai/Downloads/patched_wine/bin/wine /Users/v1nsai/.wine/drive_c/Program\ Files/TERA/TERA-Launcher.exe
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc627ce
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr 0x7bc627ce
edit:
Here's a link to the instructions I followed to patch wine, you have to scroll down a little it's under the heading "Compile Wine for Tera" http://appdb.winehq.org/objectManager.p ... &iId=25812
v1nsai
Level 1
Level 1
Posts: 8
Joined: Sun Jun 21, 2009 12:12 am

Re: juggling multiple wine binaries and prefixes

Post by v1nsai »

I'll answer my own question, in case anyone else stumbles across this.

After compiling, I used make install to install my patched wine binaries over my regular ones. This isn't what I wanted to do, but it will work and I can reinstall wine with MacPorts if I need to.

Changing the prefix is global, so doing "export WINEPREFIX=/path/to/new/prefix" will work for all wine installs. It's an environment variable, I don't know why I got confused about that but hey sometimes you just need it spelled out.

Hope this helps someone!
Locked