尝试从 64 位 Wine 1.6.2 (Trusty 14.04) 切换到 32 位 Wineprefix

Alt*_*e90 4 wine winetricks 14.04

我在使用 Wine 1.6.1 时遇到了一些麻烦。我最近下载了一些我想尝试的 32 位游戏(BeamNG Drive 和 Bugbear 的 Next Car Game 演示),但在尝试运行这些游戏中的任何一个时遇到了一些麻烦。所以我在 'Net 上找到了几条建议,一个是在 Ubuntu 社区网站上,另一个是在 BeamNG 的论坛上,关于如何在 64 位设置上创建 32 位 wineprefix。

我设法能够创建 wine32 文件夹,但现在我无法将其设置为默认的 Wine 设置。有人知道我该怎么做吗?

我会发布上述建议的网址,顺便说一句:

这是我迄今为止在终端中尝试过的:

steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX='/home/user/wine32' WINEARCH='win32' wine 'wineboot'
wine: chdir to /home/user/wine32
 : No such file or directory
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX='/home/steven/wine32' WINEARCH='win32' wine 'wineboot'
wine: created the configuration directory '/home/steven/wine32'
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 0x10ee890, overlapped 0x10ee89c): stub
wine: configuration in '/home/steven/wine32' has been updated.
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX=$HOME/.wine32 wine dxsetup.exe
wine: created the configuration directory '/home/steven/.wine32'
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 0x103e2b8, overlapped 0x103e2d0): stub
fixme:storage:create_storagefile Storage share mode not implemented.
fixme:iphlpapi:NotifyAddrChange (Handle 0x10fe890, overlapped 0x10fe89c): stub
wine: configuration in '/home/steven/.wine32' has been updated.
wine: cannot find L"C:\\windows\\system32\\dxsetup.exe"
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEARCH=win64 winecfgsteven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX='/home/steven/wine32' WINEARCH='win32' wine 'wineboot'
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEARCH=win32 winecfg
wine: WINEARCH set to win32 but '/home/steven/.wine' is a 64-bit installation.
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX='/home/steven/wine32' WINEARCH='win32' wine 'wineboot'
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX='/home/user/wine32' WINEARCH='win32' wine 'wineboot'
wine: chdir to /home/user/wine32
 : No such file or directory
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX='/home/steven/wine32' WINEARCH='win32' wine 'wineboot'
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX=/home/steven/wine32 WINEARCH='win32' wine 'wineboot'
steven@steven-HP-Pavilion-17-Notebook-PC:~$ WINEPREFIX=/home/steven/wine32 WINEARCH=win32 wine wineboot
steven@steven-HP-Pavilion-17-Notebook-PC:~$ 
Run Code Online (Sandbox Code Playgroud)

我远非专家,也许我一直在以错误的方式去做这件事。与此同时,我会继续自己寻找解决方案。

Cro*_*oll 9

创建 32 位 Windows wine 前缀:

env WINEPREFIX=$HOME/.wine32 WINEARCH=win32 winecfg
Run Code Online (Sandbox Code Playgroud)

(或win64作为酒弓)

使用前缀 - 与 env:

env WINEPREFIX=$HOME/.wine32 command arguments[...]
Run Code Online (Sandbox Code Playgroud)

命令就像wine setup.exe.

有关更多信息,请参阅man env

$HOME/.wine32是您的前缀名称(实际上是/home/username/.wine32),您必须始终指定它才能使用它。

默认的 WINEPREFIX 是 ~/.wine,您可以通过删除(有任何更改)来重新创建它:不推荐

rm -R ~/.wine
Run Code Online (Sandbox Code Playgroud)

您不能在将来不重新创建的情况下更改前缀的体系结构。对于不同的游戏,我建议使用单独的 wine 前缀(或者对于 EA Origin 等不同的游戏客户端)