Creating a 32-bit wine prefix on a 64-bit machine

Questions about Wine on Linux
Locked
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Creating a 32-bit wine prefix on a 64-bit machine

Post by A Nonny Moose »

Ubuntu 14.04 with wine-1.7.19

I am getting warnings from winetricks that some components can only be installed on a 32-bit wine prefix. I've tried setting the WINEARCH variable before creating a new prefix with no success.

I have the game Banished which seems to want the Windows Media Player, but winetricks refuses. So what is the proper method for creating the 32-bit wine prefix, please?

BTW, Banished slows the whole machine to a crawl, but doesn't use much CPU. If this change to the prefix doesn't fix it, I'll probably raise another item.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by dimesio »

A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by A Nonny Moose »

Thanks.
RLMJSmit
Level 1
Level 1
Posts: 6
Joined: Wed Jun 11, 2014 7:53 am

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by RLMJSmit »

I have a similar problem with installing Acemoney on Linux mint 17 64 bit; it has to be installed as a 32-bit program. I looked around on internet, asked MechCad (owner of Acemoney).

I removed Acemoney and wine; reinstalled wine.

In the terminal I typed
<WINEARCH=win32 WINEPREFIX=/home/roland/.wine/wineprefix winecfg>

and a .wine/wineprefix directory was created.
So far so good.
However, a new copy of Acemoney will install in .wine (64bit I suppose) and not in .wine/wineprefix (32 bit I think).

How to proceed? Anyone an idea?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by dimesio »

RLMJSmit wrote: and a .wine/wineprefix directory was created.
That created a wineprefix within the default wineprefix. That's a bad idea. Delete it and create a separate one. After it's created, you have to specify that wineprefix to install things to it and run apps in it. http://wiki.winehq.org/FAQ#wineprefix
A Nonny Moose
Level 4
Level 4
Posts: 217
Joined: Sun May 09, 2010 5:53 pm

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by A Nonny Moose »

When I built my 32-bit prefix, I let it default to the standard name .wine.

To do this:
mv .wine .wine64
WINEARCH=win32 WINEPREFIX=/home/roland/.wine winecfg

Worked fine.

Turns out that almost all of my stuff is 32-bit, so I am sticking with the 32-bit prefix. However, to switch:

mv .wine .wine32
mv .wine64 .wine

is all it takes.
RLMJSmit
Level 1
Level 1
Posts: 6
Joined: Wed Jun 11, 2014 7:53 am

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by RLMJSmit »

Thank you dimesio and A Nonny Moose. I managed to install Acemoney as 32 bits.
RLMJSmit
Level 1
Level 1
Posts: 6
Joined: Wed Jun 11, 2014 7:53 am

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by RLMJSmit »

RLMJSmit wrote:Thank you dimesio and A Nonny Moose. I managed to install Acemoney as 32 bits.
However, I still see this when trying to registrate Acemoney:

'Unable to perform online registration. Please connect to the internet and try again'

MechCad, owner of Acemoney, answers:
'We learned that it is a problem with Wine on 64 bit computers. We officially don't support AceMoney on Linux. Please try to find a workaround in Wine to get it working. For instance, try this - http://askubuntu.com/questions/136714/h ... bit-ubuntu'

So even in 32-mode: no possibility to registrate. Never had problems with Acemoney and Linux (Min13, Mint 14) before.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by dimesio »

Wine version? If it's not the latest development release, upgrade. If the problem persists, post terminal output.
RLMJSmit
Level 1
Level 1
Posts: 6
Joined: Wed Jun 11, 2014 7:53 am

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by RLMJSmit »

dimesio wrote:Wine version? If it's not the latest development release, upgrade. If the problem persists, post terminal output.
Wine 1.6.2; I did a fresh install of Linux mint 17, 64bit, Cinnamon. Installed Wine from the Mint packages.
Attachments
Scherm.png
Scherm.png (7.22 KiB) Viewed 17107 times
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by dimesio »

The current development release is 1.7.20, and I asked for terminal output, not a screenshot of the app's error message.
RLMJSmit
Level 1
Level 1
Posts: 6
Joined: Wed Jun 11, 2014 7:53 am

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by RLMJSmit »

dimesio wrote:The current development release is 1.7.20, and I asked for terminal output, not a screenshot of the app's error message.
I installed acemoney from a *.deb file; don't know how to create any create any terminal output in this case.
RLMJSmit
Level 1
Level 1
Posts: 6
Joined: Wed Jun 11, 2014 7:53 am

Re: Creating a 32-bit wine prefix on a 64-bit machine

Post by RLMJSmit »

YES!

I managed to update Wine, with some difficulties. Just to try I installed the file you see in the screenshot.
And now I can use Acemoney.
Thanks for your help!

(maybe an update to a newer version of Wine was not necessary, just the 32-bits WIne-files)
Note: a added the Wine PPA to the Mint-packages to update Wine and install the 32-bit-files.
Attachments
Schermafdruk.png
Schermafdruk.png
Schermafdruk.png (5.77 KiB) Viewed 17102 times
Locked