New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
64 bit installation cannot be used with a 32 bit wineserver #839
Comments
WINE should not point to wineserver, just wine. Anyway, what winetricks version is this? It appears to be quite old |
I installed the newest version of winetricks earlier this week. MacBook-2:~ $ winetricks --version I also tried pointing WINE to wine within /bin in the second half of my post above, but it gave me the same error. WINE=/Applications/Wine\ Devel.app/Contents/Resources/wine/bin/wine WINEPREFIX=~/.wine-new winetricks |
I was able to reproduce with a test script. Thanks for reporting. In the future, be sure to include the winetricks version. |
So for me, turned out it was a bug in my script, which was running a 32-bit only wine. When I fixed that, my testcase succeeded. The other issue is that vcrun2017 doesn't exist in winetrricks ;). Could you try running it please? Be sure to move .wine/.wine-new out of the way first.
Feel free to open a separate issue for missing vcrun2017. |
Thanks, I'll run this! Before I do though, will this delete my existing default .wine directory? I have a number of programs and settings in there that I'd like to preserve. I'll open that separate issue on vcrun2017 as well. In the meantime is there an alternate way other than through winetricks to install those redistributables? |
It will remove not only '.wine', but '.wine-new' as well, should it exist, so definitely copy or move them as necessary. :] |
Yes, it will delete it, that's why I said to move it first ;) I would've used temporary directories, but the only way I can see this being a bug is it's somehow related to ~/.wine being the default prefix, so I wanted you to test that on your machine. |
I ran this and got the terminal output below. I'm not sure what I should be looking for to tell whether this worked as expected. There don't appear to be new wine prefixes in my user folder. |
You should save that in a file, call it test.sh. Then, run:
Then attach test.txt here |
Got it, see below: |
Bad assumption (and typo) on my part, could you retry with this please?
|
Here's the new one |
@iPenguin67 sorry, I forgot to quote $WINE. I edited the last comment to quote everything that wasn't before. Could you try once more? Sorry again about that! |
Updated: |
Huh. Wine doesn't show an error, but it exited after making the 32-bit prefix. Your copy has a typo I fixed, "WINEPEFIX" instead of WINEPREFIX, but I can't see that making it fail. Try removing |
Looks like that helped: |
What is the next step to take from here? And will I need to wait for vcrun2017 to be added in order to make this work? |
@iPenguin67 yell at me basically; apparently I was drunk when I wrote it for you/didn't test). Another bug. This should hopefully be last try:
If you have issues, for faster response time, ping me on #winetricks on IRC (freenode). austin987/wizardedit are me. Sorry again for wild goose chase. |
No problem, here's the new file: |
@iPenguin67 the only issue I see there is that your wine64 segfaults on startup; but no in indication of your original issue. |
I'm not sure what the script was doing, so I'm not sure what to look for that would be different, but I tried running the commands from the top of the page again. I didn't see the same error (at least not when opening winetricks), but both seemed to indicate they were 32 bit. Both output the following: MacBook-2:~ $ WINE=/Applications/Wine\ Devel.app/Contents/Resources/wine/bin/wine WINEPREFIX=~/.wine-new winetricks I was assuming wine-new would be 64 bit but it seems like it's still confused, unless I'm reading it wrong. |
Make sure .wine doesn't exist, then run:
what does that show? |
[I didn't follow the thread, just spotted a typo while scrolling through my mails:] |
Here's the output:
|
@iPenguin67 It seems your "Wine Devel.app" is 32-bit only. |
@qwertychouskie I didn't know that was possible? I recently updated it and it's currently on wine-2.16. |
Try re-installing using https://dl.winehq.org/wine-builds/macosx/pool/winehq-devel-2.18.pkg |
Or https://dl.winehq.org/wine-builds/macosx/pool/winehq-staging-2.18.pkg for staging (from my experience, staging generally works better with various applications). |
@qwertychouskie This looks like it worked! I was able to get the 64 bit prefix working and I download the vcrun2017 package elsewhere and installed it successfully. Unfortunately, I am still unable to run the game I was hoping to run, but that wasn't the topic of this thread so I think we can close! |
You're welcome. By the way, did you download devel or staging? Staging has a lot of patches that help things to run better (most notable for games is CSMT, which can be enabled in the staging tab of |
@qwertychouskie Thanks for the advice -- I just tried with Staging and I'm getting the same issue. Essentially regardless of whether I start the game in question (Life is Strange: Before the Storm) from within Steam or directly via -applaunch, wine seems to think the game has launched/is running, but it never actually seems to load, or is in an invisible window somewhere. |
When I first installed wine and winetricks over a year ago, it was for the purpose of installing an old 32-bit game. My default .wine prefix is therefore a 32 bit prefix. Recently, I bought Life Is Strange: Before the Storm and wanted to play through Steam, but the game is 64-bit only, so I created a new 64-bit wine prefix called .wine-new (also in my user folder -- I am on Mac OS X, full comp specs at bottom of post).
I was unable to run the game still and a suggested resolution was to install the Visual C++ 2017 redistributables. When I do so I get the following error message: cmd.exe /c echo '%ProgramFiles%' returned empty string, error message "wine: '/Users//.wine-new' is a 64-bit installation, it cannot be used with a 32-bit wineserver."
I've found references to this on other forums, but they've always been for the opposite scenario: someone has a 64-bit default prefix and is trying to install things in a 32-bit prefix.
I have tried to set my wineserver to the one in my /bin as below, but so far nothing I try has had any effect. See log attached.
Error log.txt
I also tried accessing the winetricks GUI directly, which works when I call the original .wine prefix, but not my .wine-new prefix.
Works: WINE=/Applications/Wine\ Devel.app/Contents/Resources/wine/bin/wine WINEPREFIX=~/.wine winetricks [but no access to vcrun2017]
Does not work: WINE=/Applications/Wine\ Devel.app/Contents/Resources/wine/bin/wine WINEPREFIX=~/.wine-new winetricks
Specs:
Macbook Pro 2016
Processor: 3.3 GHz Intel Core i7
Memory: 16 GB 2133 MHz LPDDR3
Graphics: Intel Iris Graphics 550 1536 MB
Software: OS 10.12.4
Wine is currently emulating Windows 7, but I can change that in winecfg if need be.
The text was updated successfully, but these errors were encountered: