wine
https://gyazo.com/9da19255c5ae3ff6d84c50934b4cf934
Wine Is Not Emulator
安裝
$ pacman -S wine
前置設定
$ sudo dpkg --add-architecture i386
$ sudo mkdir -pm755 /etc/apt/keyrings
$ sudo apt install --install-recommends winehq-stable
自行Build
$ sudo apt-get install gcc-multilib g++-multilib
$ sudo apt-get install xorg-dev libx11-dev
$ sudo apt install libx11-dev:i386
$ sudo pacman -S giflib lib32-giflib libpng lib32-libpng libldap lib32-libldap gnutls lib32-gnutls mpg123 lib32-mpg123 openal lib32-openal v4l-utils lib32-v4l-utils libpulse lib32-libpulse alsa-plugins lib32-alsa-plugins alsa-lib lib32-alsa-lib libjpeg-turbo lib32-libjpeg-turbo libxcomposite lib32-libxcomposite libxinerama lib32-libxinerama ncurses lib32-ncurses opencl-icd-loader lib32-opencl-icd-loader libxslt lib32-libxslt libva lib32-libva gtk3 lib32-gtk3 gst-plugins-base-libs lib32-gst-plugins-base-libs vulkan-icd-loader lib32-vulkan-icd-loader cups samba dosbox
設定
開啟設定
$ winecfg
建構32bit環境
code:wine32_env.sh
export WINEPREFIX=~/.wine32
export WINEARCH=win32
winetricks allfonts
winetricks cjkfonts
winetricks --force fakejapanese_vlgothic
使用32bit環境執行
$ WINEARCH=win32 WINEPREFIX=$HOME/.wine32 wine program code:wine32.sh
set -eu
export WINEPREFIX=$HOME/.wine32
export WINEARCH=win32
wine $@
指定執行語言環境
設定日文字體
$ winetricks allfonts
$ winetricks cjkfonts
$ winetricks fakejapanese_ipamona
VB runtime
$ winetricks vb6run
關聯項目