The next big release in the SonoHana, this one continues the tradition of using the KiriKiri VN engine which means it runs a little slower on Wine.
This will be the last SonoHana installation script until more games in the series are out.
[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 15 - Shirayuki no Kishi"
PREFIX="SonoHana_15"
WINEVERSION="1.6.2"
EDITOR="Yurin Yurin"
GAME_URL="http://yurinyurin.com/"
AUTHOR="Marking"
SHORTCUT_NAME="その花びらにくちづけを 15 白雪の騎士"
# Download images for installation script
POL_GetSetupImages "http://images.markinglifestyle.com/sonohana_mac/script_icons/SonoHana_15-64x64.png" "images.markinglifestyle.com/sonohana_mac/script_banners/SH_15.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 "SHIRAYUKI.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