wineprefix 32 on 64 issue

Questions about Wine on Linux
Locked
slvteam
Newbie
Newbie
Posts: 2
Joined: Fri Jan 02, 2015 10:11 am

wineprefix 32 on 64 issue

Post by slvteam »

Hi, All!!!

Can anybody help with wineprefix issue?
I'm trying to install Civilization V. To avoid bugs I want to use win32 wine prefix, but the subsequent call of winetricks shows 64-bit warning.
There is terminal output:
slv@slava-host:~$ rm -fR .local/share/wineprefixes/*
slv@slava-host:~$ rm -fR .wine/
slv@slava-host:~$ WINEARCH=win32 WINEPREFIX=/home/slv/.local/share/wineprefixes/CivV wine 'wineboot'
wine: created the configuration directory '/home/slv/.local/share/wineprefixes/CivV'
fixme:storage:create_storagefile Storage share mode not implemented.
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
err:mscoree:LoadLibraryShim error reading registry key for installroot
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x11fe890, overlapped 0x11fe89c): stub
wine: configuration in '/home/slv/.local/share/wineprefixes/CivV' has been updated.
slv@slava-host:~$ winetricks prefix=CivV vcrun2008
------------------------------------------------------
You are using a 64-bit WINEPREFIX. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Executing w_do_call vcrun2008
Executing load_vcrun2008
Using native,builtin override for following DLLs: atl90 msvcm90 msvcp90 msvcr90 vcomp90
Executing winetricks_early_wine regedit C:\windows\Temp\_vcrun2008\override-dll.reg
Executing wine vcredist_x86.exe
fixme:clusapi:GetNodeClusterState ((null),0x32ebf4) stub!
fixme:advapi:DecryptFileA ("c:\\df17f76a494ce03dd2c38987d8eabdae\\", 00000000): stub
fixme:heap:HeapSetInformation (nil) 1 (nil) 0
fixme:advapi:LsaOpenPolicy ((null),0x33f2d8,0x00000001,0x33f2c4) stub
fixme:advapi:LsaClose (0xcafe) stub
If I substitute the command line:
WINEARCH=win32 WINEPREFIX=/home/slv/.local/share/wineprefixes/CivV wine 'wineboot'
with the following:
WINEARCH=win32 WINEPREFIX=/home/slv/.local/share/wineprefixes/CivV winecfg
and just press OK in the GUI window which shows up,
I get the same result:
wintricks warns that the specified prefix is not win32.

Please help :)

P.S. System information: Ubuntu 14.04 Desktop

Code: Select all

slv@slava-host:~$ uname -a
Linux slava-host 3.13.0-43-generic #72-Ubuntu SMP Mon Dec 8 19:35:06 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
slv@slava-host:~$ wine --version
wine-1.6.2
slv@slava-host:~$ winetricks --version
20140302
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wineprefix 32 on 64 issue

Post by dimesio »

You can't change the architecture of an existing wineprefix. WINEARCH=win32 has to be set when you first create it.

As for Civ V, are you aware that there is now a native Linux version?
slvteam
Newbie
Newbie
Posts: 2
Joined: Fri Jan 02, 2015 10:11 am

Re: wineprefix 32 on 64 issue

Post by slvteam »

dimesio wrote:You can't change the architecture of an existing wineprefix. WINEARCH=win32 has to be set when you first create it.
Could you explain this point?
As I wrote before I deleted all wine prefixes as a first step using these commands
slv@slava-host:~$ rm -fR .local/share/wineprefixes/*
slv@slava-host:~$ rm -fR .wine/
And just after that, I did:
$ WINEARCH=win32 WINEPREFIX=/home/slv/.local/share/wineprefixes/CivV wine 'wineboot'
As far as I understand wineprefix is created at this point. Am I right? If yes, what I'm doing wrong?
User avatar
dimesio
Moderator
Moderator
Posts: 13208
Joined: Tue Mar 25, 2008 10:30 pm

Re: wineprefix 32 on 64 issue

Post by dimesio »

You're creating the wineprefix correctly, but you're not installing to the wineprefix you created.
spoon0042
Level 6
Level 6
Posts: 572
Joined: Thu Dec 24, 2009 11:00 am

Re: wineprefix 32 on 64 issue

Post by spoon0042 »

Specifically, see here: http://wiki.winehq.org/FAQ#wineprefix

In short, remake the new 32-bit wineprefix as you did before, then you'll need to set WINEPREFIX=/home/slv/.local/share/wineprefixes/CivV for every subsequent command (or set it in the shell with export).
Locked