Skip to content

Instantly share code, notes, and snippets.

@eggplants
Last active April 21, 2025 19:29
Show Gist options
  • Save eggplants/14140b6553cc000bf9a91de0c68a4929 to your computer and use it in GitHub Desktop.
Save eggplants/14140b6553cc000bf9a91de0c68a4929 to your computer and use it in GitHub Desktop.
RPGツクール2000ゲーム「ドラ子の出稼ぎ物語」をWine 10.6とUbuntu 25.04で動かすまで

RPGツクール2000ゲーム「ドラ子の出稼ぎ物語」をWineとUbuntuで動かすまで

検証環境

  • 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:       pluckywine --version
wine-10.6type wine
wine is a shell function from /home/eggplants/.zshenvwhich 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 "$@"
}

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

Wineのセットアップ

# 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

RPGツクール2000のランタイムをインストールする

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 でウィンドウ表示に変更

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment