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