- Ubuntu 25.04
- wine-10.6 (WoW64)
❯ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 25.04
Release: 25.04
Codename: plucky
❯ wine --version
wine-10.6
❯ type wine
wine is a shell function from /home/eggplants/.zshenv
❯ which wine
wine () {
locale -a | grep -qF ja_JP || sudo apt install language-pack-ja -y
if ! [[ -d ~/.wine ]]
then
WINEARCH=wow64 winecfg
fi
LANG=ja_JP.utf8 /usr/bin/env wine "$@"
}
CODENAME="$(lsb_release -c | cut -f2)"
sudo apt install libfaudio0 mesa-vulkan-drivers -y
wget -qO- https://dl.winehq.org/wine-builds/winehq.key | gpg --dearmor > k
sudo install -D -o root -g root -m 644 k /etc/apt/keyrings/winehq-archive.key
rm k
sudo wget -NP /etc/apt/sources.list.d/ "https://dl.winehq.org/wine-builds/ubuntu/dists/${CODENAME}/winehq-${CODENAME}.sources"
sudo apt update
sudo apt install --install-recommends winehq-devel winetricks -y
WINEARCH=wow64 winecfg
curl -s https://gist.githubusercontent.com/eggplants/80e52966765fbad2753b5e57b9b4397d/raw/931c87cd4b9554352edf65347888e19b918b880d/wine-notofu.sh | bash
# ref:
# https://marmooo.blogspot.com/2019/10/winehq-linux.html
# https://lingoto.blogspot.com/2017/03/wine.html
# https://kakurasan.tk/winenotes/apps/rm2k2k3/
# https://siras.seesaa.net/article/202109article_2.html
# https://qiita.com/kerorinfather/items/7af537ba65693015fdc8
# そのままだとMIDI関係で音楽が出ない問題があるが `timidity -iAD` を実行してtimidityをデーモンとして起動すればOK
# `.profile` とかに書いて起動時実行するようにすると楽
sudo apt install timidity alsa-utils -y
echo 'timidity -iAD' >> ~/.profile
eval "winetricks "{quartz,gmdls,dmsynth,directmusic,dsound,devenum}";"
curl -s https://gist.githubusercontent.com/eggplants/80e52966765fbad2753b5e57b9b4397d/raw/931c87cd4b9554352edf65347888e19b918b880d/wine-notofu.sh | bash
winetricks fakejapanese_ipamona
# アンチエイリアスをオフにする
wine reg add "HKEY_CURRENT_USER\Software\Wine\AppDefaults\RPG_RT.exe\X11 Driver" /v "ClientSideWithRender" /t REG_SZ /d "N"
# アンチエイリアスをオンにする
winetricks settings fontsmooth=rgb
wget https://tkool.jp/products/rtp/2000rtp.zip
unzip -O sjis -j 2000rtp.zip "*.exe"
wine RPG2000RTP.exe
rm RPG2000RTP.exe
https://ux.getuploader.com/vipkohaku2010_1b/download/25
unar VIPRPG2010No91_verLast.zip
cd VIPRPG紅白2010No91作品/
LANG=ja_JP.UTF-8 wine GameStart.exe
起動すると全画面表示になるので alt + Enter
でウィンドウ表示に変更