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的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: wine: Unhandled page
- 下一篇: ubuntu linux下面运行《暗黑破