Forum

SonoHana 10 - Lily Platinum

リリ・プラチナム

Författare Svar
markingdude Sunday 1 December 2013 at 16:20
markingdudeAnonymous

This was tested using Mac OS X Snow Leopard and Mountain Lion. Nothing else was needed.

[code language=playonlinux]
#!/bin/bash
# Date : (2013-03-01)
# Last revision : (2013-10-05)
# Wine version used : 1.3.4
# 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 10 - Lily Platinum"
PREFIX="SonoHana_10"
WINEVERSION="1.3.4"
EDITOR="Fuguriya"
GAME_URL="http://fuguriya.sakura.ne.jp"
AUTHOR="Marking"

INSTALL_JP='インストール'
END_JP='終了'
YES_JP='はい'

# Download images for installation script
POL_GetSetupImages "http://images.markinglifestyle.com/sonohana_mac/script_icons/SonoHana_10-64x64.png" "http://images.markinglifestyle.com/sonohana_mac/script_banners/SH_10.jpg" "$TITLE"

# Initialize the script, debugging, and set required version
POL_SetupWindow_Init
POL_RequiredVersion "4.1.6" || POL_Debug_Fatal "$APPLICATION_TITLE 4.1.6 is required to install $TITLE"
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"
SONOHANA="$WINEPREFIX/drive_c/$PROGRAMFILES/ふぐり屋/その花びらにくちづけを リリ・プラチナム/"

# Installs Japanese fonts in order for visual novel to work
JP_FONTS="sazanami-20040629.zip"
cd "$WINEPREFIX/drive_c/windows/Fonts/"
POL_Download "http://files.markinglifestyle.com/sh_files/sazanami-20040629.zip"
POL_System_unzip $JP_FONTS

# 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"
    # Tell user what to do while the installation program is running
    POL_SetupWindow_message "$(eval_gettext 'When the install program starts, click on ${INSTALL_JP}. When a new window opens, click on ${INSTALL_JP}. When installation finishes, click on ${END_JP} and then on ${YES_JP} (Y). Click Next to begin installation.')" "Installation instructions"   
    LANG="ja_JP.UTF-8" POL_Wine "$APP_ANSWER"
elif [ "$INSTALL_METHOD" = "DVD" ]
then
    # Launches the installation program from CD/DVD
    POL_SetupWindow_cdrom
    POL_SetupWindow_check_cdrom
    # Tell user what to do while the installation program is running
    POL_SetupWindow_message "$(eval_gettext 'When the install program starts, click on ${INSTALL_JP}. When a new window opens, click on ${INSTALL_JP}. When installation finishes, click on ${END_JP} and then on ${YES_JP} (Y). Click Next to begin installation.')" "Installation instructions"   
    LANG="ja_JP.UTF-8" POL_Wine "$CDROM/Setup.exe"
fi

# Apply fjfix to fix the visual novel
FJFIX_PATCH="fjfix.zip"
cd "$SONOHANA"
POL_Download "http://files.markinglifestyle.com/sh_files/fjfix.zip" "789634f517003c1619eca669a83306a0"
POL_System_unzip $FJFIX_PATCH
POL_Wine_WaitBefore "the fjfix patch"
POL_Wine "fjfix.exe" -f MGD
   
# Create a shortcut for easy access
POL_Shortcut "HANA10.EXE" "その花びらにくちづけを 10 リリ・プラチナム"
# Insert a command to run as a Japanese application
POL_Shortcut_InsertBeforeWine "その花びらにくちづけを 10 リリ・プラチナム" "LANG=ja_JP.UTF-8"
POL_SetupWindow_Close
exit
[/code]

The images:
Screenshot
22x22 icon
48x48 icon
Top right icon
Left banner
petch Sunday 1 December 2013 at 17:53
petch

markingdude Sunday 1 December 2013 at 20:43
markingdudeAnonymous

Thanks petch. I've sent the scripts for validation. That being said, even though it looks like the requests went through, I got a "Access Denied" message after saying "Yes" when sending the script.
petch Sunday 1 December 2013 at 21:15
petch

Script validated.

The scripts were indeed there, but I don't think I received any email notification, could be related to the message you received, I'll notify the admins.

Edit: false alarm, the notifications eventually appeared in my IMAP folder...
So I don't know were this message came from.

Ändrat av petch