This gist is deprecated. You can find the latest instructions here.
Check whether it's already enabled:
$ locale -a | grep ja
If you see something like this, you can proceed to the next step.
ja_JP
ja_JP.eucjp
ja_JP.shiftjis
ja_JP.ujis
ja_JP.utf8
japanese
japanese.euc
If not, create the locale file:
$ sudo touch /var/lib/locales/supported.d/ja
And write these lines into it:
ja_JP.UTF-8 UTF-8
ja_JP.EUC-JP EUC-JP
ja_JP SJIS
Next, run this command:
$ sudo dpkg-reconfigure locales
You can ignore the SJIS error.
$ sudo apt install -y fonts-takao fonts-vlgothic fonts-horai-umefont fonts-mona fonts-monapo
Install wine following the official instructions.
Get the latest version of winetricks:
$ curl -O https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
$ chmod +x winetricks
$ sudo mv winetricks /usr/local/bin
You might also need to install cabextract:
$ sudo apt install -y cabextract
$ export WINEARCH=win32
$ export WINEPREFIX="$HOME/.local/share/wineprefixes/wa2"
$ mkdir -p "$WINEPREFIX" && wineboot -u
Install wine-mono and wine-gecko if prompted.
Copy the files to the wineprefix:
(assuming you have them in your home folder)
$ cd "$WINEPREFIX"
$ cp -r "$HOME/WHITE ALBUM2" "drive_c/Program Files"
Apply a registry edit to act like the game has been installed:
$ curl -o wa2.reg https://ghostbin.com/paste/r627o/download
$ wine regedit wa2.reg
You can now proceed to the next step.
Mount the WA2 disks in /tmp:
(assuming you have them in your home folder)
$ mkdir -p /tmp/disk{1..2}
$ sudo mount "$HOME/WHITE_ALBUM2_1.mdf" /tmp/disk1
$ sudo mount "$HOME/WHITE_ALBUM2_2.mdf" /tmp/disk2
Now, mount them in the wineprefix:
$ cd dosdevices
$ ln -s /tmp/disk1 x:
$ ln -s /tmp/disk2 y:
$ ln -s "$HOME/WHITE_ALBUM2_1.mdf" x::
$ ln -s "$HOME/WHITE_ALBUM2_2.mdf" y::
Run the setup:
$ cd x:
$ LANGUAGE=ja_JP LANG=ja_JP.eucjp wine setup.exe
Note: You can set an alias to run programs with Japanese locale by adding the following line to your .bashrc file:
alias winejp='LANGUAGE=ja_JP LANG=ja_JP.eucjp wine'
Enable opengl:
$ winetricks settings ddr=opengl
Install requirements:
$ winetricks lucida
$ winetricks devenum
$ winetricks d3dx9
$ winetricks quartz
$ winetricks wmp10
The installation of wmp10 may hang after it's finished. You can terminate it with Ctrl + C.
Install wget:
$ sudo apt install -y wget
Download the latest stable release of the installer:
$ wget -O WA2_patch.exe `curl -s \
https://api.github.com/repos/ObserverOfTime/WA2EnglishPatch/releases/latest \
| grep browser_download_url | cut -d '"' -f 4`
Or, the latest release including nightly builds:
$ wget -O WA2_patch.exe `curl -s \
https://api.github.com/repos/ObserverOfTime/WA2EnglishPatch/releases \
| grep browser_download_url | cut -d '"' -f 4 | head -1`
Run the installer:
$ wine WA2_patch.exe
You should now be able to launch the game with this:
$ LIBGL_ALWAYS_SOFTWARE=1 wine WA2_en.exe
LIBGL_ALWAYS_SOFTWARE=1
is necessary to be able to run the game. You can set an alias for it by writingalias winegl='LIBGL_ALWAYS_SOFTWARE=1 wine'
in your.bashrc
file and then run the game withwinegl WA2_en.exe
.
I need some help... T_T
Today I tried to install White Album 2 on openSUSE Tumbleweed, but encountered some problem when following the instruction at https://todokanaitl.github.io/wa2-wine/
[SOLVED] 1. When Installing, Wine is Unable to Detect The Label of Mounted DVD
Problem
First, after lots of
mount
andln
, when runningwine stepup.exe
, it always shows a dialog "please insert Disk 1":At this time, terminal output is
I wildly guess it's because the WA2 installer cannot find a disk labeled
WA2_EE_1
, therefore it ask me to insert Disk 1. However,wine
just cannot detect the label of mounted ISO, even if a symbolic link to a device file (x::
) is also specified ( https://ubuntuforums.org/showthread.php?t=846551&s=b55cda6f7d607dab29506dce90c37fa1&p=5823321#post5823321 ), really donno why...(Type: "Auto` Detect", Label: "" (empty) )
Solution
At last I just used USB external DVD reader to install and it just work...
[UNSOLVED] 2. Crashes When Executing Main Program (WA2.exe)
Problem
After installation finished, at last, it always crashes when executing the main execution....
👉Click to expand the full error log when crash
Solution....not found yet.
I've followed todokanaitl's instruction to install gstreamer-plugins-{good,ugly,libav}-32bit with codecs, and winetricks. However it just crashed.
After more google, I found this gist, and install more winetricks written in this gist, but still crashed...
Any ideas? Too thanks.