[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="wqy-microhei.ttc,wqy-microhei"
"Microsoft Sans Serif"="wqy-microhei.ttc,wqy-microhei"
"SimSun"="wqy-microhei.ttc,wqy-microhei"
"Tahoma"="wqy-microhei.ttc,wqy-microhei"
#! /bin/sh
mkdir $HOME/.deepinwine
export WINEPREFIX=$HOME/.deepinwine/wine-thunder5
export LANG=zh_CN.utf8
if [ -e $WINEPREFIX ];then
echo "Wineprefix exists. If wine-thunder doesn't work, remove directory ~/.deepinwine/wine-thunder5 and retry."
else
echo "Wineprefix doesn't exist, now will create it."
wineboot -u
ln -s /usr/share/fonts/truetype/wqy/wqy-microhei.ttc $WINEPREFIX/drive_c/windows/Fonts/
tar -xzf /usr/share/deepinwine/thunder5/Thunder.tar.gz -C $WINEPREFIX/drive_c/Program\ Files/
tar -xzf /usr/share/deepinwine/thunder5/dlls.tar.gz -C $WINEPREFIX/drive_c/windows/system32/
cd $WINEPREFIX/drive_c/windows/system32/
regsvr32 dispex.dll jscript.dll scrobj.dll scrrun.dll vbscript.dll wshcon.dll wshext.dll
regedit /usr/share/deepinwine/thunder5/init.reg
regsvr32 $WINEPREFIX/drive_c/Program\ Files/Thunder/ComDlls/ThunderAgent.dll
echo "Creation finished, now will launch wine-thunder."
fi
wine $WINEPREFIX/drive_c/Program\ Files/Thunder/Thunder.exe
if [ $# -eq 1 ]
then
#echo $1
wine cscript //e:vbscript "C:\Program Files\Thunder\thunder.vbs" $1
fi[/color:3pgd4fzm]
[color=#FF0000:3pgd4fzm]init.reg
REGEDIT4
[HKEY_CURRENT_USER\Software\Wine]
"Version"="win98"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontSubstitutes]
"Tahoma"="WenQuanYi Micro Hei"
[HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\FontLink\SystemLink]
"Lucida Sans Unicode"="wqy-microhei.ttc,wqy-microhei"
"Microsoft Sans Serif"="wqy-microhei.ttc,wqy-microhei"
"SimSun"="wqy-microhei.ttc,wqy-microhei"
"Tahoma"="wqy-microhei.ttc,wqy-microhei"
[HKEY_CURRENT_USER\Control Panel\Desktop]
"FontSmoothing"="2"
[HKEY_CURRENT_USER\Software\Wine\DllOverrides]
"*jscript.dll"="native,builtin"
"*atl71.dll"="native,builtin"
"*mfc42.dll"="native,builtin"
"*msvcr71.dll"="native,builtin"
"*msvcrt.dll"="native,builtin"
"*msvcp60.dll"="native,builtin"
"*msvcp71.dll"="native,builtin"[/color:3pgd4fzm]