Play 天鳳 under linux

Requirement

  • playonlinux

Steps

  1. Install playonlinux from the official repository
  2. Install wine in playonlinux
    1. From menu bar: Tools -> Manage wine version
    2. From list select one of the up-to-date wine(64bits)
    3. Click “>”
  3. Create virtual drive
    1. Click configure from the tool bar
    2. Click New lower left
    3. Going through all the required steps
  4. Install required components
    1. Click the created drive on the left in Configure
    2. Click on tab Install components
    3. Find the following components to install
      • amstream
      • d3dx9_36
      • gdiplus
      • quartz
  5. Install 天鳳
    1. Download it from the official site or Quick link
    2. From last step(Configure, click the created drive on the left)
    3. Click on tab Miscellaneous
    4. Click Run a .exe file in this virtual drive
    5. Find the .msi just downloaded, and run
  6. Fonts for 天鳳
    1. Make sure local jp_JP.UTF-8 is enabled
      1. edit /etc/locale.gen
      2. uncomment the line includes jp_JP.UTF-8
      3. run sudo locale-gen in terminal
    2. make sure some of the necessary fonts are install? (Optional)
      • You have to install msgothic font(copy from windows? license issues?)
  7. Create shortcuts for 天鳳
    1. Configure, click on the created drive on the left
    2. In the General tab
    3. Click Make a new shortcut from this virtual drive
    4. Find 天鳳 v1.3.lnk, click next …
  8. Change the locale for 天鳳
    1. cd into the directory that contains the script(on my system ~/.PlayOnLinux/shortcuts/)
    2. edit 天鳳 v1.3
    3. add export LC_ALL=ja_JP.UTF-8

Misc

.PlayOnLinux/shortcuts/天鳳 v1.3

#!/usr/bin/env playonlinux-bash
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
export WINEPREFIX="/home/joe/.PlayOnLinux/wineprefix/HoTS"
export WINEDEBUG="-all"
cd "."
export LC_ALL=ja_JP.UTF-8
POL_Wine start.exe /wait /unix "$WINEPREFIX/drive_c/./users/joe/Start Menu/Programs/天鳳 v1.3.lnk"  "$@"