我能够用 Wine 完美运行福克斯围棋客户端(国外版)。
而且我可以在应用程序上正常输入和查看 CJK 字符(我使用 FCITX)。
Wine 默认不能访问这些字符吗?
我的 Mac (Sequoia) 也出现了同样的情况。
我刚刚尝试了另一个答案,但是在安装结束时出现了一些错误:
$ ./winetricks corefonts gdiplus riched20 riched30 wenquanyi
...
10/10 12:20:17 [ERROR] CUID#7 - Download aborted. URI=https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Exception: [AbstractCommand.cc:340] errorCode=2 Timeout.
10/10 12:20:17 [NOTICE] Download GID#e8dd5e0f2cd2c309 not complete: /home/phili/.cache/winetricks/msls31/InstMsiW.exe
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
e8dd5e|ERR | 0B/s|/home/phili/.cache/winetricks/msls31/InstMsiW.exe
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
Executing cd /home/phili/.cache/winetricks/msls31
Downloading https://web.archive.org/web/2000/https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe to /home/phili/.cache/winetricks/msls31
10/10 12:20:18 [NOTICE] Downloading 1 item(s)
[#fd45bf 0B/0B CN:1 DL:0B]
10/10 12:21:03 [ERROR] CUID#7 - Download aborted. URI=https://web.archive.org/web/2000/https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe
Exception: [AbstractCommand.cc:340] errorCode=2 Timeout.
10/10 12:21:03 [NOTICE] Download GID#fd45bfa35a4b4a14 not complete: /home/phili/.cache/winetricks/msls31/InstMsiW.exe
Download Results:
gid |stat|avg speed |path/URI
======+====+===========+=======================================================
fd45bf|ERR | 0B/s|/home/phili/.cache/winetricks/msls31/InstMsiW.exe
Status Legend:
(ERR):error occurred.
aria2 will resume download if the transfer is restarted.
If there are any errors, then see the log file. See '-l' option in help/man page for details.
------------------------------------------------------
warning: Downloading https://web.archive.org/web/2000/https://web.archive.org/web/20160710055851if_/http://download.microsoft.com/download/WindowsInstaller/Install/2.0/NT45/EN-US/InstMsiW.exe failed
------------------------------------------------------
后来的编辑警告我有关32位和64位的东西:
./winetricks regedit ─╯
Executing cd .
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20240105-next - sha256sum: 65d5aaffa155adcb1883aa71fb7e14a90a899dcac11e66e6ff368de40f3f0a79 with wine-9.19 and WINEARCH=win64
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
而且,重新安装之后,程序的布局变得非常混乱:
现在我甚至不确定如何正确地恢复它。
当我尝试从终端使用 Wine 运行安装程序时,在完成安装并进入奇怪的布局之前,我得到了以下结果:
╭─ ~/Other Software/Fox Weiqi ────────────────────────────────────────────── ✔ 16:33:08 ─╮
╰─ wine64 fox_install.exe ─╯
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open
shared object file): ignored.
0120:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0120:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0120:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
ERROR: ld.so: object '/usr/${LIB}/libgtk3-nocsd.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
╭─ ~/Other Software/Fox Weiqi ─────────────────────────────────────── ✔ 7s 16:33:46 ─╮
╰─ 0130:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0259F6B8, 0259F728 0259F6C0 ─╯
0130:fixme:nls:get_dummy_preferred_ui_language (0x34 0x409 0259F6B8 0259F728 0259F6C0) returning a dummy value (current locale)
0130:err:winediag:ntlm_check_version ntlm_auth was not found. Make sure that ntlm_auth >= 3.0.25 is in your path. Usually, you can find it in the winbind package of your distribution.
0130:err:ntlm:ntlm_LsaApInitializePackage no NTLM support, expect problems
0130:fixme:heap:RtlSetHeapInformation HEAP_INFORMATION_CLASS 1 not implemented!
0130:fixme:shcore:SetCurrentProcessExplicitAppUserModelID L"Client.AppID.NoVersion": stub
0130:fixme:msvcrt:_set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled
0130:fixme:nls:RtlGetThreadPreferredUILanguages 00000034, 0259F9E4, 0259FA54 0259F9EC
0130:fixme:nls:get_dummy_preferred_ui_language (0x34 0x409 0259F9E4 0259FA54 0259F9EC) returning a dummy value (current locale)
0130:fixme:shell:InitNetworkAddressControl stub
0130:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0130:fixme:win:RegisterTouchWindow hwnd 000200E4, flags 0 stub!
0174:fixme:ver:GetCurrentPackageId (1B0FFF10 00000000): stub
0130:fixme:win:RegisterTouchWindow hwnd 00010144, flags 0 stub!
0194:fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
0194:fixme:toolhelp:Heap32ListFirst : stub
0130:fixme:uxtheme:BufferedPaintInit Stub ()
01bc:fixme:ver:GetCurrentPackageId (29D7FF10 00000000): stub
0130:fixme:uxtheme:BufferedPaintUnInit Stub ()
0130:fixme:msvcrt:__clean_type_info_names_internal (78BEA300) stub
0130:fixme:msvcrt:__clean_type_info_names_internal (78886BE4) stub
0130:fixme:msvcrt:__clean_type_info_names_internal (7A510E54) stub
葡萄酒论坛上的用户jkfloris 在很大程度上帮助解决了这些问题。
WINEPREFIX=~/foxweiqi wineboot
WINEPREFIX=~/foxweiqi winetricks -q tahoma fakechinese
WINEPREFIX=~/foxweiqi wine install.exe
cd "${HOME}/foxweiqi/drive_c/Program Files (x86)/foxwq/foxwq"
WINEPREFIX=~/foxweiqi wine foxwq.exe
为了将它添加回 Rofi,我必须创建一个脚本并在
.desktop
文件中引用它,因为运行该程序现在只需要两行,而且我不知道它的语法。现在 Fox Weiqi 比我第一次运行的时候运行得更好,布局也正确。唯一的问题是仍然有一些字体不起作用,我怀疑是表情符号字体(我确实安装了 winetricks
allfonts
包……)。