Created
February 6, 2021 04:39
-
-
Save axzxc1236/98e60c5f7af0dedbd3bea000d2218cc3 to your computer and use it in GitHub Desktop.
RTP install script v2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
if ! [ -e "/bin/unar" ]; then | |
sudo apt install unar | |
fi | |
cd /tmp | |
wget -nc https://tkool.jp/products/rtp/2000rtp.zip https://tkool.jp/products/rtp/2003rtp.zip https://tkool.jp/products/rtp/RTP_patchk_190612.zip https://dl.degica.com/rpgmakerweb/run-time-packages/rpg2000_rtp_installer.exe https://dl.degica.com/rpgmakerweb/run-time-packages/rpg2003_rtp_installer.zip https://dl.degica.com/rpgmakerweb/run-time-packages/xp_rtp104e.exe https://dl.degica.com/rpgmakerweb/run-time-packages/vx_rtp102e.zip https://dl.degica.com/rpgmakerweb/run-time-packages/RPGVXAce_RTP.zip | |
#JP | |
unar -e shift-jis 2000rtp.zip | |
unar -e shift-jis RTP_patchk_190612.zip | |
unar -e shift-jis 2003rtp.zip | |
#EN | |
unar rpg2003_rtp_installer.zip | |
unar vx_rtp102e.zip | |
unar RPGVXAce_RTP.zip | |
#2000J | |
LANG=ja_JP.UTF-8 wine RTPセットアップ/RPG2000RTP.exe | |
cd RTP_patchk_190612 | |
if [ -z "$WINEPREFIX" ]; then | |
export WINEPREFIX="$HOME/.wine" | |
fi | |
mv "モンスター.png" "$WINEPREFIX/drive_c/Program Files (x86)/ASCII/RPG2000/RTP/FaceSet/" | |
mv "主人公3.png" "$WINEPREFIX/drive_c/Program Files (x86)/ASCII/RPG2000/RTP/CharSet/" | |
mv {"基本","ダンジョン","船","内装","外観"}.png "$WINEPREFIX/drive_c/Program Files (x86)/ASCII/RPG2000/RTP/ChipSet/" | |
cd .. | |
LANG=ja_JP.UTF-8 wine 2003RTPセットアップ/RPG2003RTP.exe | |
wine rpg2000_rtp_installer.exe | |
wine rpg2003_rtp_installer.exe | |
wine xp_rtp104e.exe | |
wine RPGVX_RTP/Setup.exe | |
wine RTP100/Setup.exe | |
echo "Installation complete." | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment