Forum

SonoHana 14 - Tenshi-tachi no Harukoi

天使たちの春恋 / The Angels’ Spring Romance

Författare Svar
markingdude Sunday 19 January 2014 at 15:17
markingdude

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:
Screenshot
22x22 icon
48x48 icon
Top right icon
Left banner
petch Monday 20 January 2014 at 0:47
petch
Developer

markingdude Sunday 27 April 2014 at 17:04
markingdude

This script now supports silent installation without input from the
user. The script tells the user to close the visual novel when it opens
to continue installation since I am unable to stop the game from
automatically starting after installation finishes.


#!/bin/bash
# Date : (2014-01-20)
# Last revision : (2014-04-05)
# Wine version used : 1.6.2
# Distribution used to test : Mac OS X 10.9.2
# 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"
    POL_SetupWindow_message "$(eval_gettext 'Close the visual novel when it appears to continue installation. Click Next to begin installation.')" "Installation instructions"
    POL_Wine_WaitBefore "$TITLE"
    LANG="ja_JP.UTF-8" POL_Wine "$APP_ANSWER" /sp- /verysilent
    
elif [ "$INSTALL_METHOD" = "DVD" ]
then
    # Launches the installation program from CD/DVD
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom "Setup.exe"
    POL_SetupWindow_message "$(eval_gettext 'Close the visual novel when it appears to continue installation. Click Next to begin installation.')" "Installation instructions"
    POL_Wine_WaitBefore "$TITLE"
    LANG="ja_JP.UTF-8" POL_Wine "$CDROM/Setup.exe" /sp- /verysilent
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


petch Sunday 27 April 2014 at 22:29
petch
Developer