Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Install and patch White Album 2 on Linux

For Ubuntu and other Debian-based distros

This gist is deprecated. You can find the latest instructions here.

1: Enable Japanese Locale

Check whether it's already enabled:

$ locale -a | grep ja

If you see something like this, you can proceed to the next step.


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

Next, run this command:

$ sudo dpkg-reconfigure locales

You can ignore the SJIS error.

2: Install some Japanese fonts

$ sudo apt install -y fonts-takao fonts-vlgothic fonts-horai-umefont fonts-mona fonts-monapo

3: Install wine and winetricks

Install wine following the official instructions.

Get the latest version of winetricks:

$ curl -O
$ chmod +x winetricks
$ sudo mv winetricks /usr/local/bin

You might also need to install cabextract:

$ sudo apt install -y cabextract

4: Create a wineprefix for the game

$ export WINEARCH=win32
$ export WINEPREFIX="$HOME/.local/share/wineprefixes/wa2"
$ mkdir -p "$WINEPREFIX" && wineboot -u

Install wine-mono and wine-gecko if prompted.

5: Install the game

If you've already installed the game elsewhere:

Copy the files to the wineprefix:

(assuming you have them in your home folder)

$ 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
$ wine regedit wa2.reg

You can now proceed to the next step.

If you haven't installed the game before:

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'

6: Configure 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.

7: Install the patch

Install wget:

$ sudo apt install -y wget

Download the latest stable release of the installer:

$ wget -O WA2_patch.exe `curl -s \ \
  | grep browser_download_url | cut -d '"' -f 4`

Or, the latest release including nightly builds:

$ wget -O WA2_patch.exe `curl -s \ \
  | 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 is necessary to be able to run the game. You can set an alias for it by writing alias winegl='LIBGL_ALWAYS_SOFTWARE=1 wine' in your .bashrc file and then run the game with winegl WA2_en.exe.

That's it!


Other platforms



This comment has been minimized.

Copy link

@hzhangxyz hzhangxyz commented Jul 21, 2018

hello, I am on archlinux, If I run LIBGL_ALWAYS_SOFTWARE=1 wine WA2_en.exe, the program will crash, and I need to run LIBGL_ALWAYS_SOFTWARE=1 optirun wine WA2_en.exe to let it work, although I have mesa without optirun to use gpu.

BTW, winetricks wmp10 will hang but winetricks wmp9 won't hang and also works for me.


This comment has been minimized.

Copy link
Owner Author

@ObserverOfTime ObserverOfTime commented Jul 22, 2018

I haven't been able to get WA2 to work on Arch. I'll try with those and see.


This comment has been minimized.

Copy link

@hzhangxyz hzhangxyz commented Aug 7, 2018

quartz on wine on arch is really unstable, today I only changed LC_ALL and it crashed again ...

Then I try to move WA2 into $PREFIX/drive_c(C:\\) rather than other place(Z:\\), now it works again.

Now optirun is not necessary, and I can save my progress finally. ^_^

In fact, I change LC_ALL at first is to see the error message about why I cannot save my progress. LOL


This comment has been minimized.

Copy link

@hzhangxyz hzhangxyz commented Aug 7, 2018

Well, Now I cannot fullscreen the games, or it will also crash...


This comment has been minimized.

Copy link

@cjdonato cjdonato commented Aug 13, 2018

Hey, I haven't tried installing this yet but is it in theory possible to install this game via Lutris? Thanks!


This comment has been minimized.

Copy link

@ArchieMeng ArchieMeng commented Feb 19, 2019

Thanks for your guide. It works.
And in my case, I don't need LIBGL_ALWAYS_SOFTWARE=1 variable to run WA2.

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