Hanahira!

Informations

Créateur Messages
markingdude Anonymous

Information

Cet installateur a été accepté par l'équipe.

Informations

Plate-formes :
Téléchargements : 6902
Wine: 2.22

Retours d'expérience

Description

'Yuri visual novel about four girls who attend Saint Michael Girls’ School. Their relationships are little more than normal friendship.'  2010

Captures d'écran

Miniature

Code source

#!/bin/bash
# Date : (2013-03-01)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Mac OS X 10.8.4
# Author : Marking
#
# CHANGELOG
# [Marking] (2013-03-01)
#   Initial script.
# [Marking] (2013-10-05)
#   ?
# [Dadu042] (2020-01-27 23:30)
#   Wine 1.3.4 (outdated) -> 2.22

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Setup some needed variables
TITLE="Hanahira! (??????)"
PREFIX="Hanahira"
WINEVERSION="2.22"
EDITOR="Fuguriya"
GAME_URL="http://fuguriya.sakura.ne.jp"
AUTHOR="Marking"
SHORTCUT_NAME="??????"

INSTALL_JP='??????'
END_JP='??'
YES_JP='??'

# Download images for installation script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

# Initialize the script, debugging, and set required version
POL_SetupWindow_Init
POL_SetupWindow_SetID 1897
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 "HANA9.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

Contributions

Filters:

Contribuer
Membre Messages
Dadu042 Mardi 28 Janvier 2020 à 20:01
Dadu042

Information

Cette mise à jour a été acceptée par l'équipe

Differences

@@ -1,9 +1,17 @@
 #!/bin/bash
 # Date : (2013-03-01)
-# Last revision : (2013-10-05)
-# Wine version used : 1.3.4
+# Last revision : see changelog
+# Wine version used : 
 # Distribution used to test : Mac OS X 10.8.4
 # Author : Marking
+#
+# CHANGELOG
+# [Marking] (2013-03-01)
+#   Initial script.
+# [Marking] (2013-10-05)
+#   ?
+# [Dadu042] (2020-01-27 23:30)
+#   Wine 1.3.4 (outdated) -> 2.22
 
 [ "$PLAYONLINUX" = "" ] && exit 0
 source "$PLAYONLINUX/lib/sources"
@@ -11,7 +19,7 @@
 # Setup some needed variables
 TITLE="Hanahira! (??????)"
 PREFIX="Hanahira"
-WINEVERSION="1.3.4"
+WINEVERSION="2.22"
 EDITOR="Fuguriya"
 GAME_URL="http://fuguriya.sakura.ne.jp"
 AUTHOR="Marking"

Nouveau code source

#!/bin/bash
# Date : (2013-03-01)
# Last revision : see changelog
# Wine version used : 
# Distribution used to test : Mac OS X 10.8.4
# Author : Marking
#
# CHANGELOG
# [Marking] (2013-03-01)
#   Initial script.
# [Marking] (2013-10-05)
#   ?
# [Dadu042] (2020-01-27 23:30)
#   Wine 1.3.4 (outdated) -> 2.22

[ "$PLAYONLINUX" = "" ] && exit 0
source "$PLAYONLINUX/lib/sources"

# Setup some needed variables
TITLE="Hanahira! (??????)"
PREFIX="Hanahira"
WINEVERSION="2.22"
EDITOR="Fuguriya"
GAME_URL="http://fuguriya.sakura.ne.jp"
AUTHOR="Marking"
SHORTCUT_NAME="??????"

INSTALL_JP='??????'
END_JP='??'
YES_JP='??'

# Download images for installation script
POL_GetSetupImages "http://files.playonlinux.com/resources/setups/$PREFIX/top.jpg" "http://files.playonlinux.com/resources/setups/$PREFIX/left.jpg" "$TITLE"

# Initialize the script, debugging, and set required version
POL_SetupWindow_Init
POL_SetupWindow_SetID 1897
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 "HANA9.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

Réponses