欢迎访问 生活随笔!

生活随笔

当前位置: 首页 > 运维知识 > linux >内容正文

linux

ubuntu linux下面用wine运行大航海时代4和最新版的QQ

发布时间:2023/12/20 linux 39 豆豆
生活随笔 收集整理的这篇文章主要介绍了 ubuntu linux下面用wine运行大航海时代4和最新版的QQ 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

环境:
wine:4.12
Ubuntu Linux 18.10
务必关闭虚拟机
pt install osspd pulseaudio-esound-compat

使用的游戏压缩包是:
链接: https://pan.baidu.com/s/1bdATTjYTwpWwKcZq2cskLQ 提取码: 3u3c 复制这段内容后打开百度网盘手机App,操作更方便哦

设置如下:
wine regedit d3d.reg
应用程式里面设置为 windows 2008R2(其他系统没测试过)
apt-get install winetricks
①winetricks dotnet40(如果卡住了,参考[1])
②winetricks -q vcrun6 vcrun6sp6
③winetricks里面安装vcrun2012
①②③不确定是否绝对必要,因为我也是自己摸索出来的,在摸索的过程中安装了这三项,所以就记录了下来.

另外,必须全路径为英文

最后启动方法是:
wine DK4PK.exe
如果启动后有一大堆问号,那么:
LC_ALL=zh_HK wine DK4PK.exe

效果如下:
交易、海战、航行、寻宝都OK

声音正常,买新船没法修改默认的名字,因为下面的候选框出不来,不知道为什么

wine终端存在的报错是:

0009:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 8.0, 256 bits)"). 0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23. 0009:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work. 0009:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 8.0, 256 bits)"). 0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23. 0039:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 0039:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 0039:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 0039:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to? 0009:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 8.0, 256 bits)"). 0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23. 0009:fixme:d3d:wined3d_guess_card No card selector available for card vendor 0000 (using GL_RENDERER "llvmpipe (LLVM 8.0, 256 bits)"). 0009:err:d3d:wined3d_adapter_find_polyoffset_scale PolygonOffset scale factor detection failed, using fallback value 2^23. 0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 0009:fixme:x11drv:X11DRV_desktop_SetCurrentMode Cannot change screen BPP from 32 to 16 0039:fixme:winmm:MXD_GetControlDetails What should the sw-side mixer controls map to? 0039:fixme:winmm:MXD_SetControlDetails What should the sw-side mixer controls map to?

不影响游戏,不要理会.
但是游戏中会有部分字体是粉红色的.
如果碰到游戏没有声音,多半是linux系统本身没声音导致的,
只要linux系统里面有声音,wine里面的游戏也会有声音传出来.

####################################################
然后是安装最新版的QQ
直接
wine 安装文件

安装完毕后,QQ.exe在
/home/appleyuchi/.wine/drive_c/Program Files (x86)/Tencent/QQ/Bin下面
直接wine QQ.exe即可启动,效果如下:

创建启动器:
QQ透明图标如下:
链接: https://pan.baidu.com/s/18WLY3eOOq5RCs9AX-EkKGg 提取码: x2cm 复制这段内容后打开百度网盘手机App,操作更方便哦

启动器可以当做txt来编辑,sublime打开,内容是:

[Desktop Entry] Version=1.0 Type=Application Name=QQ最新版 Comment= Exec=wine /home/appleyuchi/.wine/drive_c/Program\\ Files\\ \\(x86\\)/Tencent/QQ/Bin/QQ.exe Icon=/home/appleyuchi/Game/qq矢量图标/QQ.png Path= Terminal=false StartupNotify=false

最终效果如下:

直接双击就能运行QQ了
但是由于wine出来的QQ会跟随鼠标晃来晃去,记得要去winecfg里面的"显示"一栏里面把"模拟一个虚拟桌面"取消

另外还有个注意事项,就是winecfg里面是XP情况下安装的QQ,就在xp下启动,如果更换了winecfg里面设置的系统,QQ启动时会报告组件异常.
所以请务必记得自己安装QQ时,winecfg里面是什么系统.

总结

以上是生活随笔为你收集整理的ubuntu linux下面用wine运行大航海时代4和最新版的QQ的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。