系统版本:深度Linux15.11
wine版本:5.0RC2
DXVK版本:1.5
深度系统linux15.11声音调解:
sudo apt install pavucontrol
系统驱动安装见下面这个链接:
https://blog.csdn.net/qqLiSi/article/details/82751377
wine安装:
首先解决深度linux挂载windows10的NTFS分区无可写权限问题。
进入windows10系统,关闭windows10快速启动再回到深度linux就行了
详细参照:https://wiki.winehq.org/Debian
安装wineHQ:
装被用于签发安装包的密钥:
wget -nc https://dl.winehq.org/wine-builds/winehq.key
sudo apt-key add winehq.key
然后在 /etc/apt/sources.list.d/ 创建一个名为 winehq.list 的文件
sudo deepin-editor /etc/apt/sources.list.d/winehq.list
加入以下内容:
deb https://dl.winehq.org/wine-builds/debian/ stretch main
添加验证公钥:
sudo apt install dirmngr
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 76F1A20FF987672F
更新软件仓库:
sudo apt update
安装wine分之。上为开发板。下为稳定版:
sudo apt install --install-recommends winehq-devel
or
sudo apt install --install-recommends winehq-stable
验证当前版本号:
wine --version
创建容器:
winecfg
安装必备的Gecko和Mono
自行在下面连接下载gecko和mono
https://dl.winehq.org/wine/wine-mono/
https://dl.winehq.org/wine/wine-gecko/
下载下来的文件为msi
然后cd到文件目录。
采用以下命令安装gecko和mono
wine msiexec /i wine_gecko-2.24-x86.msi
wine msiexec /i wine_mono2.24-x86.msi
注意gecko需要安装x86和x86_64
安装DXVK:
下载:https://github.com/doitsujin/dxvk/releases
首先设定容器位置:下面/path/to/.wine-prefix为容器位置
export WINEPREFIX=~/.wine
./setup_dxvk.sh install
运行信息显示:
wine cmd
regedit
在HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment建立一个字符串值
DXVK_HUD=devinfo,fps,frametimes,submissions,drawcalls,pipelines,memory,version
安装字体(如果没有simsun.ttc字体,请自行百度下载):
cp simsun.ttc ~/.wine/drive_c/windows/Fonts/
创建zh.reg文件,内容如下:
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Arial"="simsun"
"Arial CE,238"="simsun"
"Arial CYR,204"="simsun"
"Arial Greek,161"="simsun"
"Arial TUR,162"="simsun"
"Courier New"="simsun"
"Courier New CE,238"="simsun"
"Courier New CYR,204"="simsun"
"Courier New Greek,161"="simsun"
"Courier New TUR,162"="simsun"
"FixedSys"="simsun"
"Helv"="simsun"
"Helvetica"="simsun"
"MS Sans Serif"="simsun"
"MS Shell Dlg"="simsun"
"MS Shell Dlg 2"="simsun"
"System"="simsun"
"Tahoma"="simsun"
"Times"="simsun"
"Times New Roman CE,238"="simsun"
"Times New Roman CYR,204"="simsun"
"Times New Roman Greek,161"="simsun"
"Times New Roman TUR,162"="simsun"
"Tms Rmn"="simsun"
然后输入命令:
regedit zh.reg
安装兼容库(必须):
sudo apt install lib32ncurses5 lib32z1 libldap2-dev libvulkan1-dev libvulkan1:i386 libvulkan-dev
修复容器权限:
sudo chown -R $USER:$USER .wine
安装:winetricks(警告:不能采用sudo apt install winetricks安装。因为版本太老)
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
通过winetricks安装支持库
sh winetricks corefonts fakechinese wenquanyi vcrun2015 vcrun2013 vcrun2008 vcrun2005 ole32