我在 Linux 上使用了 Wine 和 Play,但它不起作用。以下脚本是我在 Linux 上按下运行 Play 时发生的:
(0x172f20) - stub
fixme:alsa:AudioSessionControl_UnregisterAudioSessionNotification (0x1770b8)->(0x172f20) - stub
[08/15/17 13:36:46] - ----- Ending function POL_Install_AdobeAir -----
[08/15/17 13:42:54] - Running wine-1.7.36 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
wine: configuration in '/home/sweglord/.PlayOnLinux//wineprefix/LeagueOfLegends' has been updated.
[08/15/17 13:54:58] - Running wine-2.4 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
wine: Unhandled exception 0xe06d7363 in thread 55 at address 0x7b43ff62 (thread 0055), starting debugger...
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
wine: configuration in '/home/sweglord/.PlayOnLinux//wineprefix/LeagueOfLegends' has been updated.
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
[08/15/17 13:57:18] - Running wine-2.4 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
wine: Unhandled exception 0xe06d7363 in thread 15d at address 0x7b43ff62 (thread 015d), starting debugger...
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
[08/15/17 13:58:02] - Running wine-1.7.36 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
wine: configuration in '/home/sweglord/.PlayOnLinux//wineprefix/LeagueOfLegends' has been updated.
[08/15/17 13:58:47] - Running wine-1.9.2-LeagueOfLegends5 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
p11-kit: couldn't load module: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: /usr/lib/i386-linux-gnu/pkcs11/p11-kit-trust.so: cannot open shared object file: No such file or directory
wine: configuration in '/home/sweglord/.PlayOnLinux//wineprefix/LeagueOfLegends' has been updated.
[08/15/17 13:59:05] - Running wine-1.9.2-LeagueOfLegends5 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
[08/18/17 10:14:22] - Running wine-1.9.2-LeagueOfLegends5 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
[08/18/17 10:16:28] - Running wine-1.9.2-LeagueOfLegends5 lol.launcher.admin.exe (Working directory : /home/sweglord/.PlayOnLinux/wineprefix/LeagueOfLegends/drive_c/Riot Games/League of Legends)
err:winedevice:ServiceMain driver L"WineBus" failed to load
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f918 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f758 1 C) semi-stub
fixme:msvcp:_Locinfo__Locinfo_ctor_cat_cstr (0x33f8c4 1 C) semi-stub
fixme:advapi:EventRegister {2f9efe86-4af7-4f37-a40f-94b909a157d6}, 0x484200, 0x6851d0, 0x68e5d0
fixme:advapi:EventRegister {ea08c559-95a8-4aa2-afa6-18738eec6d37}, 0x484200, 0x685198, 0x68e5c8
fixme:advapi:EventRegister {10f6728c-ef92-4bf1-8397-49e693a6eb74}, 0x484200, 0x685208, 0x68e520
fixme:advapi:EventRegister {46dd7f96-60cb-416b-8085-da5cd8f491dd}, 0x484200, 0x685240, 0x68e608
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:ver:GetCurrentPackageId (0x33fcbc (nil)): stub
err:wincodecs:PngDecoder_CreateInstance Failed reading PNG because unable to find libpng12.so.0
fixme:advapi:EventRegister {2f9efe86-4af7-4f37-a40f-94b909a157d6}, 0x100555b0, 0x100906c0, 0x10094ad0
fixme:advapi:EventRegister {ea08c559-95a8-4aa2-afa6-18738eec6d37}, 0x100555b0, 0x10090768, 0x10094ac8
fixme:advapi:EventRegister {10f6728c-ef92-4bf1-8397-49e693a6eb74}, 0x100555b0, 0x100906f8, 0x10094b10
fixme:advapi:EventRegister {46dd7f96-60cb-416b-8085-da5cd8f491dd}, 0x100555b0, 0x10090730, 0x10094b08
fixme:advapi:EventRegister {2f9efe86-4af7-4f37-a40f-94b909a157d6}, 0x4b1c90, 0x89ad10, 0x8d9e10
fixme:advapi:EventRegister {ea08c559-95a8-4aa2-afa6-18738eec6d37}, 0x4b1c90, 0x89adb8, 0x8d9e08
fixme:advapi:EventRegister {10f6728c-ef92-4bf1-8397-49e693a6eb74}, 0x4b1c90, 0x89ad48, 0x8d9e50
fixme:advapi:EventRegister {46dd7f96-60cb-416b-8085-da5cd8f491dd}, 0x4b1c90, 0x89ad80, 0x8d9e48
fixme:module:load_library unsupported flag(s) used (flags: 0x00000800)
fixme:ver:GetCurrentPackageId (0x33f1b4 (nil)): stub
fixme:ntdll:NtQuerySystemInformationEx (0x0000006b,0x33ee10,4,(nil),0,0x8d55e4) stub
fixme:ver:GetCurrentPackageId (0x33e534 (nil)): stub
fixme:dbghelp:elf_search_auxv can't find symbol in module
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:advapi:EventUnregister deadbeef: stub
fixme:ver:GetCurrentPackageId (0x33ef44 (nil)): 存根
答案1
POL 提示:
- 尝试不同的 Windows 版本
- 尝试不同的 wine 版本(我使用的是 2.1staging)
- 在 Wine 设置中使用虚拟桌面,并根据屏幕尺寸进行设置
- 在 LoL 设置中禁用“游戏期间关闭客户端”
- 安装 Internet Explorer 以使商店正常运行
选择:
答案2
这些措施已被证明有效
葡萄酒
sudo add-apt-repository -y ppa:ubuntu-wine/ppa
sudo apt-get update
sudo apt-get -y install wine
Ubuntu Wine ppa 支持所有 Ubuntu 发行版。
玩转Linux
PlayOnLinux 是一款软件,它允许您轻松安装和使用大量专为 Microsoft® Windows® 而设计的游戏和应用程序。目前很少有游戏与 GNU/Linux 兼容,这无疑是阻碍迁移到该系统的一个因素。PlayOnLinux 为这个问题带来了免费、方便且高效的解决方案。PlayOnLinux
wget -q "https://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget https://deb.playonlinux.com/playonlinux_precise.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux
安装完成后,运行playonlinux,按安装按钮,选择测试选项,然后搜索英雄联盟,按安装
然后选择下载程序。安装程序将被下载并执行。不要更改安装的默认位置。
安装完成后,不要启动英雄联盟。通过桌面上的图标运行 lol。
以下是Ubuntu 下的英雄联盟(已更新) - EuroBytes
我是这本书的作者
答案3
err:wincodecs:PngDecoder_CreateInstance 无法读取 PNG,因为无法找到 libpng12.so.0
尝试安装/重新安装libpng
包,例如
sudo apt-get install libpng