AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / unix / 问题 / 784811
Accepted
psygo
psygo
Asked: 2024-10-10 06:06:55 +0800 CST2024-10-10 06:06:55 +0800 CST 2024-10-10 06:06:55 +0800 CST

Wine 转换应用程序 (Fox Weiqi) 不显示中文 (或 CJK) 字符

  • 772
此悬赏已结束。回答此问题的人员有资格获得+50声誉悬赏。悬赏宽限期将在6 小时后结束。psygo 希望引起更多人对此问题的关注:
如果您能帮我修复混乱的布局,同时保留当前的中文字体,那就太好了。

我能够用 Wine 完美运行福克斯围棋客户端(国外版)。

没有 CJK 字符

而且我可以在应用程序上正常输入和查看 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
arch-linux
  • 1 1 个回答
  • 58 Views

1 个回答

  • Voted
  1. Best Answer
    psygo
    2024-10-19T22:48:20+08:002024-10-19T22:48:20+08:00

    葡萄酒论坛上的用户jkfloris 在很大程度上帮助解决了这些问题。

    1. 创建 Wine 前缀:WINEPREFIX=~/foxweiqi wineboot
    2. 安装必要的字体:WINEPREFIX=~/foxweiqi winetricks -q tahoma fakechinese
    3. 安装程序:WINEPREFIX=~/foxweiqi wine install.exe
    4. 进入 Windows-y 文件夹:cd "${HOME}/foxweiqi/drive_c/Program Files (x86)/foxwq/foxwq"
    5. 运行程序:WINEPREFIX=~/foxweiqi wine foxwq.exe

    为了将它添加回 Rofi,我必须创建一个脚本并在.desktop文件中引用它,因为运行该程序现在只需要两行,而且我不知道它的语法。

    现在 Fox Weiqi 比我第一次运行的时候运行得更好,布局也正确。唯一的问题是仍然有一些字体不起作用,我怀疑是表情符号字体(我确实安装了 winetricksallfonts包……)。

    • 0

相关问题

  • Nftables 配置错误:指定的协议冲突:inet-service v. icmp

  • archlinux efi netboot 内核“ip”不起作用?systemd "启动 Switch Root 失败。"

  • 如何在 Arch Linux 上设置音频,支持多个程序同时发出音频而不创建 asoundrc?

  • 为什么有时需要手动导入密钥?

  • 在启动时加载设备

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve