The second part of the controversal "Angels" sub-series.
[code language=playonlinux]
#!/bin/bash
# Date : (2013-03-01)
# Last revision : (2013-10-05)
# Wine version used : 1.6
# Distribution used to test : Mac OS X 10.8.4
# Author : Marking
[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"
# Setup some needed variables
TITLE="Sono Hanabira ni Kuchizuke wo 14 - Tenshi-tachi no Harukoi"
PREFIX="SonoHana_14"
WINEVERSION="1.6.2"
EDITOR="Yurin Yurin"
GAME_URL="http://yurinyurin.com/"
AUTHOR="Marking"
SHORTCUT_NAME="その花びらにくちづけを 14 ~天使たちの春恋~"
# Download images for installation script
POL_GetSetupImages "http://images.markinglifestyle.com/sonohana_mac/script_icons/SonoHana_14-64x64.png" "images.markinglifestyle.com/sonohana_mac/script_banners/SH_14.jpg" "$TITLE"
# Initialize the script and debugging
POL_SetupWindow_Init
POL_Debug_Init
# Setup presentation window
POL_SetupWindow_presentation "$TITLE" "$EDITOR" "$GAME_URL" "$AUTHOR" "$PREFIX"
# Begin setting up the Wine Prefix
POL_Wine_SelectPrefix "$PREFIX"
POL_Wine_PrefixCreate "$WINEVERSION"
# Installs components needed to run game and movie
POL_Call POL_Install_d3dx9
POL_Call POL_Install_quartz
POL_Call POL_Install_amstream
# Ask user for either DVD or Local installation
POL_SetupWindow_InstallMethod "LOCAL,DVD"
if [ "$INSTALL_METHOD" = "LOCAL" ]
then
# Ask user to find "Setup.exe"
cd "$HOME"
POL_SetupWindow_browse "$(eval_gettext 'Please locate installation program (Setup.exe)')" "$TITLE"
LANG="ja_JP.UTF-8" POL_Wine start /unix "$APP_ANSWER"
# Tell user what to do while the installation program is running
POL_SetupWindow_message "When the install program starts, keep clicking on the button with the letter (N) until you see the game installing. When it's finished, UNCHECK the two checkboxes. Click the button to quit the installer. Click Next when you are done." "Installation instructions"
elif [ "$INSTALL_METHOD" = "DVD" ]
then
# Launches the installation program from CD/DVD
POL_SetupWindow_cdrom
POL_SetupWindow_check_cdrom
LANG="ja_JP.UTF-8" POL_Wine start /unix "$CDROM/Setup.exe"
# Tell user what to do while the installation program is running
POL_SetupWindow_message "When the install program starts, keep clicking on the button with the letter (N) until you see the game installing. When it's finished, UNCHECK the two checkboxes. Click the button to quit the installer. Click Next when you are done." "Installation instructions"
fi
# Create a shortcut for easy access
POL_Shortcut "HARUKOI.EXE" "$SHORTCUT_NAME" "$SHORTCUT_NAME.png"
# Insert a command to run as a Japanese application
POL_Shortcut_InsertBeforeWine "$SHORTCUT_NAME" "LANG=ja_JP.UTF-8"
POL_SetupWindow_Close
exit
[/code]
The images:
Screenshot22x22 icon48x48 iconTop right iconLeft banner